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

Резултати

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

Търсене: #myanmar

当前筛选 #myanmar清除筛选
RT en français

@RTenfrancais · Post #79800 · 22.04.2026 г., 12:35

❗️ Collision entre deux avions dans un aéroport au #Myanmar Deux avions sont entrés en collision dans un aéroport du Myanmar après une panne de freins sur un appareil, selon des informations préliminaires. L’avion en mouvement a percuté un Airbus stationné, sans s’arrêter après l’impact. Il a finalement été immobilisé après avoir heurté un chariot à bagages. source : réseaux sociaux RT en français • Osez questionner !

Hashtags

POPULAR FRONT

@popularxfront · Post #6236 · 13.05.2026 г., 07:57

🇲🇲#Myanmar: Four people, including alleged prisoners of war, were killed after Myanmar junta fighter jets carried out airstrikes on a location in Mindat Town. According to regional reports, the Myanmar military has conducted a total of 11 airstrikes over the past two days, with the attacks also reportedly destroying at least 15 civilian homes. (via @pvtvmyanmar)

Hashtags

POPULAR FRONT

@popularxfront · Post #6189 · 08.05.2026 г., 09:18

🇲🇲#Myanmar: Helmet cam footage showing People's Defence Forces (PDF) rebels ambushing Junta troops somewhere in Dawei. (via @war_noir)

Hashtags

POPULAR FRONT

@popularxfront · Post #6156 · 04.05.2026 г., 09:11

🇲🇲#Myanmar: Footage shows rebels from the People's Defence Forces (PDF) firing a Chinese heavy machine gun at a military aircraft operated by the Burmese military. (via @war_noir)

Hashtags

POPULAR FRONT

@popularxfront · Post #6091 · 30.04.2026 г., 09:43

🇲🇲#Myanmar: Footage from last week shows Chin Defence Forces rebels, alongside the New Society Army, launching rocket attacks on a "KaPaSa" factory, which is an arms and munitions facility operated by the military junta.

Hashtags

POPULAR FRONT

@popularxfront · Post #6071 · 28.04.2026 г., 06:37

🇲🇲#Myanmar: The rebel Karen group “Cobra Column” carried out an attack on junta forces in Wawlay, launching multiple strikes with RPGs and grenade launchers. The second part of the video shows the rebels firing at junta positions from an entrenched location. (via @war_noir)

Hashtags

POPULAR FRONT

@popularxfront · Post #5979 · 21.04.2026 г., 13:39

🇲🇲#Myanmar: Footage showing rebel fighters from various units engaging Junta positions with a PKM from inside a trench. The videos were posted on April 18th - 20th, however, the exact dating of the events remains unclear.

Hashtags

ASIANOMICS

@asianomics · Post #5963 · 22.04.2026 г., 03:36

🇲🇲Myanmar Junta Floats Peace Talks, Key Groups Refuse Myanmar's military-backed president Min Aung Hlaing has called for peace negotiations with armed opposition groups by July 31, five years after his coup plunged the country into civil war. The Karen National Union and the Chin National Front — both named in the offer — have already rejected the proposal. The outreach comes as the junta faces sustained military pressure across multiple fronts, with ethnic armed organizations and the People's Defence Force holding or contesting significant territory. Min Aung Hlaing rebranded as president under a new military-backed government structure, a move widely seen as an attempt to consolidate legitimacy rather than signal genuine reform. With two of the named groups publicly refusing, the July 31 deadline faces immediate credibility problems before any talks begin. #Myanmar @asianomics

Hashtags

ASIANOMICS

@asianomics · Post #5900 · 10.04.2026 г., 10:05

🇲🇲Min Aung Hlaing Sworn In as Myanmar President Former military chief Min Aung Hlaing was sworn in as president of Myanmar on April 10, completing a transition from junta rule to a military-led civilian government more than five years after he seized power in a 2021 coup. He received 429 of 586 parliamentary votes on April 3, with the military-backed Union Solidarity and Development Party and military appointees holding roughly 86 percent of seats. Min Aung Hlaing stepped down as commander-in-chief on March 30 to comply with the 2008 Constitution, which bars serving military officers from the presidency. He handed command of the armed forces to Gen. Ye Win Oo, the former military intelligence chief who organized the arrests during the February 2021 coup. A 30-member Cabinet, composed predominantly of active or former senior military officers, was formed and approved by parliament on inauguration day. China, Russia, Cambodia, and Thailand offered congratulations following Min Aung Hlaing's election. Western nations and Myanmar's opposition forces dismissed the transition as a means of legitimizing permanent military rule. Aung San Suu Kyi remains in detention and her National League for Democracy party has been dissolved. #Myanmar @asianomics

Hashtags

POPULAR FRONT

@popularxfront · Post #5881 · 13.04.2026 г., 08:15

🇲🇲#Myanmar: Footage shows an anti-junta rebel training with a belt-fed machine gun, reportedly a Pakistani-made copy of the MG42 known as the MG3. (via @war_noir)

Hashtags

ASIANOMICS

@asianomics · Post #5832 · 02.04.2026 г., 09:00

🇲🇲Myanmar Parliament Votes for President April 3 Myanmar's Parliament is scheduled to hold a bicameral presidential vote on April 3, House Speaker Aung Lin Dwe announced on April 2. Former military chief Min Aung Hlaing is among three vice-presidential candidates eligible for the presidency. Min Aung Hlaing stepped down as Myanmar's top military commander on March 30 after 15 years in the position. A Lower House member nominated him as a vice-presidential candidate on the same day, alongside candidates put forward by the Upper House and the military's parliamentary bloc. The vote follows a December–January election won by the military-backed Union Solidarity and Development Party, which the United Nations and multiple Western governments rejected as illegitimate. A joint session of both houses, including military-appointed lawmakers, is set for 10am local time on April 3. #Myanmar @asianomics

Hashtags

ASIANOMICS

@asianomics · Post #5820 · 31.03.2026 г., 10:02

🇲🇲Myanmar's Spymaster Named New Military Chief On March 30, General Ye Win Oo was appointed commander-in-chief of Myanmar's military, becoming the first intelligence chief to hold the position. The 60-year-old previously served as Chief of Military Security Affairs and personally led the contingent of troops that detained then-leader Aung San Suu Kyi during the February 2021 coup. Analysts and a military defector describe Gen Ye Win Oo's selection as driven primarily by his close personal and family ties to outgoing commander General Min Aung Hlaing. Gen Min Aung Hlaing, who shed his uniform following a widely criticized December 2025 election, is expected to assume the presidency and will require the military's continued support in that role. Gen Ye Win Oo's rise through the ranks, including his 2020 appointment as intelligence chief, is attributed to Gen Min Aung Hlaing's patronage. UN investigators have separately accused Myanmar's security forces of systematic torture and killings during interrogations — abuses documented in a 2025 report by the Independent Investigative Mechanism for Myanmar. #Myanmar @asianomics

Hashtags

123•••67
ПредишнаСтр. 1 от 7Следваща