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

Резултати

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

Търсене: #gann

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

@priceactionexpert · Post #8163 · 19.03.2025 г., 02:37

https://x.com/priceactiongann/status/1902187576448127204 ALL Time High: Nifty 50 26277-3240= 22.5x144 45x72=23037 23037-72-72-72(3x72) =216, 6 cube 1440/45=32 158.5x144= 79.25x288=22,824 22824+144+72 320x72 =23,040 #Gann: use 45 however possible! If one cycle misses it goes to next only!

Hashtags

PRICE ACTION EXPERT

@priceactionexpert · Post #7618 · 16.07.2024 г., 03:44

https://x.com/priceactiongann/status/1813056880333262989 #nifty from 21300 to 24676 almost all upside is done! "THE END" of buy calculations after that lost motion or next movement will decide! price level is almost close and time is also up, when reaches encoded time is up , but as per time cycle course concept its date is in 2 days july 18 th so this week up to Monday will be high alert ! #stocks#GANN#stockmarket#nifty50

PRICE ACTION EXPERT

@priceactionexpert · Post #7837 · 28.10.2024 г., 03:51

https://x.com/priceactiongann/status/1850744650472071270 #NIFTY#niftycrash Most important Historic Update: Nifty 50, 23949 and 23767 will be Historic, 24335 holds barrier on top! 432% Must hold levels and Deciding Given! Future Market will should and Must hold and Decide 23949 and 23767 only! Can have bounce and then it will Decide! If broken and retest will be here and This changes Everything. if not holding this would take the price to 22222 only! #stocks#stockmarket#gann https://x.com/priceactiongann/status/1850744650472071270 Do Follow and Support More on x!

PRICE ACTION EXPERT

@priceactionexpert · Post #8500 · 24.08.2025 г., 10:10

https://x.com/priceactiongann/status/1959557093356425295?t=iZQ12tlqHhQz3g5N-WiKIQ&s=19 #nifty#nifty50 Develop your senses- especially learn how to see. Realize that everything connects to everything else. I have been impressed with the urgency of doing. Knowing is not enough; we must apply. leonardo da vinci Nifty 50 Cycles of Fractals shown cycles of 90 ,84,360,168,21,7,144 all in play with in the markets in Nifty Image analysis watched with this post is of more important and contain many ideas if you work on it fib cycles are also in direct cause and effect with price and time many such fractals and direct cycles we must find. Time cycle dates September 23 October 30 for longer term "one idea can change your entire life" Every thing is circles ,squares and Triangles only #Timecycle#gann#stockmarketsindia

PRICE ACTION EXPERT

@priceactionexpert · Post #7594 · 02.07.2024 г., 02:37

https://x.com/priceactiongann/status/1807966606338769095 #nifty#nifty50 Time cycle date 18 th july ! perfect date with top numbers aligning ! must see a low or high on that day or volatility ! #stocks#stockmarket#stockmarketsindia#gann#Trading when we know the rules we know the time well in advance!

PRICE ACTION EXPERT

@priceactionexpert · Post #7589 · 25.06.2024 г., 07:51

https://x.com/priceactiongann/status/1805508785793851642 #nifty final price on top price cycle ! completing its short term numbers and time cycle yesterday bottomed clearly and broke all time high today! almost all done when bigger cycle completes better to avoid when reached 23535 but for update iam posting this worst case is on top 23910 to 24000 ! timecycle date also gave high and low it needs to be broken down for furthermore downside! until it stays on top of the zone and 23535 it will be up only! #stocks#stockmarkets#stockmarketindia#nifty50#gann

PRICE ACTION EXPERT

@priceactionexpert · Post #7608 · 09.07.2024 г., 14:17

https://x.com/priceactiongann/status/1810679429456089540 #GOLD#XAUUSD EXACT HIGH OF THE DAY to the pip accurate top! from down it went up and once reaches price Encoded it just dropped 144 pips and more! #pricecycle and #timecycle meets. cannot give any more perfect result than this! #priceaction#trading#stockmarket#gann

PRICE ACTION EXPERT

@priceactionexpert · Post #7592 · 27.06.2024 г., 12:03

https://x.com/priceactiongann/status/1806296904663228873 #nifty 23910 done in nifty #timecycle helped from 24 th, price will decide here now, OLHC etc. weekly price close will be very interesting! , when #banknifty reaches 54583 u will see some magic! wait and see! #stocks#stockmarket#stockmarketindia#gann#OptionsTrading

PRICE ACTION EXPERT

@priceactionexpert · Post #7602 · 09.07.2024 г., 01:59

https://x.com/priceactiongann/status/1810493611676467665 #trading#gold Gold time cycles explained, forecasted price history, Encoded deciding price, direction #xauusd shorter time frame time, stop hunt and over all in big time frames its in ranging explained in images do watch and share more! #priceaction#gann#pricecycle#timecycle #Silver#commodity https://x.com/priceactiongann/status/1810493611676467665

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

ПредишнаСтр. 1 от 3Следваща