Oh yeah. Peak reddit years lol. Before the corporate enshittification.
Lemmy is good fun though, I definitely appreciate it.
Oh yeah. Peak reddit years lol. Before the corporate enshittification.
Lemmy is good fun though, I definitely appreciate it.
Remember on reddit when we used to upvote an image with a completely unrelated word because we thought it’d be funny if the image popped up in a google search?
I like dragging the card to the “Ready for demo” slot :3
I hear ya. As always, it’s a balance between having functions that are too long, and many too small functions. Matter of team preferences too.
That makes sense.
You make some great points. Using smaller functions and breaking up your code in readable bits makes a huge difference and you will likely never need comments if you do it right 👍🏻
I understand what you’re saying and I mostly agree, but those few instances where a line of code is only slightly different and the comment is the same, can really be confusing.
It’s not that deep. It looks nice, and is easy to understand.
Yes- exactly, they make comments wrong. But comments aren’t always a waste of time, like in legacy code, or just in general code that isn’t gonna change (mathematical equations too)
Fair. I guess in this case, it’s a manner of gauging who you’re working with. I’d much rather answer a question once in a while than over-comment (since refactors often make comments worthless and they’re so easy to miss…), but if it’s a regular occurrence, yeah it would get on my nerves. Read the fuckin name of the function! Or better yet go check out what the function does!
Well, it literally is a yes man, it guesses what words are the most appropriate response to the words you said.
I mean, boolean short circuit is a super idiomatic pattern in Javascript
Yeah. I advocate for self explanatory code, but I definitely don’t frown upon comments. Comments are super useful but soooo overused. I have coworkers that aren’t that great that would definitely comment on the most basic if statements. That’s why we have to push self explanatory code, because some beginners think they need to say:
//prints to the console
console.log("hello world");
I think by my logic, comments are kind of an advanced level concept, lol. Like you shouldn’t really start using comments often until you’re writing some pretty complex code, or using a giant codebase.
Yeah, sure, and everyone is entitled to their opinion on this matter, but the fact is, as a public figure, you risk a LOT by saying such a thing.
“Version numbers could be [dead]”
… Do they think version numbers don’t have a purpose, or that they’re just for marketing? It’s pretty helpful to know breaking changes vs non-breaking changes in a version number
Meh, it’s not like the data is monitored by people, it would probably just be like dropping a needle of bad data in a haystack of automated data.
Most of the stuff here can be avoided by using quotes for strings…
Yeah but Haskell is mostly used by mathematicians…
YouTube music used to be good when it was Google music. But i think the app has been improving YouTube music is becoming better.