this post was submitted on 10 Oct 2024
94 points (93.5% liked)

Programmer Humor

19813 readers
165 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] qaz@lemmy.world 22 points 2 months ago (2 children)

I broke the type system in Kotlin and ended up with a null value in a non-null (not lateinit) variable.

[–] zea_64@lemmy.blahaj.zone 5 points 2 months ago

How convoluted was it?

[–] MMauro@feddit.it 1 points 2 months ago (1 children)

With no platform types involved?

[–] qaz@lemmy.world 1 points 2 months ago (1 children)
[–] MMauro@feddit.it 1 points 2 months ago (1 children)

Interesting. Care to share? I think they fixed a few of those issues with K2. Did you find something new or is it known?

[–] qaz@lemmy.world 2 points 2 months ago* (last edited 2 months ago)

It was about 3 years ago, and I haven't been able to find my old code again. I probably discarded it after finding out it didn't work well.

I was able to find these screenshots though: