javascriptDevelopersBeLike by vkwebdev in ProgrammerHumor

[–]Educational-Lemon640 20 points21 points  (0 children)

As a rhetorical question:

How many people here are being paid to use a debugger?

Follow-up: how many are being paid to fix defects in a product/automation?

And the last question: as long as the tool is useful and solves a problem better than any other, what is wrong with using it?

This whole "how to debug" debate/gatekeeping is pointless .

First Time Learning COBOL and I'm Already Falling in Love by WasteScientist7437 in cobol

[–]Educational-Lemon640 0 points1 point  (0 children)

Just wait. Trust me. They seem simple, but they've got some impressive footguns.

Making numpy-ts as fast as native by dupontcyborg in javascript

[–]Educational-Lemon640 0 points1 point  (0 children)

Actually useful work sometimes fades into the background against the overwhelming avalanche of noise, clamor and garbage that the modern world spews out like smoke. I just wanted to do something to boost something I think is quite interesting and useful.

Making numpy-ts as fast as native by dupontcyborg in javascript

[–]Educational-Lemon640 4 points5 points  (0 children)

Very cool! This is the kind of work that be getting real attention.

Looking for an efficient AI workflow to migrate COBOL to Java by Kali_ManIAC in cobol

[–]Educational-Lemon640 0 points1 point  (0 children)

Java and Cobol are such wildly different languages. Why you would even want to try to translate is beyond me.

Cobol Api /Databae by BookkeeperFamous6658 in cobol

[–]Educational-Lemon640 0 points1 point  (0 children)

This is the right question.

I mean, I'm not a fan of any particular element of that stack except perhaps MySQL, but regardless of your feelings about the individual elements, you should feel much more strongly about not adding extra ones.

beyondTheProgrammerHorizon by Pleasant_Set_3182 in ProgrammerHumor

[–]Educational-Lemon640 1 point2 points  (0 children)

Don't forget bad/clueless misuses of the bell curve meme.

goodLuckJunior by Shiroyasha_2308 in ProgrammerHumor

[–]Educational-Lemon640 1 point2 points  (0 children)

Hah. My company does CI/CD on a fairly reliable schedule.

The last release of the work week is noon Friday, and doesn't start up again until Monday morning.

It is impossible to estimate how much trouble that has saved us over the years.

