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
-
AlgoRythm50139318dI know I’m not exactly adding to the conversation but I love snake case except for the fact that it takes up too much space. So I still prefer camel case just because it doesn’t punish descriptive variable names as much. But fuck me does snake case look way better and more readable. -
Lensflare20923318dLooks like your brain is slowly starting to heal from the damage that has been caused by js.
I‘m proud of you. -
lorentz15360318dRust is the absolute worst offender with names though, LINQ is pretty bad too but they at least imitated SQL. Rust borrows a ton of concepts from ML and Haskell and almost none of them by the original name, for no fucking reason. Unfortunately I also learned about these concepts with Rust so I have to constantly translate when I try to talk about the concepts on general. -
lorentz15360318dAnd the names don't even make sense. What the fuck is a FromResidual? Option already has like 20 different meanings in Rust, Maybe has 0. -
lorentz15360318dThe iterator transformations are well named, but as far as I'm concerned everything about iterators is basically perfect in Rust. -
12bitfloat10807318dAhh the plan is working.... slowly converting to the dark side... yes my padawan...
Related Rants

Some guys here might have read this...
missing rust's infinite loops in other languages now
also now I don't like variable++ and it throws me off
also missing iterators. because you can consume part of them and don't have to keep track that some of a list has already been "used up" so to speak. now I have index counters and laaame (granted not having to wrestle with borrowing rules... actually just strangely feels weird)
also why must languages have different naming conventions. this is a disaster now because my reflexes for what I name variables is all over the place. now I find snake_case more readable than camelCase because the letters are the same height so you can skim for names easier, and by how many words which correlates to how specific a variable is to the logical loops at hand
I guess end of the day we just develop a handwriting style in code our brains like and the idea of having to change your accent every time you switch a locale sounds annoying
random
rust
languages