firelizzard

joined 2 years ago
[–] firelizzard@programming.dev 2 points 1 year ago

I used GitLab’s version of Copilot when it was free and that was net helpful. It predicted for loops and stuff and was close enough, enough of the time that it was net positive. Not enough that I’d actually pay for it…

[–] firelizzard@programming.dev 4 points 1 year ago

If I designed the schema it is most certainly going to be structured. Unstructured databases are awful.

[–] firelizzard@programming.dev 1 points 1 year ago

Sure, there are worse languages and environments to get stuck with. But I can avoid those jobs. And if I get hired as a SomeLang developer and they force me to work in Java or whatever, it’s time to dust off the resume.

[–] firelizzard@programming.dev 7 points 1 year ago (2 children)

I am aware of that, but Java is the most popular language that runs on the JVM. I don’t specifically dislike other JVM languages, though one of my issues is type erasure and that’s partially a limitation of the JVM.

[–] firelizzard@programming.dev 35 points 1 year ago (14 children)

Obviously OpenJDK is superior to dealing with Oracle's bull. But even more superior (IMO) is simply not using Java. My life has been noticeably more pleasant since I started refusing to touch Java.

[–] firelizzard@programming.dev -2 points 1 year ago (1 children)

You consider calculating the hash of a few bytes to be heavy lifting?

[–] firelizzard@programming.dev 2 points 1 year ago (4 children)

just use await in an async function.

Sure, I'll just put await and async everywhere. Oh wait, I can't. A constructor can't be async so now I need to restructure my code to use async factories instead of constructors. Wonderful...

[–] firelizzard@programming.dev 1 points 1 year ago (5 children)

async/await infecting all of my code, being unable to create a get myField() method that involves a hash calculation. It may be standard to do heavy lifting concurrently, but async hash functions are certainly not standard in any of the languages I've used (which is quite a few).

[–] firelizzard@programming.dev 4 points 1 year ago

That seems like a good guess, I can see why async hashing could be useful. But it would be nice if there was an alternative API that was blocking so my code wouldn't get infected with async/await all over the place...

[–] firelizzard@programming.dev 0 points 1 year ago

So you’re arguing that “Object oriented” shouldn’t apply to languages that are oriented around objects?

[–] firelizzard@programming.dev 2 points 1 year ago (2 children)

Of course, but OOP is typically about putting methods on classes, inheritance of behaviour etc.

You’re referring to one subtype of OOP. That may be what most people mean when they say OOP, but that doesn’t make it correct. Object-oriented programming is programming with objects, which does not require inheritance or classes.

[–] firelizzard@programming.dev 1 points 1 year ago

It’s hard to distinguish whether a line is wrongly indented or not.

That’s very much not my experience. I use YAML regularly and while I’ve had copy paste indentation errors when I look at the offending line it’s always obvious to me how to fix the indentation. The only indentation thing that’s ever given me trouble is embedding YAML as a string within a file that uses tabs.

view more: ‹ prev next ›