199
you are viewing a single comment's thread
view the rest of the comments
[-] BB84@mander.xyz 74 points 3 months ago* (last edited 3 months ago)

lol hardcoded shit everywhere. that codebase is so bad it's entertaining. you should make a standalone post about this here and crosspost to !programming_horror@programming.dev

[-] plyth@feddit.org 7 points 3 months ago* (last edited 3 months ago)

lol hardcoded shit everywhere

It's open source. Why not? People who want a configuration menu can create a patch.

Downvoters, do you have an argument? What is it but entitlement to demand that free open source software should be written differently from what the programmer wants?

[-] expr@programming.dev 33 points 3 months ago

Just because code is open source doesn't mean shit code can't be called out. Shit code is shit code.

[-] plyth@feddit.org 2 points 3 months ago

But why is hardcoding shit code for open source code? The code is easier to read because no if or switch statements are needed to distinguish between the options. No configiration menu has to be maintained.

[-] fushuan 5 points 3 months ago

That if chain is horrendous. You should have a config json file with an array of links and then use a for and check for each of them.

The advantage of having a config file is that it's easily for others to see everything that can be changed dynamically without touching the code, and it's much easier to maintain forks that change or extend the configurable behaviour.

Hard coding shit is bad because it's actually harder to maintain. No programmer worth their salt has difficulty checking the json file that has the configuration for X list, hard coding an if chain is bad coding.

[-] BB84@mander.xyz 31 points 3 months ago

I didn't downvote your comment. But let me argue anyway.

Lots of people flock to PieFed because it is not made by the Lenmy devs who are unpalatably heavy handed in their "moderation" on the ml instance. One would hope this means PieFed offers more freedom to use the software how you like. So it's funny that it's even stricter "moderation" AND NOW ITS HARDCODED so it affects every instance.

[-] lambalicious@lemmy.sdf.org 10 points 3 months ago

So it’s funny that it’s even stricter “moderation” AND NOW ITS HARDCODED so it affects every instance.

Lol, people so afraid of Lemmy devs bowing to the CCP that they migrate to the fediverse option that actually implements CCP societal control features. McCarthysim really did a number on the Amerikkkan brain, dunno if it is impacting people from elsewhere that much. This surely was not in my 2026 Bingo card!

[-] plyth@feddit.org 3 points 3 months ago

ITS HARDCODED so it affects every instance.

It's open source. Every instance can change it and if something is common, people can maintain the patch together.

Lenmy devs who are unpalatably heavy handed in their “moderation” on the ml instance.

Which is their instance. I don't like the hate they receive. They have established a social network that allows everybody to run their own instance with their own moderation. To present them as the villains must be nurtured by the establishment.

So it’s funny that it’s even stricter

Absolutely

[-] irelephant@lemmy.dbzer0.com 7 points 3 months ago

Its already configurable—some people sent patches for those things already.

this post was submitted on 28 Jan 2026
199 points (100.0% liked)

Fediverse

42029 readers
191 users here now

A community to talk about the Fediverse and all it's related services using ActivityPub (Mastodon, Lemmy, Mbin, etc).

If you wanted to get help with moderating your own community then head over to !moderators@lemmy.world!

Rules

Learn more at these websites: Join The Fediverse Wiki, Fediverse.info, Wikipedia Page, The Federation Info (Stats), FediDB (Stats), Sub Rehab (Reddit Migration)

founded 2 years ago
MODERATORS