Show newer

@wolfbro No, it's always like that

Also always pronounce contracitons. Sérðu instead of sér þú

One maybe contrary thing is men add "a" in a lot of places like "sema er þannig" instead of "sem er þannig"

@beardalaxy @matana Isn't that mainly the mannequin thing? I think it's more themes of him being sexually frustrated while his wife was sick than rape

@ryo Wtf is the point of Pokémon without sexually attractive 10yo girls in skirts?

@matana @beardalaxy At least Silent Hill 2 definitely isn't. If you care about spoilers don't look at the next bit

efiw sih dellik eH

@fugger It's mainly a bug and readability thing. Compilers can always check if you're changing the value or not

@fugger I think variable shadowing is in basically everything

I dislike immutable by default because it's an extra keyword for the majority of variables while I've never had a bug ever occur from accidentally changing a variable that should have been const, plus, you'd probably define it mut out of habbit anyway. It feels like something mainly made for corporations with a billion people working on one codebase

You mean that every statement is an expression? Seems cool and useful but also a bit confusing. Seeing an if statement and not knowing whether it's "doing" or "returning" something

DUB package manager. It's pretty similar to cargo. dub add package, dub run

cent and ucent types

Generally with DMD too, bit less so with the clang and GCC versions

The ecosystem is the main thing that D really lacks. It's made by Walter Bright whereas rust is made by Mozilla and Go by google so it's hard to compete for attention

D lets you use @safe and they're introducing @live for borrow-checking

@fugger The symbol soup is hard for me to type because Icelandic keyboards move all the programmer symbols to altgr combinations

I see you're learning Jap and Русскйи, you American?

@fugger There was a time I even added them to if statements in Lua. Now I'm pretty used to either. I still add them when I do rust though

@fugger Yeah, I can respect that

For simple things like this I'd actually just use Lua. When I need very fast parallel processing I use C and OpenMP. When I need something simple but low-level it's D. When I need something async It's JS or Luvit

@fugger If stdin is closed such as from a ctrl-d read() returns 0 immediately so you get an empty string, otherwise you always have at least a \n

Idk how the rust code handles that

>not a fan of garbage collectors
I thought you liked Go, it's garbage collected. You can disable it in D but then you have to write things a bit more like rust

@fugger @iska@mstdn.starnix.network I'll suck on some JS (joshi shougakusei) instead

@iska@mstdn.starnix.network @fugger That's pretty standard tho. It's even basically Lua or D

local n = io.stdin:read("L")
string n = stdin.readln()

@fugger See, I don't get why you call this comfy. Similar D code with similar performance and memory-safety would be so much comfier and so much easier to read

Show older
Game Liberty Mastodon

Mainly gaming/nerd instance for people who value free speech. Everyone is welcome.