Faresh

joined 2 years ago
[–] [email protected] 6 points 3 weeks ago (1 children)

Comments are super useful but soooo overused

I think overusing comments is a non-issue. I'd rather have over-commented code that doesn't need it, over undocumented code without comments that needs them. If this over-commenting causes some comments to be out of date, those instances should hopefully be obvious from the code itself or the other comments and easily fixed.

[–] [email protected] 25 points 3 weeks ago

I think the joke is that there's indeed unequivocally just three, and that one of them still says four despite that fact, contradicting the readers expectations who normally for this format expects the middle thing to be something that changes with perspective (eg. 6 vs 9)

[–] [email protected] 5 points 4 weeks ago* (last edited 4 weeks ago)

you’re not usually directly accessing/working on the hardware

I mean, you are. Sure, there's a layer of abstraction when doing tasks that require the intervention of the kernel, but you are still dealing with cpu registers and stuff like that. Merely by writing in assembly you are making your software less portable because you are writing for a specific ISA that only a certain family of processors can read, and talking with the kernel through an API or ABI that is specific to the kernel (standards like Posix mitigate the latter part somewhat, but some systems (windows) aren't Posix compilant).

[–] [email protected] 54 points 4 weeks ago* (last edited 4 weeks ago) (3 children)

Writing it in assembly would make it pretty much the opposite of portable (not accounting for emulation), since you are directly giving instructions to a specific hardware and OS.

[–] [email protected] 1 points 4 weeks ago

Thanks! Yeah, typescript was just an example that I gave because it was made to tackle the perceived problems in javascript. I never used it myself and just mentioned it to explain the idea I was getting at.

[–] [email protected] 15 points 1 month ago (4 children)

Btw, what is a non-local RSS reader? I have come across multiple that RSS readers that advertise being "self-hosted" and I'm confused about that since in my mind RSS readers are simply clients that periodically query different servers for an .rss file, so I'm confused about where there is anything to host besides the host of the .rss feed.

[–] [email protected] 1 points 1 month ago* (last edited 1 month ago) (3 children)

I recognize you and your profile picture from some quite popular Luanti mods. :D I have a question regarding making content for Luanti:

I've been interested in maybe some day making a game for Luanti, but I don't really like Lua (I for example imagine that undefined variables evaluating to nil rather than directly throwing an error, identifiers by default being public, and absence of static checking of possibility of null dereference before runtime to be things that can cause quite some annoying bugs). Is there some popular X to Lua transpiler that you've heard people using? Something like what Typescript is to JS or Kotlin/Clojure/Scala to Java (not exactly the same thing since they all compile directly to jvm bytecode rather than java, but you get the point).

I hope I'm not insulting you by asking such a question.

[–] [email protected] 1 points 1 month ago

Yeah I also never reached the end, though I imagine if playing multiplayer, with enough players and time, that then at some point there won't be any untouched land.

[–] [email protected] 37 points 1 month ago

Potentially?

[–] [email protected] 3 points 1 month ago

I'm sure it will once the website has been changed and new players begin calling it that.

[–] [email protected] 3 points 1 month ago (1 children)

I'm so confused when people say that. It's a short name without any difficult consonant clusters. What in it doesn't roll off the tongue?

[–] [email protected] 5 points 1 month ago

I like my toots.

view more: ‹ prev next ›