Some legacy Python code that already used inheritance. I had to extend it, and it was pretty infeasible to refactor the whole thing to not use inheritance. Not sure if I technically regretted that decision, but it was definitely painful, since Python inheritance makes it really hard to follow program control flow.
Professional software engineer, musician, gamer, stoic, democratic socialist
- 11 Posts
- 508 Comments
No because those are different things.
In over ten years of professional programming, I have never used inheritance without regretting it.
tatterdemalion@programming.devto
Games@lemmy.world•Discord will restrict your account next month unless you scan ID or faceEnglish
211·4 days agoI think they meant you could wipe with dd and then they are
recyclablereusable.EDIT: s/recycleable/reusable
tatterdemalion@programming.devto
Ask Lemmy@lemmy.world•Will carrier drone and mesh nets be the coms of the revolution?
2·6 days agoWhat’s wrong with good old Internet with E2EE?
tatterdemalion@programming.devtoMicroblog Memes@lemmy.world•If you catch them studdering, run.English
1·8 days agoSpeed bumps are designed? In my neighborhood I’d swear they’re just eye-balling it.
tatterdemalion@programming.devOPto
Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ@lemmy.dbzer0.com•Best setup for Jellyfin + Dolby Vision TV?English
1·9 days agoUnfortunately I don’t see any mention of Dolby Vision Profile 8 support. My KODI box has an intel GPU.
tatterdemalion@programming.devOPto
Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ@lemmy.dbzer0.com•Best setup for Jellyfin + Dolby Vision TV?English
11·9 days agoI don’t think that’s the case. Whatever device is running the jellyfin client needs to support DV. So in my case, a Linux box running KODI cannot decode DV (because Linux has no DV support AFAIK), even though it’s connected to a TV that supports DV.
tatterdemalion@programming.devOPto
Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ@lemmy.dbzer0.com•Best setup for Jellyfin + Dolby Vision TV?English
2·9 days agoStremio at least has a Jellyfin plugin. Thanks I will add that to the list of options.
tatterdemalion@programming.devto
Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ@lemmy.dbzer0.com•Spotify and Major Music Labels Sue Anna’s Archive for $13 TrillionEnglish
2·10 days agoI assume they were literally the same mechanism, but AA just did it distributed across many accounts.
tatterdemalion@programming.devto
PieFed Meta@piefed.social•To all of those new to Piefed.social - welcome, and this post might be helpful
8·10 days agoGreetings from Lemmy.
tatterdemalion@programming.devto
Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ@lemmy.dbzer0.com•Spotify and Major Music Labels Sue Anna’s Archive for $13 TrillionEnglish
2·10 days agoI assume any contracts detailing the guarantees of Spotify’s DRM are clear that it’s not Fail-Safe.
tatterdemalion@programming.devto
Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ@lemmy.dbzer0.com•Spotify and Major Music Labels Sue Anna’s Archive for $13 TrillionEnglish
4·10 days agoThe article says they are seeking $150K per track, which is the maximum legal amount.
Not a senior dev thing, just a bad dev thing.
tatterdemalion@programming.devto
Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ@lemmy.dbzer0.com•for some reason, there are twitter accounts distributing movies in cloud storage rather than torrents.English
1·16 days agoIt is safer if it’s an HTTPS link.
tatterdemalion@programming.devto
Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ@lemmy.dbzer0.com•for some reason, there are twitter accounts distributing movies in cloud storage rather than torrents.English
71·16 days agoOh come on. What’s next?
“Child pornography is just a really big number, after all.”
“I didn’t murder anyone, I just rearranged some atoms. We’re all just really big collections of atoms after all.”
If you remove enough semantic layers, you can make anything sound benign.
I’m not anti-piracy, I just think these lines of argumentation are so flimsy as to be entirely worthless for the cause.
These days with language services, code should be compiling after nearly every edit.
tatterdemalion@programming.devOPto
Ask Lemmy@lemmy.world•So how are we going to organize a meaningful nationwide general strike?
2·21 days agoThere has to be some kind of organization in order to present a coherent list of demands. Otherwise we end up with another Occupy Wallstreet where half of the people in the movement can’t articulate what change they want to happen.
tatterdemalion@programming.devOPto
Ask Lemmy@lemmy.world•So how are we going to organize a meaningful nationwide general strike?
1·21 days agoI would love to strike for better pay, but I’m worried that particular demand will only spread us thin and make it harder to get leverage. Obviously things are so fucked that we could come up with an endless list of demands. I want to make sure such a list doesn’t explode and become a point of division.
That said, obviously a collective action is about the will of the people involved. So if there is a majority of strike participants that believes one of the demands should be related to pay (hopefully for increasing the minimum wage, not just raising the salaries of those already making 6 figures), that should be considered.





It was actually typed. Python had type annotations at the time.
I only wrote C++ very early in my career so I don’t remember much, but I’m sure I at least tried some inheritance in toy games I would write. All of that code was trash though by my standards today.