Grilled Cheese

ExploreLog inSign up
Terms of UsePrivacy PolicyCommunity StandardsHelpGet the app

Grilled Cheese is a product of Village Compute

Version devBuilt at: 2026-12-03 22:42:33 EST

PhotosVideosAllPeople
LatestRanked
@watermelonkode.bsky.socialNov 20, 2026, 5:40 PM

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

@watermelonkode.bsky.socialNov 8, 2026, 3:00 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

@dxsrc.orgNov 4, 2026, 7:30 PM

How to Make “postMessage” Type-Safe in Under 350 Bytes, by @travisturner.bsky.social (@[email protected]):

https://evilmartians.com/chronicles/how-to-make-postmessage-type-safe-in-under-350-bytes?ref=frontenddogma.com

#howtos #typescript #typesafety

evilmartians.comHow to make postMessage type-safe in under 350 bytes—Martian Chronicles, Evil Martians’ team blogTyped-channel is a library for typed messages and requests across workers, iframes, tabs, and event buses.
@watermelonkode.bsky.socialOct 26, 2026, 4:30 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

@watermelonkode.bsky.socialOct 23, 2026, 7: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

@watermelonkode.bsky.socialOct 16, 2026, 12:30 AM

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