Joined devRant on 3/20/2019
Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple APILearn More
@Taqriaqsuk But you have to use shitty insecure devices and use Java. No one deserves that.
Allman is clearly the best for readability.
'Seeing' scope as you scroll down makes it so much clearer.
Indenting isn't a problem with a half-decent IDE
But 1TBS / K&R is just vile to look at. The scopes are lost.
And I'm a C / C++ programmer. Never (would) touch Java, even with a shitty stick.
I'm now in macOS / iOS land, and I still want to punch whoever it was at Apple that forced 1TBS. I can't even get the damn IDE to adopt Allman.
But then my coding style is to have 3 blank lines between every method / function and have all grouped assignments vertically justified.
@devios1 Yeah, the whole 'debugging' is pointless thing he said is a real issue. Good luck.
Love your blog / rants btw. :)
What did you do?
And it's still better than mid grey text on white.
@stijnie2210 Hitting yourself in the head with a hammer whilst having your genitals eaten by a rabid dog is better than Java.
Your comment doesn't add anything to the conversation.
Utterly agree. I loathe Swift and especially Optionals.
The original concept was it was supposed to be easier to read and write than Obj-C right?
Well if you can typealias everything to nothing common, then assign methods to variables and lose compiler help in inspecting parameter arguments, and then have to have bloody ? and ?? and ??? and !!!'s everywhere, and then add in type inference, the whole fucking code looks like some kind of lesson in obfuscation!
Most programmers are lazy and a few think they're clever when they're not; this leads to 'tiny' and unnecessarily condensed code in the IDE that the compiler is going to optimise anyway, and makes code sharing a fucking nightmare.
I miss Obj-C; hell I miss C++