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

Резултати

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

Търсене: #darkcomedy

当前筛选 #darkcomedy清除筛选
movies & series 🍿

@images · Post #1745 · 19.12.2024 г., 11:36

🍿 'Death of a Unicorn' Breaks the Mold 📆Release: Spring 2025 🎭Genre: #DarkComedy A24 surprises with Alex Scharfman's directorial debut in this new film. Paul Rudd and Jenna Ortega star as a father and daughter who accidentally hit a unicorn, triggering a series of supernatural events. The plot masterfully blends sharp humor with effective horror. Expect Will Poulter to steal the show with his natural charisma, while Paul Rudd brings his unmatched charm. I notice nods to classics like Evil Dead, making this a safe bet for genre fans. 🦄

Hashtags

movies & series 🍿

@images · Post #1832 · 17.05.2025 г., 04:49

🍿 ‘Nobody 2’: family vacation, bullets and chaos at the waterpark 📆Release: August 15, 2025 🎭Genre: #Action · #DarkComedy Bob Odenkirk is back as Hutch Mansell, the world’s most overworked assassin, in a sequel that fuses ‘John Wick’ with Chevy Chase’s ‘Vacation’. This time, Hutch tries to unwind with his family at a theme park—until Sharon Stone shows up as a full-blown crime boss and Colin Hanks plays a shady small-town sheriff. Things go to hell, obviously. Set to the iconic track Holiday Road, the trailer promises more bone-crunching fights, dark humor, and dysfunctional family drama. With Timo Tjahjanto (‘The Night Comes for Us’) directing, expect stylish mayhem and over-the-top action. Oh, and Christopher Lloyd wielding a Gatling gun? That alone makes this the summer movie to watch. It’s gonna be gloriously insane.

movies & series 🍿

@images · Post #1927 · 16.10.2025 г., 15:09

🍿 ‘Primate’: The Killer Ape Hollywood Has Been Afraid to Make 🐒🔪 📆Release: January 9, 2026 🎭Genre: #Horror · #DarkComedy ✈️Follow movie Johannes Roberts (47 Meters Down, The Strangers: Prey at Night) directs this story about a group of friends enjoying a tropical getaway—until their family pet, a chimp named Ben, goes berserk after being bitten by something mysterious. What follows is ninety minutes of chaos, screams, and blood under the Hawaiian sun. ☀️💉 The trailer leans into the same absurd horror vibe that made M3GAN a hit and clearly nods to the chimp scene from Nope. The blend of terror and comedy is so shameless you’re never sure whether to laugh or hide behind your hands. A brutal warning about human arrogance in trying to tame the wild… yet also proof that watching a monkey unlock a car with a key fob can be terrifyingly fun. 🧠💀

movies & series 🍿

@images · Post #1808 · 28.03.2025 г., 12:01

🍿 ‘One Battle After Another’: DiCaprio leads the revolution in Paul Thomas Anderson’s wildest ride yet 📆Release: September 26, 2025 🎭Genre: #DarkComedy · #Thriller · #Action Leonardo DiCaprio (The Revenant, The Wolf of Wall Street) plays a chaotic, bathrobe-wearing ex-revolutionary on a desperate mission to find his daughter — and possibly save the world while he's at it. Paul Thomas Anderson (There Will Be Blood, Licorice Pizza) teams him up with Benicio del Toro (Traffic) as his deranged “sensei” and Sean Penn as a grizzled military foe. Loosely inspired by Thomas Pynchon’s Vineland, this is more spiritual remix than straight adaptation. Shot on 35mm VistaVision with a reported $140M budget, it's Anderson’s most ambitious film yet. 🎬💥 This feels like PTA blending the absurdity of Inherent Vice with the emotional punch of Punch-Drunk Love. DiCaprio looks completely unhinged — and I’m 100% here for it. 🧨

movies & series 🍿

@images · Post #1837 · 22.05.2025 г., 04:33

🍿 Caught Stealing: Aronofsky lets loose — and it actually suits him 📆Release: August 29, 2025 🎭Genre: #Thriller · #DarkComedy · #Crime ⬇️Follow Movie Austin Butler is just cat-sitting when things spiral out of control. Suddenly, he’s on the run through a gritty, gangster-infested 1990s New York — with punk neighbors (Matt Smith in a mohawk), Hasidic mobsters, and Zoë Kravitz as his emotional anchor. Aronofsky — yes, Black Swan and The Whale Aronofsky — feels like he binged Snatch and Lucky Number Slevin before directing. And it works: this doesn’t smell like an existential meltdown, but rather a fast-paced pulp thriller with dirty visuals and dark humor. It’s his least depressing and most fun movie yet, without losing his flair for the grotesque. 📣Best part: the trailer doesn’t spoil everything — finally. 🤔The big question: is this a one-off or a new chapter? Either way, it looks like instant cult material.

