The OFFICIAL programming thread
-
@Hog said in The OFFICIAL programming thread:
@Lob12 yeah you’re right.
I’m awarding this match to you and rescinding Gators’ earlier points.
I spelled it the fucking American way, not the commie metric way!!!
-
SUCKLE¡!!!¡!¡!¡!1!!
-
It should be squeeeeal.
-
It seems that every other developer that writes code I support has gone to the same school of programming. At that school, they must have taught that everything must be in one function. They must think that if you aren’t scrolling up and down 5 to 10 screen pages all of the time trying to see what the hell is happening inside a single condition then then you aren’t earning your pay. I fucking hate it.
Unless you are processing a bajillion records in a loop and can’t afford the overhead, modularize your code as soon as gets unwieldy so that method names and signatures explain the flow.
/rant
-
Guessing the code wasn’t unit tested either. On the bright side without programmers like that, you might not have a job.
-
Bit of an anti-rant but, this morning I refactored the behemoth method that led to the earlier rant. I was particularly impressed with how easy and clever the refactoring tools I used were so I sent out a meeting invite to demo the whole process to the 7 or 8 devs I regularly work with.
I titled the invite “Refactoring for fun and profit” and made everyone an optional attendee so I didn’t know how many (if any) would turn up. They all did and they were really impressed with the demo and a couple made comments like “the code is beautiful now”. So I’m pleased they were so receptive to it.
-
This is all I can add

-
The gorilla is bad at seeeeequel!
Had a similar situation many years ago in the early days of business computing. We connected MS Access, like one of the first versions, to our accounting system via ODBC because the system reports sucked ass. IT created credentials and didn’t worry about permissions so we had read/write access to the system database. A coworker was making a report and didn’t know Access very well, so she started deleting rows in the query output like it was Excel. The deletes passed straight through to the source system and after a while people from accounts payable started raging that vendor records had “disappeared”. Poor girl thought she was going to get fired that day.
-
@Gators1 Did she work at CRS by chance?
-
I was just installing an Eclipse theme and saw this which I liked:

-
the image above made me think of this one:

aww crap, i thought surely i could invert it here. doing so makes it look like a rocket ejection frm a P-38. i posted it thus years back in teH Anger in the OOBF, where it was good for a laugh.
-
We need this too! My morale is at rock bottom.

-
This is kind of interesting, especially thinking about how half-assed some of the thinking is about systems in my company. Basically Cox decides to put a bunch of functionality for a customer to control their own hardware in their account website and by doing so exposes those same capabilities to hackers via api calls.
-
Before TeamWare was completed, Larry continued developing NSElite, which would make the TeamWare team look bad: one guy with Perl was outpacing eight people with C++. The VP then told Larry, “This has been reported to Scooter (Scott McNealy, Sun’s CEO). If you release it again, you’re fired.”
Urgh.
-
Love this. 25 year old bug that is fixed in the most recent Firefox release:
There’s been activity on that bug report nearly every year since it was created in August 2000. I assume they had to wait for the chosen one to be born, grow up and graduate college before joining the Firefox project to fix it.
-
I have a Firefox scaling bug somewhere that hasn’t been fixed for decades
-
Maybe that chosen one is you? Fixing some old ass code seems easier that pulling a sword out of a stone and ruling filthy England for the rest of your life.
-
@Poo, let’s write some OSS government software that will secretly transfer all of Tigger’s Nazi gold to us!!! We will be rich!!!
-
This is the tech job market today.

-
Has AI hype jumped the shark yet? It must be close with this:
As mentioned, LLMs have emerged as a game-changing solution for mitigating the risk of technical debt. AI has made enormous strides in understanding and generating text, and with its ability to process and produce human-like responses, it’s evident that LLMs can be integrated with existing codebases and ticketing platforms to create self-healing code.
Self-healing code! Stupid humans can’t write self healing code!
Maybe the good stuff is still coming but I’ll be less cynical when I experience an LLM generate a non trivial code example that wasn’t broken in some way or other.
