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

Резултати

Намерени 2,859 подобни публикации

Търсене: #midjourney

当前筛选 #midjourney清除筛选
Ai Arts Gallery

@AIArtsGallery · Post #8668 · 16.04.2026 г., 06:17

A beautiful blonde woman wearing red and white sneakers a beautiful blonde woman wearing red and white sneakers, floral shorts, and a transparent jacket with a rose pattern, crouching on the ground in front of tall buildings. sunlight shines through the skyscrapers in the background, creating a high-definition, full-body, front-view photograph with a fashion magazine-style, low-angle perspective, sharp focus, and natural lighting. the city background and fashionable atmosphere contribute to the overall aesthetic.highly detailed skin texture. #Midjourney

Hashtags

Ai Arts Gallery

@AIArtsGallery · Post #8664 · 15.04.2026 г., 06:16

A woman lounging by a window inside a paris apartment effortlessly chic french lazy atmosphere, a woman lounging by a window inside a paris apartment, slightly messy hair, relaxed posture, wearing a loose white shirt slipping off one shoulder, barefoot, sitting casually on a wooden chair, soft natural late afternoon light, sheer curtains gently flowing in the breeze, warm tones, a cup of coffee on the table, subtle city view outside the window, quiet intimate mood, absent-minded gaze looking outside, minimal movement, slow breathing, cinematic slow push-in, slight handheld camera movement, soft motion blur, film grain, faded colors, low contrast, soft haze, analog 35mm film look, imperfect composition, quiet sensuality, realistic texture #Midjourney

Hashtags

Ai Arts Gallery

@AIArtsGallery · Post #8660 · 14.04.2026 г., 06:15

A front view of a detailed futruristic black and yellow worn and scraped spacecraft fighter jet front view of a detailed futruristic black and yellow worn and scraped spacecraft fighter jet with glass cockpit and exhaust trail and pilot visible flying at high speed over an arctic ice sheet, in the background is an angry huge massive grotesque detailed horrific unnatural alien creature with tentacle that is bursting out of the ice sheet and chunks of ice are scattered and about to bite the spaceship, blue sky, windy, cold, extreme attention to detail, cinematic scene, award winning photography #Midjourney

Hashtags

Ai Arts Gallery

@AIArtsGallery · Post #8656 · 13.04.2026 г., 06:14

A realistic photo of cat sitting on a branch of a cherry blossom tree A realistic photo of cat sitting on a branch of a cherry blossom tree in full bloom. Surrounding branches covered with soft pink and white sakura flowers. Warm spring atmosphere with gentle natural light, pastel colors, and a softly blurred background, artistic photo, made with canon 35mm 1.2 #Midjourney

Hashtags

Ai Arts Gallery

@AIArtsGallery · Post #8652 · 12.04.2026 г., 06:12

A tall thin girl art illustration, tall thin girl, pale skin, medium short pink hair with short bangs, blue eyes, soft glow, gentle diffused lighting, melancholic atmosphere, cinematic #Midjourney

Hashtags

Ai Arts Gallery

@AIArtsGallery · Post #8648 · 11.04.2026 г., 06:11

A steam train crossing a steel bridge over a canyon steam train crossing a steel bridge over a canyon, camera positioned very low slightly to the side, looking up at the bridge, underside of the train visible through gaps in the track and bridge structure, partial view through sleepers, angled perspective, sky background, cinematic, photoreal #Midjourney

Hashtags

Ai Arts Gallery

@AIArtsGallery · Post #8644 · 10.04.2026 г., 06:33

A beautiful redhead woman looking at the camera A beautiful redhead woman looking at the camera in a field of poppies, a romantic atmosphere, the woman has picked poppies, in an airy dress, the sky is bright, in the background a tripod with a painting, shot with a Hasselblad camera #Midjourney

Hashtags

Ai Arts Gallery

@AIArtsGallery · Post #8640 · 09.04.2026 г., 06:32

A full-body portrait of a cute and elegant korean woman A full-body portrait of a cute and elegant korean woman, looking slightly shy, wearing a short skirt, riding a bicycle slowly under soft pink cherry blossoms, gentle spring sunlight glowing on her skin, focus on the woman with shallow depth of field (background softly blurred), subtle motion in her hair and skirt, cinematic composition, ultra-realistic, highly detailed, 8k, sharp focus on the face #Midjourney

Hashtags

Ai Arts Gallery

@AIArtsGallery · Post #8636 · 08.04.2026 г., 06:33

A young woman warlock holding two grimoires and reciting spells aloud a young woman warlock holding two grimoires and reciting spells aloud. High fantasy, high/res, in the art style of magic the gathering #Midjourney

Hashtags

Ai Arts Gallery

@AIArtsGallery · Post #8632 · 07.04.2026 г., 06:32

Young adult cheerleader jogging lightly on a sports field young adult cheerleader jogging lightly on a sports field, white and gold cheer top and shimmering gold skirt, bright natural smile, hair moving in the wind, mid-length vertical action portrait, athletic field softly blurred in the background, clear directional daylight, lively school sports energy, luminous skin, reflective gold fabric accents, clean whites, realistic light movement, shallow depth of field, clean Kodak color negative palette, nostalgic Kodak 35mm photography, cinematic lighting, soft highlight glow, subtle film grain, gentle contrast, rich shadow detail #Midjourney

Hashtags

Ai Arts Gallery

@AIArtsGallery · Post #8628 · 06.04.2026 г., 06:30

1 girl, back view, pink hair in a single ponytail masterpiece, best quality, ultra-detailed, 8K resolution, HDR, high contrast, cinematic lighting, soft light effect, realistic anime 3D rendering, oil painting fantasy style, oil painting texture, ethereal dreamy atmosphere, 1 girl, back view, pink hair in a single ponytail, hair strands fluttering in the wind, white sailor-style short top (dark trim on cuffs), dark pleated JK skirt, white lace ribbon mid-calf socks, black platform leather shoes, dynamic walking pose, skirt fluttering in the wind, left arm slightly outstretched, standing on cobblestone path in front of a grand fantasy castle, foreground dotted with climbing rose bushes, mossy stone lanterns and weathered castle steps, middle ground: towering Gothic-style castle complex with spires, battlements and a moat with lily pads, sky with huge blue-white gradient liquid cloud vortex, sunlight piercing vortex center creating crepuscular rays, floating glowing particles, soft magenta-purple highlights on vortex edge, ultra-wide angle lens, slight fisheye distortion, low-angle shot, asymmetric composition, cobblestone path and castle spire outlines leading to sky vortex, visual focus on sky vortex with character as foreground anchor, background bokeh, sharp focus on character and foreground details, ethereal mood, sense of longing and adventure #Midjourney

Hashtags

123•••100•••200•••238239
ПредишнаСтр. 1 от 239Следваща