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

Резултати

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

Търсене: #fear

当前筛选 #fear清除筛选

Overcoming The Fear Of Public Speaking Many of us feel nervous, shy, break into sweat or fear the thought of public speaking. Did you know that public speaking is among the most feared activities in the world? Some of us feel it is not our strength and fear being judged. Public speaking is an essential skill to effectively convey what we want to. 1. Your thoughts, feelings, personality, values – they are all a packet of your energy called vibrations. These vibrations reach people before your words. They are the first level of your communication with others. So keep them pure. 2. Meditation and daily study of spiritual wisdom every morning keeps your thoughts clean and less. When you start thinking right and positive, you will no longer need to be careful with your words. You will speak what you think, believe and live by. 3. Focus on conveying the message, not on impressing your listeners. Do not compare or compete with others. Stand by the truth, untouched by people’s opinion. 4. Visualize yourself respectfully sharing what is in your inner consciousness - your wisdom, skills, views or experiences with a selfless intention of giving. Visualize people who receive your message getting positively influenced. #Fear

Hashtags

Phobia is an intense, irrational fear of something that is often not dangerous. Fear is a normal reaction to real danger or threat. Phobias cause strong anxiety that is much bigger than the actual risk and can disrupt daily life. Fear helps keep us safe, but phobias are more about worry and avoidance even when there is little or no real danger. @googlefactss #Phobia#Fear#Anxiety#MentalHealth😨⚠️

Fear or opportunity? Fears are the body's adequate reaction to something new, to something that once caused unpleasant consequences, or to something that directly or indirectly threatens one's life. But there are fears that simply must be overcome. For example, if you have an idea, but to implement it, you do not have the courage, and therefore and perseverance. It is behind such fears that lies your invaluable potential. The body never generates ideas that it doesn't have the resources to implement. Our thoughts are not random. Think of the opportunities that will open up before you after you overcome your fear. Have you imagined it? Now act! Join us for more -> @ipersonalgrowths💡 #MentalGrowth #Fear #opportunity #psychologyinformation

😱📉$ETH#Fear & Greed Index drops to 37 — Fear zone. 📉#以太坊 情緒指標降至 37(#恐懼區) #市场情绪#Sentiment#区块链#虚拟货币 ——— 代表市場避險情緒升溫、短線買盤轉弱。 ✅Chat: @Web3NewsInsight 🦂 👇Tip👇讚 或點擊進行💎資源搜索👇

Mexc Crypto Signals Pumps Trading Kucoin

@mexc_signals_pumps_trading · Post #1285 · 15.08.2024 г., 17:35

Hello everyone! 24 hours left until our next Kucoin pump. The market looks very good and our power is growing every day. We expect a massive volume and profits tomorrow. This is a brief explanation of what will happen during our pump: 1) When the coin is announced, we buy it together, as a team. 2) This initial push triggers buying from trading algos, MM bots and generally – outsiders. 3) As the outsider buy orders further increase the price, we begin to slowly sell way higher than where we bought. Full guide can be found in the previous messages. Here are the results of our latest pumps: #HIP → 2400% #QUICK → 1500% #BONDLY → 800% #FEAR → 750% #VEMP → 750% IMPORTANT: We are the original and longest running pump group. Please ignore all ads in this channel as they are not approved by us, we do not endorse any other channels. All other alleged "pump" groups are copycats trying to capitalize on our success, reputation and care for members.

Mexc Crypto Signals Pumps Trading Kucoin

@mexc_signals_pumps_trading · Post #1237 · 22.07.2024 г., 17:03

Hello everyone! Exactly 24 hours left until our next Kucoin pump. The market looks very good and our power is growing every day. We expect a massive volume and profits tomorrow. This is a brief explanation of what will happen during our pump: 1) When the coin is announced, we buy it together, as a team. 2) This initial push triggers buying from trading algos, MM bots and generally – outsiders. 3) As the outsider buy orders further increase the price, we begin to slowly sell way higher than where we bought. Full guide can be found in the previous messages. Here are the results of our latest pumps: #HIP → 2400% #QUICK → 1500% #BONDLY → 800% #FEAR → 750% #VEMP → 750% IMPORTANT: We are the original and longest running pump group. Please ignore all ads in this channel as they are not approved by us, we do not endorse any other channels. All other alleged "pump" groups are copycats trying to capitalize on our success, reputation and care for members.

VIP_影视分享

@wangzhuanzhan · Post #32700 · 09.09.2024 г., 08:49

K-k恐k惧j拉l斯s维w加j斯s- 恐惧拉斯维加斯 Fear and Loathing in Las Vegas (1998) 直达链接:https://pan.quark.cn/s/41140f577da4 #恐惧拉斯维加斯#赌城风情画 #Fear and Loathing in Las Vegas #赌城情仇#拉斯维加斯的恐惧与嫌恶 链接:https://link3.cc/sf_com #电影#喜剧#美国#90年代

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