I once worked on a project doing firmware that a lot of people have likely used (printer firmware for a big-name company). One of the more trafficked functions was something like 1500 lines of “if-elseif-elseif…” with something like 13 or 14 different cases.
It did end up getting refactored to something polymorphic and based on a configuration file to cut out any unnecessary steps, but it was like that for a while before I got there, and was like that for most of the year that I was part of the project.
The same person as Daedskin@lemm.ee and Daedskin@programming.dev
- 0 Posts
- 2 Comments
Joined 5 months ago
Cake day: June 26th, 2025
You are not logged in. If you use a Fediverse account that is able to follow users, you can follow this user.


I was on Windows 7 until April of 2021, when I was taking a certification exam remotely, and didn’t find out that the software they used for it didn’t work on 7 until after I had paid the registration fee. Windows 10 was useable enough, but I never thought it was preferable over 7. Anyway, I’m on Bazzite now.