Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
dmonkey23274y"The higher you soar, the smaller you appear to those who cannot fly"
Nietzsche is a good source for quotes -
wHy tHe hEll aRe yOu uSing REGISTER for eVeRy VaRiAbLe? Poor compiler lol
Still, the writing looks nice tho. -
@OmerFlame
Looks more like hate to me. She used it for writing C code after all... -
I love you guys. You’re great. I actually like C, though. It’s one of my favorite languages, though I prefer not having to do manual garbage collection and memory allocation. Learning Go atm, and am enjoying it so far. :)
I copied the indentation from the source I used for the code, that’s not the indentation I would generally use. ;)
Though I like that it’s an example of a time where fall-through is actually useful! (Relatedly, I really like that fall-through isn’t possible without specifically using a fallthrough keyword in Go). -
@Ranchonyx Yeah, the register keyword keeps variables on registers. But you have to have a real reason to do so. The compiler takes charge of register allocation by itself.
-
@010001111 That depends... is the aforementioned hand still attached to my person?
Related Rants
I couldn’t think of a quote to do, so decided to do a function instead. Duff’s device! (You know, in case you ever wanted a scenario where fall through in a switch makes sense)
random
why not
code
calligraphy