TGTGInsightтелеграм анализLIVE / telegram public index
← Такты, стеки, два колеса

TGINSIGHT SIMILAR POSTS

Намери подобно съдържание

Изходен канал @clockstackwheels · Post #721 · 26.12

Почему я люблю языки с сильной системой типов, проверяемой статическим анализом кода — хорошо написанная программа является своей собственной спецификацией и позволяет выражать через язык программирования законы существования предметной области. Когда-то давно я писал на ActionScript. Там была система типов, но вот десериализация JSON'ов по-умолчанию была в какой-то общий Object, к полям которого нужно было обращаться ["по_строковому_имени"]. В один момент мне потребовалось написать что-то на C#, который я совсем не знал, я стал гуглить, как десериализовать JSON, и с удивлением обнаружил кучу советов заранее объявить класс со всеми нужными полями и десериализовать в него. "Какой ужас!", — подумал я тогда, — "Это же дико неудобно! А если я не знаю полей JSON? А если их много? Отвратительный язык!" Теперь то я прекрасно понимаю, что JSON это контракт, и что правильная десериализация только такая и должна быть, и что в хорошем API в одном поле никогда не бывает данных принципиально разных типов, и так далее. Нет, если вы набиваете вечерами пет-проект или сидите бессонную ночь на хакатоне, нет ничего плохого в том, чтобы взять простой язык с динамическими типами вроде JavaScript или Python, не требующий описывать данные. Но вот в энтерпрайзе, особенно когда над одним проектом работает много людей (а бывает это очень часто) — хорошее использование системы типов убережёт разработчиков от огромного количества ошибок, будет бить их по рукам, когда они пытаются сделать что-то не то, и будет подсказывать, когда они не уверены в чём-то. С помощью статической типизации можно на уровне кода обозначить правила, по которым ведёт себя предметная область вашей программы в реальном мире. Разработчику не только будет сложно их нарушить, но он ещё и станет узнавать какие-то вещи, которые мог не знать раньше. Например, если мы делаем медицинскую CRM, и больница заводит новых пациентов только тогда, когда знает их группу крови, мы можем объявить тип "Пациент" (или, если точнее, "Карта пациента") и запретить создавать экземпляры этого типа, не передав в конструктор группу крови (которая, в свою очередь, тоже является типом, вероятнее всего ValueObject'ом). Если новый программист пришёл в проект, он, во-первых, не сможет записать в БД некорректную карту пациента. Понятно, мы не учитываем случаи, когда новый программист переделывает модели предметной области — это будет хорошо видно на кодревью. А, во-вторых, даже если ему никто не сказал, что пациенты должны быть с группой крови, он узнает это из кода. И уже будет понимать, что в тех процессах реальной жизни, которые он описывает кодом, карта пациента создаётся только при наличии группы крови. А, значит, нужно искать какой-то способ сначала эту группу крови получить, и только потом создавать карту. Программирование моделирует реальный процесс. В настоящей работе даже на языках с типами, конечно, без должного контроля можно написать что угодно. Нужна управленческая воля, компетентность руководства, понимание опасности техдолга, в идеале отдельные должности для архитекторов, опытные лиды и старшие разработчики. Но когда всё это есть, можно отсекать много проблем ещё на старте и проще погружать новичков. #dev

Hashtags

Резултати

Намерени 9 подобни публикации

Търсене: #giftnifty

当前筛选 #giftnifty清除筛选
PRICE ACTION EXPERT

@priceactionexpert · Post #7739 · 10.09.2024 г., 09:46

https://x.com/priceactiongann/status/1833441709151096889 #NIFTY#GIFTNIFTY 🔍 Gift Nifty at 24,780 - This level is critical! 📷 Why This Matters: The current upward trend aligns with the significant cycle of Sensex at 81,170. (both met exact same Time and Price) 📷Potential Scenarios: Nifty might test Bounce 24,676 or could see a breakout. Alternatively, it might ignore this level and head towards a downside trend. It's in between the zones can range and then follow later! #sensex#nifty#stocks#BSE#StockMarket https://x.com/priceactiongann/status/1833441709151096889

PRICE ACTION EXPERT

@priceactionexpert · Post #7774 · 23.09.2024 г., 09:17

https://x.com/priceactiongann/status/1838145446104928633 #banknifty#stocks Bank Nifty should reach long term 54583 and short-term ends at 54810! it should go there and will stop there and decide! (two direction up and where it will stop both given) almost all levels given in Gift nifty, sensex,nifty,banknifty reach at same time will also coincide exactly on same date almost! #nifty#nifty50#sensex#GIFTNIFTY#StockMarket

PRICE ACTION EXPERT

@priceactionexpert · Post #7600 · 04.07.2024 г., 04:18

https://x.com/priceactiongann/status/1808716644535185767 Same cycles ! With exact numbers ! #banknifty 54583 #nifty 24676 #GIFTNIFTY 24780 When any of these reaches first stay high alert! I do not see any more massive buy even if It goes it's slight extention and it all ends here in big scale! When price touches it might take days or weeks or can react instantly too! Almost all upside done as per me and my studies when price reaches these levels! The more if it extends upside even after Reaching this price ,sooner or later is should , will and must come back to 23535! #stocks#stockmarkets#trading#stockmarketindia#StockMarketNews #gann#nifty50

PRICE ACTION EXPERT

@priceactionexpert · Post #7819 · 22.10.2024 г., 11:23

