[-] tyo_ukko@sopuli.xyz 3 points 1 day ago* (last edited 1 day ago)

Well, bad code is bad code regardless of the paradigm. I've just had bad experiences rewriting some horrible OOP codebases and opted out to use as much functional style as C# allowed me to.

The main problem, as I see it, is that OOP encourages unnecessary abstractions and inheritance. These should be used as little as possible, because they typically increase complexity and make code harder to read and untangle. As an example, I've seen people define interfaces that don't essentially define anything.

Another problem is that OOP encourages mutable member variables. It's very annoying to try to understand code where class C inherits from class B that inherits from class C. Good luck debugging when the methods of C modify a variable declared in A in subtle ways.

As an idea OOP is very appealing. When I was younger, I would be thrilled to start designing a class hierarchy and interfaces when encountering a new programming challenge. Now I just try to think how to make things as simple and modular as possible.

Edit: of course bad functional code is also bad code. It's also very annoying to try to understand code where functions pass badly named functions around as parameters and use 10 function compositions in a sequence.

[-] tyo_ukko@sopuli.xyz 5 points 1 day ago

This is non-news. It's just a small Anschluss to obtain a bit of Lebensraum. Nothing nefarious as the article tries to make it seem.

[-] tyo_ukko@sopuli.xyz 2 points 5 days ago

I mean I lived through it. It's also to be seen on the Wikipedia page. Initially Buttigieg was doing really well, but "for some reason" dropped out and endorsed Biden. Later on, just before the super Tuesday, also Warren and Bloomberg dropped out and endorsed Biden.

At that time it felt more dramatic (probably because media was very anti-Bernie), which is not visible in the statistics.

[-] tyo_ukko@sopuli.xyz 1 points 5 days ago

Yeah probably it would be a bad thing. Republicans try to mobilize the idiot vote. To get that, you can be unhinged, but you alienate the more reasonable voters, the educated city people that the dems absolutely need.

Although it would be interesting to see two unhinged parties try to fight it out to get the idiot vote. I assume Italian political culture to be something like that, all the smarter Italians I've ever spoken to seem extremely frustrated by their system.

[-] tyo_ukko@sopuli.xyz 4 points 5 days ago

Wasn't 2020 the year when all of the primary candidates but Biden just decided to drop out before super Tuesday in order to not split the vote against Bernie? In my opinion it was worse than 2016.

[-] tyo_ukko@sopuli.xyz 4 points 6 days ago* (last edited 6 days ago)

I think he's referring to the time when the DNC legit fucked over Bernie Sanders. We all saw it, yet the D voters in the US sucked it up and voted for Biden, only to see the shit show known as election 2024.

[-] tyo_ukko@sopuli.xyz 6 points 6 days ago

Well that's the problem, innit? The orange shit heap will get a good chunk of votes from the idiots no matter what. So the other candidate needs to be an A grade to attract the rest of the votes, otherwise the pile of feces will win. At this point it's obvious the diarrhea puddle can do whatever he wants and still get his share of votes, so asking why he can do and say whatever and get away with it is pointless.

[-] tyo_ukko@sopuli.xyz 3 points 6 days ago

Source? Or are we down to republican level of accepting losing?

[-] tyo_ukko@sopuli.xyz 108 points 1 week ago

Instead of a red mirage, we got a blue stayathomeandnotvote. Harris got 10-13M votes less than Biden in 2020, and even Trump seems to be getting less votes than the last time (counting still ongoing). I was told there would be a record turnout in this election.

[-] tyo_ukko@sopuli.xyz 50 points 1 week ago

No one is expecting "world to end". It's just going to get somewhat shittier whereas it could have gotten better or at least stayed the same. Also for some minorities it's going to get a lot shittier.

514
359
The Cursed Computer Iceberg (suricrasia.online)

All the words in the picture are links!

[-] tyo_ukko@sopuli.xyz 136 points 1 year ago

Don't you even think about the billionaires, bro?

view more: next ›

tyo_ukko

joined 1 year ago