#TypeSafety
Use a value class for domain IDs when raw strings are too easy to mix up. An OrderId and a UserId should not be interchangeable just because both contain text. #Kotlin #TypeSafety #SoftwareDesign
November 20, 2026 at 5:40 PM
Sealed classes and interfaces are excellent tools for modeling finite states. Let the compiler help you handle every possible case instead of relying on conventions and comments. #Kotlin #TypeSafety #SoftwareDesign
November 8, 2026 at 3:00 PM
Good Kotlin code makes invalid states difficult to represent. Use types to encode business rules, sealed hierarchies for finite alternatives, and compiler feedback to catch mistakes early. #Kotlin #SoftwareEngineering #TypeSafety
October 26, 2026 at 4:30 PM
Good Kotlin APIs make invalid states difficult to express. Use types to encode meaningful constraints, sealed hierarchies to model finite alternatives, and compiler feedback to catch mistakes early. #Kotlin #TypeSafety #SoftwareDesign
October 23, 2026 at 7:30 PM
Type safety is not just a compiler feature. It is a way to move problems from production into development, where they are cheaper to solve. #Kotlin #TypeSafety #Programming
October 16, 2026 at 12:30 AM
array_multisort() takes SORT_ASC/SORT_DESC as ints, so 42 gets right through. PHP 8.6 adds a SortDirection enum in the global namespace, and the RFC hints at wider adoption.

#PHP #PHP86 #TypeSafety

https://www.phparch.com/2026/09/stop-writing-php-like-this-8-6-fixes-it/
September 29, 2026 at 11:09 AM
Sealed interfaces are great when the compiler should know every valid branch of a domain decision. They turn “remember to handle this case” into something your type system can help enforce. #Kotlin #TypeSafety #SoftwareDesign
September 25, 2026 at 1:00 PM
Taming LLM outputs with JSONSchema! Discover type-safe AI at #FnConf. Learn more: confengine.com/conferences/functional-conf-2025/proposal/21044?utm_source=bluesky&utm_medium=organic_social&utm_campaign=FnConf-speaker-profiles #AI #TypeSafety
January 22, 2025 at 3:05 PM
Taming LLM outputs with JSONSchema! Discover type-safe AI at ##FnConf. Learn more: https://confengine.com/conferences/functional-conf-2025/proposal/21044?utm_source=bluesky&utm_medium=organic_social&utm_campaign=FnConf-speaker-profiles ##AI ##TypeSafety
December 21, 2024 at 1:30 PM
If you had a monorepo, with a host and couple of remotes, and you would still like to still use lazy imports (to have typesafety from typescript "paths"), what would be your approach to deploy for X environments? Would you build for each environment? What if I want to hotfix a single remote?
November 26, 2024 at 8:46 PM
Template literal types compute string shapes from other types. Prefix every union member, split a route path into typed params, or build event names for known combinations only. The type system starts doing string work that used to live in runtime validators. #TypeScript #WebDev #TypeSafety
August 20, 2026 at 1:44 PM
TanStack Router keeps gaining attention for type-safe routing with end-to-end inferred types. Routes defined once and typed everywhere reduce a category of production bugs before they exist
#TanStack #TypeSafety #Routing
August 20, 2026 at 4:08 AM
I agree to get more typesafety this is great, however for things that cannot run TS natively this requires a compilation step.

Looking at you Jest...

Try changing some configs from TS to JSON or JS and check boot up times.

There is also satiesfies for JSON:
json-schema.org
JSON Schema
JSON Schema
json-schema.org
November 1, 2024 at 3:37 AM
SOMETHING I USED AI FOR AND HOW IT WENT (series part 2)

Create typesafety for using variables inside of translation JSONs + translate all dates on Simpli
January 24, 2026 at 3:27 AM
But how hard did you try... if you squint, maybe there's a digit in there somewhere and with a little decluttering we could get to an integer.. from there, it's almost a double... give it a go... #typesafety - talk to your kids about it before someone shows them #pandas
April 23, 2025 at 5:57 PM
Worked on model mapping and validation for Chaufr. Applied transforming data safely, enforcing type constraints, and validating inputs using OCaml strong type system and libraries essential for building reliable, type-safe apps. #OCaml #TypeSafety #DataValidation

fearful-odds.rocks/blog/model-m...
Model Validation & Time Utilities Sprint: From Basic Models to Proper Validation Layer
A weekend sprint documenting the evolution from basic OCaml models to comprehensive validation infrastructure with field enhancements, time utilities, and cryptographic security improvements for the C...
fearful-odds.rocks
September 28, 2025 at 10:59 AM
Óbvio que dá pra usar um plugin de outra biblioteca, mas a ideia seria ser um useState + zod, pra dar typesafety, higienização de dados de forma simples, um replacer msm, o trabalho de fazer o type a pessoa faz o schema, recebe o type e toda a segurança junto
February 11, 2025 at 11:17 PM
have a look at convex! highly recommend, end to end typesafety, reactive out of the box(via websockets) and such a breezy to setup and use
December 4, 2024 at 11:50 AM