https://x.com/priceactiongann/status/1848686144768147915 #nifty#stockmarketcrash "Knowing the future is a curse Sometimes that comes with the privilege of foresight." 1.Jackpot is in positive 2.clearly explained price and time and even after price extension I gave all time high exact price encoded 3.Explained in a video and told to take and give maximum time as it's big cycle! 4.I posted about these and foresaw Months ago and warned in April and June! Nifty and bank nifty. 5.Every small cycles and big cycles was given with accurate high and low price from election drop and election low to all time high . Not only in nifty, ##banknifty, #sensex, #giftnifty in all 4 markets where it will go and from where it will drop was given with price. 6.When cycles occurs, nothing will stop it's nature and it should complete it's course and 23900 and 23535 is very close next. 7.End of cycles always moves fast technical won't work or it just keeps breaks and will go more down. 8.many are new traders after 2020 and never seen a bear market! Nobody of those few wants to be in negative direction coz of wrong education and always thinks market goes in one direction and only upside or bull market ! 9.longer term and big direction and massive movements is my main focus so I was focused on that mostly. 10.most don't even know about cycles has not seen someone who forecasts high and low or big directional analysis 11.time is the key and with price its very helpful so now it should all be clear. 12.once reaches 23900 and 23535 it will be massive day for me and for all! only i know the studies and handwork i did if it's helpful do repost and share more please! #niftycrash#nifty50#stockmarket#stocks#gann https://x.com/priceactiongann/status/1848686144768147915

PRICE ACTION EXPERT

@priceactionexpert · Post #7785 · 30.09.2024 г., 11:00

https://x.com/priceactiongann/status/1840708045938073740 #nifty50#giftnifty "Wisdom tends to grow in proportion to one’s awareness of one’s ignorance." 1.Nifty high was 26245 and Gift Nifty 26435 was exact high,when both reached this started 2.Sensex also top price given ! from 85945 it reaches to 84240 and 84544(previous given levels)! 3.Top price we knew in almost all 4 markets bank nifty retraced a bit early! 4.Sensex and bank nifty dropped 1500 plus points 5.Almost 4 cycles confluence so change is imminent!#pricecycle 6.Gift Nifty when reaches 25842 be careful it will decide there 7.At that price nifty would be around a price its where we should watch! 8.Without a Doubt My studies and calculations are working well when combined and done with more work understanding other markets it gives very accurate results! 9.Every level has given (long term) at least 576 to 800 points in nifty alone! 10.Instead of other things if we focus on these alone we will have better advantage and accurate results 11.Nothing is hindsight here all were given days and weeks ago! 12. When given good results grab it always and when move on to next level we shall decide again! Again proof that nothing is random at all! "You are not a drop in the ocean. You are the entire ocean in a drop." if found helpful please repost, like and support more! #sensex#nifty#stocks#stock#stockmarket#banknifty#timecycle https://x.com/priceactiongann/status/1840708045938073740

PRICE ACTION EXPERT

@priceactionexpert · Post #7732 · 08.09.2024 г., 02:06

https://x.com/priceactiongann/status/1813800527819358275 #nifty#nifty50#stockmarketcrash 1.JACKPOT IS ON! reaches 24676 at exact date july 18 th today. 2. It must, will and should reach 23535 and from there it will bounce 200 to 500 points as well. 3.24000 is also a level which can bounce but once bigger drop can take over it will be breached over time and will go to 23535 only, 24000 around it will give another hint, direction and clues. 4.drop should start from here sooner or later do not know the time but price is done so it will be starting anytime from now. 5.lost motion or over extension can or cannot happen. 6.all cycles are clearly done on upside except lost motion which can help other markets to join and then will drop 7.its all cycles only always follow the calculations and combine with yours and wait for confirmations and then decide.8.reaches my top calculations and almost all upside is done as per me. 9. markets are never random , enjoy the encoded calculations.gift nifty also done 24780! its my own views and ideas this is not a signal or recommendation. #gann#giftnifty#stocks#stockmarketsindia#stockmarkets#pricecycle#timecycle https://x.com/priceactiongann/status/1813800527819358275

PRICE ACTION EXPERT

@priceactionexpert · Post #7623 · 18.07.2024 г., 05:00

https://x.com/priceactiongann/status/1813800527819358275 #nifty#nifty50#stockmarketcrash 1.JACKPOT IS ON! reaches 24676 at exact date july 18 th today. 2. It must, will and should reach 23535 and from there it will bounce 200 to 500 points as well. 3.24000 is also a level which can bounce but once bigger drop can take over it will be breached over time and will go to 23535 only, 24000 around it will give another hint, direction and clues. 4.drop should start from here sooner or later do not know the time but price is done so it will be starting anytime from now. 5.lost motion or over extension can or cannot happen. 6.all cycles are clearly done on upside except lost motion which can help other markets to join and then will drop 7.its all cycles only always follow the calculations and combine with yours and wait for confirmations and then decide.8.reaches my top calculations and almost all upside is done as per me. 9. markets are never random , enjoy the encoded calculations.gift nifty also done 24780! its my own views and ideas this is not a signal or recommendation. #gann#giftnifty#stocks#stockmarketsindia#stockmarkets#pricecycle#timecycle https://x.com/priceactiongann/status/1813800527819358275

PRICE ACTION EXPERT

@priceactionexpert · Post #7788 · 03.10.2024 г., 06:43

https://x.com/priceactiongann/status/1841730559271162300 #niftycrash#timecycle#nifty 1.80 days cycle with proportions of 2 x40= 80 trading bars from low 2.38 trading days cycle same proportions with midpoints and 2x19=38 both on top meets with other cycles coincides with it 3.price on top given already so almost 1000 plus points dropping more where it stars it comes back to that. 4.#banknifty,#sensex, #giftnifty, nifty all drops more from top price. 5.there are many hidden calculations u can try find it 6.October 4 is next major time cycle date so watch out for tmrw movements as 21 cycles coincides there. 7.combine levels and use it to ur advantage. #nifty50#NiftyIndex#NiftyCycles#stocks#stockmarket#niftycrash#stockmarketcrash#stock