🚨 NEWS: TypeScript da Zero ad Avanzato — Tipizzazione, Generics e Pattern per Codice che Non Si Rompe

Ecco i punti chiave in breve:
💡 Hai un progetto JavaScript che cresce e gli errori 'undefined is not a function' a runtime diventano il tuo incubo quotidiano? Passi più tempo a fare debug che a scrivere feature nuove? Noi di Meteora...

🚀 LINK: https://meteoraweb.com/sviluppo-di-siti-web/typescript-da-zero-ad-avanzato-tipizzazione-generics-e-pattern-per-codice-che-non-si-rompe

#typescript #tipizzazioneStatica #generics #utilityTypes #reactTypeScript

TypeScript da Zero ad Avanzato — Tipizzazione, Generics e Pattern per Codice che Non Si Rompe

Guida pillar su TypeScript: dai tipi base ai Generics, Utility Types, React e Node.js. Impara a scrivere codice type-safe con esempi pratici.

Meteora Web

제네릭 및 메타프로그래밍 모델 탐구: Go, Rust, Swift, D 그리고 그 이상

제네릭은 다양한 타입의 요소를 처리하는 코드 작성 문제를 해결하며, 이를 위한 두 가지 주요 접근 방식은 '박싱(Boxing)'과 '모노모피즘(Monomorphization)'입니다.

🔗 원문 보기

제네릭 및 메타프로그래밍 모델 탐구: Go, Rust, Swift, D 그리고 그 이상

제네릭은 다양한 타입의 요소를 처리하는 코드 작성 문제를 해결하며, 이를 위한 두 가지 주요 접근 방식은 '박싱(Boxing)'과 '모노모피즘(Monomorphization)'입니다.

Ruby-News
All this fuss around the Generics RFC reminds me of when I refused to sign a mortgage and some of my friends criticized me for not wanting to buy a house, even though it was obvious that the interest rates were too high relative to the purchase. Sometimes refusing something isn't about rejecting the idea itself; it's simply recognizing that the cost outweighs the benefits. #PHP #generics
Strongly typed generic object in C#

Because sometimes you just need bit more type safety.

tabs ↹ over ␣ ␣ ␣ spaces by Jiří {x2} Činčura

Как я избавился от тысяч строк валидации в Swift

Каждый раз, когда нужно добавить новую модель в проект, приходится писать буквально одинаковый код: с одинаковыми проверками, с одинаковыми корректировками, с одинаковыми Codable , с одинаковыми тестами. Полагаю, вы тоже постоянно с этим сталкиваетесь, особенно при работе с текстом: почистить от лишних пробелов, убрать декоративные символы, привести к нужному регистру, сделать проверку на «не пусто» и так далее. В этой статье рассказываю про собственные наработки, про то, как удалось существенно сократить бойлерплейт и улучшить читаемость кода.

https://habr.com/ru/articles/1043520/

#ios #validation #generics #composition #wrappers #typesafety

Как я избавился от тысяч строк валидации в Swift

Каждый раз, когда нужно добавить новую модель в проект, приходится писать буквально одинаковый код: с одинаковыми проверками, с одинаковыми корректировками, с одинаковыми Codable , с одинаковыми...

Хабр

So listened to @brendt (https://www.youtube.com/watch?v=4wpW98S2xJQ)

and read @Girgias (https://gpb.moe/blog/opinion-bound-erased-generics.html) about #Generics in #PHP
both are good

Was very in favor and even enthusiastic of the #RFC at first...

But, I have the feeling some of us, me included, would want those Generics so bad, we would settle for an early compromise that would, in fact, potentially, have very negative consequences for the future of #PHP and break some of the basic standards we adopted in regards of type checking...

The final boss. Generics in PHP

YouTube
Novo Nordisk will slash Ozempic price for some, ‘aligning’ with generics
Ozempic and Wegovy, both produced by Novo Nordisk, currently cost hundreds of dollars a month, depending on the dosage dispensed, in some cases more than $450.
#Health #GLP1 #Ozempic
https://globalnews.ca/news/11863331/novo-nordisk-slash-ozempic-price-generics/

A brief overview of the #generics concept in #PHP, as explained by @nunomaduro 👇
https://www.youtube.com/watch?v=3-wG-HYI3Jg

For now, it’s at the "idea" stage, so you can review it, comment, and share your thoughts. For more details, refer to the RFC and pull request:
- https://wiki.php.net/rfc/bound_erased_generic_types
- https://github.com/php/php-src/pull/21969

Have a good day 😎

PHP Is Finally Getting Generics...

YouTube

No syntaxation without reification!

#php #generics https://externals.io/message/130816

[RFC] Deprecations for PHP 8.6 - Externals

#externals - Opening PHP's #internals to the outside

Finally Generics coming in PHP 9 🎉

#php #generics #php9 #phpGenerics