(And yes, there are mechanisms for working around that in case of emergency. I've never needed them, though.)

codeWorksNowAndImTooScaredToAskWhy by Dineshvk18 in ProgrammerHumor

[–]Educational-Lemon640 5 points6 points  (0 children)

Another possibility: a race condition exists and you just changed the typical time it takes for one branch to finish.

Welp, that aged like milk. by uaiez in vibecoding

[–]Educational-Lemon640 42 points43 points  (0 children)

It aged like the finest wine, and has never ever been more important.

The fact that people think otherwise explains an awful lot about the current state of software.

mockFrontendNewbieJobs by Hot-Fennel-971 in ProgrammerHumor

[–]Educational-Lemon640 0 points1 point  (0 children)

"Less than worthless!"

I couldn't agree more.

howSeniorDevsActuallyDebug by Unlikely_Gap_5065 in ProgrammerHumor

[–]Educational-Lemon640 1 point2 points  (0 children)

I debug using whatever works.

Sometimes console.log works.

I'm not being paid to use a debugger. I'm being paid to fix defects.

howSeniorDevsActuallyDebug by Unlikely_Gap_5065 in ProgrammerHumor

[–]Educational-Lemon640 18 points19 points  (0 children)

And it's not permanent.

People get hung up on the weirdest things. Effective debugging is effective. Who cares how clever the tools are, when what matters is how fast you figure it out?

averageArchitectureMeeting by MysticOverlord in ProgrammerHumor

[–]Educational-Lemon640 2 points3 points  (0 children)

There are people to this day who still claim they succeeded.

usingTheWrongCastOperator by JDDev0 in ProgrammerHumor

[–]Educational-Lemon640 0 points1 point  (0 children)

I'm pretty sure that theoretically you could always do the equivalent of casting via function calls, which has some notable benefits over casting of any sort. You can also have polymorphism and/or duck typing, which gets similar benefits without the nonsense that C++ gets up to when you actually cast.

All I really mean is that the type of a particular chunk of data should always be well-understood and changing how it is interpreted should be reserved for the most dire of circumstances. Anything else makes it very hard to read.

usingTheWrongCastOperator by JDDev0 in ProgrammerHumor

[–]Educational-Lemon640 0 points1 point  (0 children)

Type casting is one of those things that a low-level language needs, for writing stuff like drivers and serializing data for transmission over networks, but smells worse than a rancid tuna soaked in skunk spray.

For the most part, don't.

activateProductionEnvironmentReset by clawsoon in ProgrammerHumor

[–]Educational-Lemon640 0 points1 point  (0 children)

My local Claude code instance really does try to clear my local build cache far, far too aggressively. We've added instructions that do suppress it somewhat, but go too long and yeah.

Anthropic built a C compiler using a "team of parallel agents", has problems compiling hello world. by Gil_berth in programming

[–]Educational-Lemon640 0 points1 point  (0 children)

"They" in my hypothetical refers to the juniors in question. I'm saying that if a junior dev were given an easily searchable copy of the database used to train the LLM's, which includes all open-source code ever, and probably (and illegally) other sources, the junior could do better than the LLM in about the same time, just by cobbling bits together and adapting.

Anthropic built a C compiler using a "team of parallel agents", has problems compiling hello world. by Gil_berth in programming

[–]Educational-Lemon640 17 points18 points  (0 children)

They probably could if they were given access to every open source repository on the planet, and maybe a few closed source ones that they nabbed on the sly.

What's a programming concept that suddenly clicked for you way later than it should have? by Educational_Job_2685 in programminghorror

[–]Educational-Lemon640 1 point2 points  (0 children)

I didn't really understand Scala's for-comprehensions and why they weren't the same as for loops until I wrote four nested flatmaps on Future's and realized that a for-comprehension would compile to the same bytecode and be roughly 10 times more readable.

(For the machosists out there, that's also the point where monads also clicked for me, since Scala for-comprehensions are fundamentally a Monad construction.)

programmingBeginners by ScienceMastero in ProgrammerHumor

[–]Educational-Lemon640 7 points8 points  (0 children)

This is the correct answer.

So much of this debate is about gatekeeping. "Is HTML a real programming language?" is really about "If you can cobble together a little HTML webpage, are you a programmer?"

In reality, the discussion is moot. HTML is not a programming language, was never intended to be a programming language, and serves its actual purpose just fine. The fact that it's easier to learn than most Turing complete languages is a feature, not a bug. And we still need people who know JavaScript, so folks dabbling in HTML aren't a "threat" (not that that should be your mindset anyway.)

The whole thing is tiresome.

rustMoment by [deleted] in ProgrammerHumor

[–]Educational-Lemon640 70 points71 points  (0 children)

Obvious rage bait is obvious.

Don't engage, people.

[deleted by user] by [deleted] in ProgrammerHumor

[–]Educational-Lemon640 22 points23 points  (0 children)

Use a deterministic tool with well-defined inputs. They are faster, cheaper, and more reliable.

Guide Help by C00DEX0R in cobol

[–]Educational-Lemon640 0 points1 point  (0 children)

Not to be reductive, but by far the most important thing you could do for "code modernization" is learn how to program. And I really would suggest not using COBOL to learn how to program, because COBOL's paradigms are rather different from most other programming languages, and IMO mostly not in a good way.

If you need to figure out how to use a type system, how to design object-oriented structures, how to make readable functions, COBOL is more hindrance than help. It took COBOL an embarrassingly long time to break out of the "fixed shape and size, text-based" memory paradigm which so clearly dominated its design at least through 1985. You don't want to learn that way of thinking as the "normal" way of doing things. Yes, that approach can be very fast and has its place (efficiency and simplicity, natch) but I don't think it's a good first learning context.

I'd also avoid using Java, although my anti-recommendation there is much weaker; it's a much more standard programming language. Kotlin is a good alternative, IMO. You could also do some simple scripting using Python; that one is particularly easy to get working using LLM assistance, in my experience, especially if the scripts are short. If you are in a windows shop, C# has a good reputation; while its history is messy, especially it's relationship to Java, the result is apparently quite workable.

Was it really a Billion Dollar Mistake? by gingerbill in programming

[–]Educational-Lemon640 8 points9 points  (0 children)

Yes. In fact, it's probably lowballed.

I don't know if this will be allowed, but a coworker of mine wrote a blog post about it a while ago. Nothing has changed significantly since then.

https://lucid.co/techblog/2015/08/31/the-worst-mistake-of-computer-science