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

Резултати

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

Търсене: #hollywood

当前筛选 #hollywood清除筛选

🎬✨OSCARS 2026 DRAMA: BANNED CELEBS STAY OUT, FASHION WARS HEAT UP 🔹 Six celebrities permanently banned from Academy Awards including Will Smith until 2032 🚫 🔹 Harvey Weinstein, Bill Cosby, Roman Polanski remain expelled for serious offenses ⚖️ 🔹 March 15th red carpet sparked fashion fury over revealing crystal gowns controversy 👗 🔹 June Kim's translucent ivory dress and Leam Myin's extreme slit gown divide critics 📸 🔹 Academy maintains strict standards while Hollywood elite navigate cancel culture minefield 🎭 Tinseltown's image crisis continues — when will Hollywood heal its reputation? 💫🤔 #USNews#Hollywood @america

movies & series 🍿

@images · Post #1962 · 09.02.2026 г., 18:23

🍿 Cliff Booth is back, and it doesn’t feel like a fever dream 📆Release: Coming soon 🎭Genre: #Drama · #Thriller · #Hollywood ✈️Add movie Netflix 📺 dropped the teaser for The Adventures of Cliff Booth during the Super Bowl, and it’s still hard to believe this is real. Brad Pitt returns to the role that earned him an Oscar in Once Upon a Time… in Hollywood, this time front and center and firmly set in the 1970s. The real power move isn’t the comeback itself, but who’s behind it: David Fincher (Se7en, Fight Club) directing a script by Quentin Tarantino. A bizarre pairing… and a dangerously compelling one. The footage hints at a darker Cliff, less nostalgia, more grit: bars, racing, playful censorship, implied violence, and a less romanticized Hollywood. Fincher runs Tarantino’s universe through his cold, surgical lens, and that could be gold or pure dynamite, but it won’t be boring. Netflix going all in? Massive budget, a Super Bowl teaser, and an iconic character back behind the wheel. This feels like a high-end cinephile indulgence 🎬🔥.

Trump's Ear

@trumpsear_tg · Post #1937 · 22.12.2025 г., 17:59

Disney built Kevin's house out of gingerbread. This is a world record for gingerbread construction For the 35th anniversary of the movie "Home Alone", the film company built one of the most famous houses in the history of cinema in Los Angeles. The main character Kevin's house is completely made of gingerbread and covered with icing. Its height is 8 meters and length is 18 meters, and it officially entered the Guinness Book of Records as the largest gingerbread house in history. The following ingredients were needed to make the house: 2.59 tons of flour, more than 4,200 eggs, 4,400 gingerbread bricks and 800 roof tiles, more than 75 liters of edible glue and about 9 kg of confectionery paste. Fans of the iconic Christmas movie can visit the house and try "A Lovely Cheese Pizza" from Prince St. Pizza. #Hollywood#Media 👂More on Trump's Ear

Trump's Ear

@trumpsear_tg · Post #2203 · 27.02.2026 г., 15:59

Donald Trump has responded to a recent podcast appearance by Robert De Niro, in which he called the president “an idiot”. Speaking on Monday’s episode of The Best People with Nicole Wallace, De Niro, who has long criticised the politics, morals and competence of Trump, said: “He’s an idiot. We gotta get rid of him. He’s gonna ruin the country.” He added:“ I don’t want everybody going around with their Maga, the American flags, like they’re the only ones. We are Americans too.” The actor then took headline billing at the State of the Swamp, a Washington event intended as a riposte to Trump’s State of the Union address on Tuesday. In his emotional speech, De Niro he described the president as “failing, flailing and desperate” and said he felt “betrayed by my country”. Writing at length on Truth Social on Wednesday, the president first proposed deporting representatives Ilhan Omar and Rashida Tlaib, who left the Capitol building early on Tuesday after shouting him down during his speech. #Trump#Media#Hollywood 👂More on Trump's Ear ⚠️

Trump's Ear

@trumpsear_tg · Post #1840 · 27.11.2025 г., 22:00

