The Joys Of Programming

But then today I had to work on some of that legacy code and this app is just a pain in my ass. MVC and MVVC patterns require a certain degree of abstraction but this code is such a weirdly abstracted mess that I can't make heads or tails of it. Like, it's a nightmare even stepping through it in a debugger.

Quintin_Stone wrote:

But then today I had to work on some of that legacy code and this app is just a pain in my ass. MVC and MVVC patterns require a certain degree of abstraction but this code is such a weirdly abstracted mess that I can't make heads or tails of it. Like, it's a nightmare even stepping through it in a debugger.

Lol, debugger. Try on embedded where you feel like you might as well be a step above punch cards at times. Stupid reliable devices.

lunchbox12682 wrote:
Quintin_Stone wrote:

But then today I had to work on some of that legacy code and this app is just a pain in my ass. MVC and MVVC patterns require a certain degree of abstraction but this code is such a weirdly abstracted mess that I can't make heads or tails of it. Like, it's a nightmare even stepping through it in a debugger.

Lol, debugger. Try on embedded where you feel like you might as well be a step above punch cards at times. Stupid reliable devices.

Debugging from just logs sucks. I did that for quite some time with C++ programs on Navy ships.

I'm no stranger to debugging from logs. Customers aren't too receptive of running a debugger on their production server.

That's why you run the debugger locally, and connect into their live processes from remote. Totally safe and secure!

From a recent Daily WTF: if you've ever wondered why you occasionally got an XCOM mission with "Chicken" in the title, this is why.

(not exactly current news, but Daily WTF works with what they get)

Elon ranking programmers by lines of code in commits. Holy f*ck. That's like measuring managers by e-mails sent.

Mixolyde wrote:

Elon ranking programmers by lines of code in commits. Holy f*ck. That's like measuring managers by e-mails sent.

You couldn't pay me (or apparently any engineer) enough to jump into Twitter right now. Nobody that has more than 1 year experience wants to go into a "HARDCORE" project. I thought that kind of bullsh*t went out with the Brogrammer Rockstar.

Really? Based on conversations with friends I have working at major tech companies, the ‘spend all your time working on our project (that you’ll never see any actual returns on)’ tech bro culture is alive and well.

Mixolyde wrote:

Elon ranking programmers by lines of code in commits. Holy f*ck.

*cracks knuckles*

Boys, I'm finally 'bout to become that 10x developer of myth and legend.

Enter key, are you ready? Some of these lines look like they need... breaking.

IMAGE(https://media.giphy.com/media/v9rfTQBNqdsSA/giphy.gif)

I love stuff like this.

One of my earliest jobs was when I was brought in (as a contractor) around 1992 to fix the software for some military test equipment. It was brutally misusing some early visual test interface software that ran on VMS, with thousands of lines of largely duplicated Ada code.

By the time I was done with it, the product contained about one third of the SLOCs it had when I started, but it worked.

I guess I'm not hardcore enough for Elon.

Safely deleted code is a much better measure of a good programmer.

Hrdina wrote:

By the time I was done with it, the product contained about one third of the SLOCs it had when I started, but it worked.

There's a famous Bill Atkinson story along those lines.

*Legion* wrote:
Hrdina wrote:

By the time I was done with it, the product contained about one third of the SLOCs it had when I started, but it worked.

There's a famous Bill Atkinson story along those lines.

Yeah, management stopped asking me for SLOC counts, too.

They still do overall counts for the product because we have to report that to the customer.

Advent of Code 2022 has begun. Anyone else playing?

merphle wrote:

Advent of Code 2022 has begun. Anyone else playing?

I'll try to do as many as I can this year.

I probably will skip out, but the Perl Advent calendar is up and going again as well, https://perladvent.org/2022/2022-12-...

yay, Day 1 down in less than a hundred tries Im bad at this. (Ok it was like 6, and I built a class for Elf that I hope I get to extend in future days)

If I were judged on total lines of codes added, I'd have been fired from every job I've ever had, based on the number of times I've refactored tens of thousands of lines down to a few dozen. Checked my current repos, and I'm at about -47,000 across all our projects.

merphle wrote:

Advent of Code 2022 has begun. Anyone else playing?

I'm in. Shall we create a GWJ leaderboard?

EDT: NM. I see the one from last year is still active. I shall be using Python with Visual Studio 2022 as my IDE this year.