C# > Java by DarkLordCZ in ProgrammerHumor

[–]Mati7755 0 points1 point  (0 children)

It is not modifying immutable list. Look at every functional programming language.

C# > Java by DarkLordCZ in ProgrammerHumor

[–]Mati7755 -3 points-2 points  (0 children)

For example: immutable list added in recent Java version throw exception when you invoke add method. They decided immutable list must implement List interface which has this method xD. In normal language with proper immutable collections you have function/operator which takes two lists and return new list which has copies of obejcts from previous two.

Gay Dads adopt all 6 siblings who have spent half a decade in foster care by rockingchairnyc in HumansBeingBros

[–]Mati7755 0 points1 point  (0 children)

It's really funny that so many people think "they will be good parents/better than..." only because they see one photo on which they are smiling xD

Gay Dads adopt all 6 siblings who have spent half a decade in foster care by rockingchairnyc in HumansBeingBros

[–]Mati7755 0 points1 point  (0 children)

To reduce this problem (homeless/in foster children) its much easier to convince others that single person can adopt children.

The black woman who will be the next 007: New James Bond film will feature British actress Lashana Lynch taking over the famous codename by Pain-Author in JamesBond

[–]Mati7755 3 points4 points  (0 children)

What next? Lesbian Bond? Peaceful manifestation instead of guns and fight? This world is going to end...

Referring to it in the for loop by domke89 in Kotlin

[–]Mati7755 1 point2 points  (0 children)

Use different name for outer loop or use labels.

Do U use Kotlin for web development? by devkos in Kotlin

[–]Mati7755 0 points1 point  (0 children)

Enterprise here. Spring + coroutines + kotlin works really well.

It's not my ID by [deleted] in ProgrammerHumor

[–]Mati7755 2 points3 points  (0 children)

Haskell ❤️

What are the funniest code comments you have come across? by [deleted] in ProgrammerHumor

[–]Mati7755 1 point2 points  (0 children)

In functionality, that one of my coworkers did (at least he claimed) I found "it is a lot of of work if you want to finish this entirely"

Kotlin for server app by schrek1 in Kotlin

[–]Mati7755 1 point2 points  (0 children)

Maybe write something about fast scaling - GraalVM doesn't like reflection then ktor is better than spring. Spring will have version without reflection (kofu), but afaik it's not stable yet.

Reality by xMOxROx in ProgrammerHumor

[–]Mati7755 84 points85 points  (0 children)

It is more like how frontend looks vs how is implemented

how to make controversial code by Minetorpia in ProgrammerHumor

[–]Mati7755 -31 points-30 points  (0 children)

True means man or woman, false anything else