Breaking Bad creator Vince Gilligan believes that one of his iconic characters would be out of prison by now if the show was real. Many of Breaking Bad’s characters either ended up dead or in prison by the time the iconic series came to an end. Walter White, Mike Ehrmantraut, Gustavo Fring, Tuco Salamanca and many more were all killed off, while Jesse Pinkman made a rare escape in the series finale. #Trump#Media#Hollywood 👂More on Trump's Ear

UGAR_DL

@dl_ugar · Post #324 · 02.09.2022 г., 17:16

🤣🤩https://instagram.com/dimasik__cool?igshid=YmMyMTA2M2Y=🎁👌02.09.22🧨🔥😘🥳🥰💪 ПОЗДРАВЛЯЕМ Диму! Голливуд выразил респектище 🤣🎉 от Ксюши с 🥰#озвучка#др#hollywood⭕️

It took One year to make the movie Muhammad Rasoolullah. #Hollywood created such a huge work that 27 Muslim countries have been broadcasting it continuously for 50 years. Muslims do not know that they have been deceived. Zionists have deleted a huge part of Islamic history. 50% of the Prophet's wars were with the Jews, but all of this film is the Prophet's wars with the #Arabs. https://t.me/YediotNewsChat

UGAR_DL

@dl_ugar · Post #315 · 23.08.2022 г., 07:52

🤣🤩😂https://instagram.com/alexsander__vasse?igshid=YmMyMTA2M2Y= 23.08.22✨🥳Конор не забыл про братишку из Сочи) даже не смотря на свою «Ходульку» он выразил Респектище) Будь счастлив Саня!! От близких друзей ⭕️ ПРЯМОЕ ВКЛЮЧЕНИЕ С Los Angeles) #озвучка#дл#др#hollywood🤩😎

UGAR_DL

@dl_ugar · Post #305 · 15.08.2022 г., 15:59

🤣https://instagram.com/nusha_nusha_kit?igshid=YmMyMTA2M2Y=🎁🎉✨😘🎈🤩 15.08.22✨ Анютке 22 ! Когда она на кухни это Поистине праздник живота!))😜 Роберт выразил респектище)👍 от лучших друзей! ПОЗДРАВЛЯЕМ!🍾🎊#озвучка#дл#hollywood#ДР

Trump's Ear

@trumpsear_tg · Post #1875 · 05.12.2025 г., 20:04

Academy Award-winning actress Halle Berry lashed out at California Gov. Gavin Newsom on Wednesday, arguing that he overlooks women and shouldn’t “be our next president.” “At this stage in my life, I have zero f–ks left to give,” Berry said in remarks at the Dealbook Summit before taking aim at the Democratic governor, according to the Hollywood Reporter. “Back in my great state of California, my very own governor, Gavin Newsom, has vetoed our menopause bill, not one, but two years in a row,” the “Catwoman” star continued. “But that’s OK, because he’s not going to be governor forever, and the way he has overlooked women, half the population, by devaluing us, he probably should not be our next president either. Just saying.” #Newsom#Hollywood 👂More on Trump's Ear

AI & Law

@ai_and_law · Post #534 · 26.03.2025 г., 08:04

🌟Hollywood vs. AI: The Copyright Battle Escalates Over 400 Hollywood creatives, including Ben Stiller and Cate Blanchett, have signed an open letter urging the Trump administration to reject OpenAI and Google’s proposals to expand AI training on copyrighted works. They argue that such policies would allow AI companies to "freely exploit" the creative industry instead of negotiating proper licenses, as every other sector does. The AI giants claim broader copyright exemptions are crucial for innovation and even national security. But this fight isn’t just about legal frameworks—it’s a clash of values between Silicon Valley’s "move fast and iterate" philosophy and Hollywood’s long-established intellectual property protections. With AI models already ingesting global content, the real question is whether the battle is about control or just a symbolic stand. #AI#Copyright#Hollywood#FairUse#AIGovernance

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