Avatar

SigmarStern

SigmarStern@discuss.tchncs.de
Joined
1 posts • 36 comments
Direct message

The thing is, I also want to query all possible colors. And that would then be in a different function so I’d have to change two functions whenever I add a new color and I don’t like that.

permalink
report
parent
reply

I heard about this, but I wasn’t sure it was the right way. Or if Rust developers just straight up avoid situations like this.

permalink
report
parent
reply

Fascinating. It has been a running joke in my bubble that no one ever picks up PHP voluntarily. It’s just everywhere.

I wouldn’t overthink it. Learn the languages you like. Learning an OOP language in depth is a good idea, but it doesn’t have to be Java. C# or even modern PHP also work fine.

permalink
report
parent
reply

In my experience, you learn a language and then you apply for a job that requires that language. So, if you don’t learn Java, you won’t apply for a Java developer position. You can go a whole career without touching Java.

Unlike PHP, which has the tendency to sneak up on you (never met a PHP programmer who chose to become one) Java will most likely not just come up if you don’t go looking for it.

permalink
report
parent
reply

If you go down the Java route you will probably end up working with enterprise/legacy software. If you are fine with that, do it. But what’s wrong with focussing on JavaScript as your main language?

permalink
report
reply

The YouTube algorithm is sometimes surprisingly good. Like “Listen to this band with 47 plays!” and then it’s a banger.

permalink
report
reply