movies & series 🍿

@images · Post #1690 · 18.09.2024 г., 13:44

🍿 Robert Pattinson Multiplies Himself in 'Mickey 17', Bong Joon Ho's New Madness 📆Release: January 31, 2025 🎭Genre: #ScienceFiction · #DarkComedy 🎟 Bong Joon Ho, the genius behind 'Parasite', returns with 'Mickey 17'. Robert Pattinson multiplies himself, literally!, in this adventure where his character, an 'expendable' (disposable), dies and is cloned over and over again on a mission to colonize an icy planet. 🧊 The most curious thing is the peculiar tone of voice Pattinson has adopted, which already has fans obsessed. Plus, the cast is top-notch: Steven Yeun from 'Minari', Toni Collette from 'Hereditary', and Mark Ruffalo from 'The Avengers'. If 'Parasite' left us speechless, I can't wait to see what Bong brings us this time. 🚀

movies & series 🍿

@images · Post #1814 · 07.04.2025 г., 17:40

🍿 The Phoenician Scheme: Benicio del Toro, a Nun, and Six Plane Crashes ✈️😵‍💫 📆Release: May 30, 2025 🎭Genre: #DarkComedy · #Espionage · #Action 🍿Follow movie Wes Anderson (The Grand Budapest Hotel,Asteroid City) is back at his most eccentric: Benicio del Toro leads this visual satire as a bruised and armed tycoon who hands over his empire to his daughter, a knife-wielding nun played by Mia Threapleton (yep, Kate Winslet’s daughter). The cast is wild: Tom Hanks, Bryan Cranston, Richard Ayoade, Scarlett Johansson, Cumberbatch, and even Michael Cera in peak “Wes mode.” Shot in Germany with a score by Alexandre Desplat, the film oozes Anderson’s signature nostalgic absurdity, but with a sharp rhythm that echoes his best work. Sure, the aesthetic is familiar, but when Wes nails it, it’s not formula, it’s pure style. And this one smells like a full-blown comeback. 🎨💣

movies & series 🍿

@images · Post #1926 · 15.10.2025 г., 10:58

🍿‘Send Help’: Sam Raimi Turns a Deserted Island into a Psychological Battlefield 🌴💀 📆Release: January 30, 2026 🎭Genre: #Horror · #DarkComedy · #PsychologicalThriller ✈️Follow movie Sam Raimi —the mastermind behind The Evil Dead and the original Spider-Man trilogy— returns to his wildest roots with Send Help, his first non-franchise horror film since Drag Me to Hell. Rachel McAdams (Spotlight, Mean Girls) stars as Linda, an underappreciated employee stranded on an island with her boss from hell, Bradley (Dylan O’Brien, The Maze Runner), after surviving a plane crash. What begins as a survival story quickly turns into a darkly funny, blood-soaked power struggle for dominance. What fascinates me most is how Raimi flips the hierarchy: the underdog becomes the predator 💪. Many are calling it a mix between Misery, Cast Away, and Triangle of Sadness —but with Raimi’s signature flair: grotesque, frantic, and wickedly fun. McAdams promises a full-on “Regina George in survival mode” performance, and that alone is worth the ticket. Raimi is back, and horror is groovy again.

Desi Memes Funny Jokes

@DESI_MEMES_Funny_Jokes · Post #5897 · 29.11.2024 г., 12:10

” . . #funny#comedy#funnyreels#reelsinstagram#reelitfeelit#reelkarofeelkaro#memepage#memes#indianmemes#indianreels#viralreels#trending#trendingreels#samayraina#darkcomedy#darkmemes#darkhumour#reels#explorepage#trend#trendingaudio#reletable#trendingaudios

Desi Memes Funny Jokes

@DESI_MEMES_Funny_Jokes · Post #5890 · 29.11.2024 г., 04:50

” . . #funny#comedy#funnyreels#reelsinstagram#reelitfeelit#reelkarofeelkaro#memepage#memes#indianmemes#indianreels#viralreels#trending#trendingreels#samayraina#darkcomedy#darkmemes#darkhumour#reels#explorepage#trend#trendingaudio#reletable#trendingaudios