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

Резултати

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

Търсене: #truelab

当前筛选 #truelab清除筛选
TRUE LABS

@truegames · Post #120 · 31.01.2025 г., 15:08

🔥1 week after Dragon's Call release and we got: 👾70,000players played 😮x1268max win In celebration of this we redesign game cover in different art styles🎨, try to guess what those styles are! #dragonscall#truelab#slots

TRUE LABS

@truegames · Post #153 · 14.02.2025 г., 11:56

We give 50 USDT🤑to the first person who catches x100 or more at Guns, Love & Therapy. Valentine's Day, 2123. The wrong time to be coming out, but not for our brave guys whose love can't be broken💜 Play on any platform, catch x100+, send a link to the replay and get 50 USDT to your wallet🤝 👉TRY GAME #ValentinesDay#truelab#FreeMoney

TRUE LABS

@truegames · Post #33 · 04.11.2024 г., 07:45

❄️ Arctic Spin is Coming Soon! ❄️ We’re thrilled to announce Arctic Spin, our frosty new 3x3 slot, launching on the 14th November! With sleek winter visuals, variable paylines, and fast-paced gameplay, this game delivers a cool twist on classic slots. Get ready to spin through the snow and uncover some frozen treasures! ❄️🎰 ⛄️ Stay tuned for updates! #ArcticSpin#ComingSoon#TrueGames#TrueLab#TrueSlots

TRUE LABS

@truegames · Post #30 · 19.09.2024 г., 15:06

⚔️Battle Rage: new game — new UI ⚡️ Our yet to be released game Battle Rage will feature a completely revamped user interface! This is the first game to debut with our fresh, modern design — and trust us, it’s sleek, user-friendly, and visually stunning 🔥 🎮 Unlike many other providers, our new UI will offer a smooth and enjoyable top-notch experience, giving us a major edge in the gaming world. 💯 Not to mention that Battle Rage is set to be the hit of the year! Your favorite streamers will be playing it online, including the legendary Eddie from Stake. So, don't miss out! 💣 ➡️ TRY DEMO NOW! Coming very soon! #BattleRage#newgame#comingsoon#TrueLab#TRUEGames

TRUE LABS

@truegames · Post #23 · 07.08.2024 г., 15:00

Get hooked on Fishy Business' Hold'n'Win respins! With every landed coin, your 3 respins reset, keeping the action alive and swimming! Complete all reel positions for a shot at the x1000 jackpot! Ready to reel in the big one? Fishy Business launched on August 22nd! 🎰💦 Give it a go! https://bit.ly/fishy-business-demo #FishyBusiness#HoldnWin#ComingSoon#TrueSlots#TrueGames#TrueLab 🔞 | Play Responsibly

TRUE LABS

@truegames · Post #18 · 24.06.2024 г., 16:56

Only 3 Days Until FRUIT CIRCUS PARTY! 🍉🎪 Why wait for the fun? The Buy Bonus feature lets you jump straight into the bonus round, where multiplicative multipliers never reset between spins. More spins, more multipliers, more mayhem! 🎢 Tick-tock, the madness begins in just 3 days. June 27th – mark the date! ➡️DEMO: https://bit.ly/demo-fcp #FruitCircusParty#MultiplicativeMultipliers#BuyBonus#TrueLab#TrueGames#TrueSlots

TRUE LABS

@truegames · Post #26 · 22.08.2024 г., 16:08

Fishy Business is OUT NOW! 🐟💰 No more waiting—our top catch of the year has surfaced! Fishy Business delivers high volatility undersea action with 25 paylines, Hold'n'Win thrills, and a shot at x5000 max wins. The Bassline Bonanza Free Spins make this one dive you won’t want to miss, as reels 2, 3 and 4 convert into one huge symbol for some truly huge wins! 🌊⚡ Ready to take the plunge? 🤿 🎰 SPIN IT: https://bit.ly/fishy-business-demo #FishyBusiness#OutNow#HoldnWin#TrueSlots#TrueGames#TrueLab 🔞 | Play Responsibly

TRUE LABS

@truegames · Post #9 · 08.05.2024 г., 10:37

The Wait is Over — Hot Devil Slot is Here! 😈 Kick off our HOT Series with a spin that’s hotter than your ex and easily twice as fun. Ready to play with fire or just here to warm up? With classic gameplay turned up to inferno levels, every spin is destined to thrill. Let the games begin! 🔥 🍒 IGNITE THE FUN: https://play.truelab.games/game/hot-devil-slot-v1/static/index.html #HotDevilSlot#OUTNOW#igamingnews#TrueLab#TrueSlots#TrueGames 🔞 | Play Responsibly

TRUE LABS

@truegames · Post #32 · 31.10.2024 г., 18:45

🎃 Happy Halloween, thrill-seekers! 🎃 Tonight’s the night to embrace the spooky spirit, and what better way than with Wild Pumpkins Deluxe? Our Halloween-themed slot is packed with sticky wilds, multipliers, and more ways to win than you can shake a broomstick at. Forget the candy—tonight’s treat is big win potential! Brave enough to give it a spin? Play Wild Pumpkins Deluxe and let the haunting begin! 👻 🎰GIVE IT A SPIN:https://bit.ly/wpd-demo #HappyHalloween#WildPumpkinsDeluxe#TrickOrTreat#TrueLab#TrueGames

TRUE LABS

@truegames · Post #12 · 03.06.2024 г., 07:27

Step Right Up! Step right up! There's a new circus hitting town! Tired of bland fruits? Us too. Meet FRUIT CIRCUS PARTY – where cascading wins, high volatility, and multipliers up to x10,000 make your average fruit game look like a snooze fest. 😴💣 Why? CASCADING MULTIPLICATIVE MULTIPLIERS, that's why. 🔥 We're talking 243 Ways to Win, Cascading multipliers and a bonus buy to get you right into the action. This isn't your average circus. Launching 27th June. 🗓️ #CircusFruitParty#MultiplicativeMultipliers#BuyBonus#ComingSoon#TrueLab#TrueSlots#TrueLab

TRUE LABS

@truegames · Post #15 · 11.06.2024 г., 20:00

FRUIT CIRCUS PARTY brings fruit carnage to a whole new level! Step right up, there's a new circus in town! 🎪 Cascading wins unlock fresh combos & crank up the multipliers. Madness begins June 27th! 🗓️ ➡️ DEMO: https://truelab.games/games/fruit-circus-party #FruitCircusParty#CascadingWins#MultiplierChaos#TrueLab#TrueGames#TrueSlots

TRUE LABS

@truegames · Post #13 · 06.06.2024 г., 10:44

Only one week left until HOT MONEY hits the scene on June 13th! Classic fun meets new age looks in the second game of our Hot Series. It's going to be a hot blast from the past, but better. 🔥 Demo Dropped! Check it: https://truelab.games/games/hot-money-slot #HotMoney#AlmostHere#iGamingNews#TrueGames#TrueSlots#TrueLab

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