glorkon

joined 1 year ago
[–] glorkon@lemmy.world 2 points 2 days ago

Well, ideally you start new projects writing 100% Kotlin while only adding Kotlin code to older codebases you can't get rid of. Personally, I don't like mixing languages anyway and I would stay with Java in Java projects. One reason is the bloat argument you pointed out quite correctly.

[–] glorkon@lemmy.world 3 points 2 days ago* (last edited 2 days ago) (1 children)

True... but Kotlin makes Lombok quite unnecessary by having its concepts built in. It's also worth to point out that null safety is opt-in in Java and opt-out in Kotlin.

[–] glorkon@lemmy.world 3 points 2 days ago* (last edited 2 days ago)

Yes, there are things about Kotlin I don't love either. But I still like how it was clearly developed having developer quality-of-life in mind.

[–] glorkon@lemmy.world 3 points 2 days ago

Kotlin isn't perfect and it gives the devs quite a lot of freedom. I would argue that if your Kotlin code is messy, that's on you - but it will still be significantly less prone to failures like NPEs. Unless you opt out of null safety by using the dreaded ?-Operator.

[–] glorkon@lemmy.world 8 points 2 days ago* (last edited 2 days ago) (11 children)

NPEs are the reason why my team moved to Kotlin. Well, that and all the other myriad advantages Kotlin brings to the table.

[–] glorkon@lemmy.world 0 points 2 days ago* (last edited 2 days ago)

Well fuck me. According to the downvotes I should really switch to an electric stove (which I can't because my kitchen doesn't have the proper outlet for it, so I need to convince the landlord to install it) and then I can cook food with electricity generated by burning coal or uranium.

Thanks for making me a better human being, I guess.

[–] glorkon@lemmy.world 40 points 3 days ago* (last edited 3 days ago)

This man in Monty Python's Life of Brian is none other than British comedy legend Spike Milligan, who, together with Peter Sellers and Harry Secombe, starred in the 1950s radio comedy show "The Goon Show", which all members of the Pythons cited as their most important influence.

By coincidence Milligan was visiting his old World War II battlefields in Tunisia where the film was being made. The Pythons were alerted to this and he was included in the scene being filmed that morning.

collapsed inline media

[–] glorkon@lemmy.world 3 points 1 week ago* (last edited 1 week ago) (1 children)

Still sounds really great.

I'm German, and whenever someone here claims the British have bad food I mention all the fantastic chutneys and pickles you guys have over there. Particularly fond of a thing called "Glorious Garlic Pickle" by The Bay Tree. I wish I had the recipe because they don't ship to mainland Europe.

[–] glorkon@lemmy.world 2 points 1 week ago (3 children)

The onions still do the heavy lifting, I guess, and "a few bottles of malt vinegar" sounds a little excessive.

I personally prefer pure caramelized onions without any other ingredients except a bit of salt, to be honest. Won't keep as long in the fridge but is the most versatile.

[–] glorkon@lemmy.world 39 points 1 week ago (2 children)

Even then, a BMW would tailgate and flash its headlights at you on a German autobahn.

[–] glorkon@lemmy.world 16 points 1 week ago

The sticker should also say something like "But don't worry, we're going to be evaporated in a huge explosion anyway, due to the gigantic release of energy when you crash into my car in a few nanoseconds."

view more: next ›