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
-
RTRMS37898yU will burn in the fires of coder hell, or as we all k now it. Making a dev code in notepad on windows xp.
-
Tab set to 4 spaces, one key press to satisfy tab-ers, and it's actually spaces to satisfy the spacers. You 2 spacers can get your shit straight.
And while we're at it, to the co-worker in my office that uses 3 spaces, I hope you smash your hand with a hammer. -
Tab = 4 spaces, is also acceptable.
To that psychopath @RTRMS that hates readable code. 2 spaces is the visual equivalent of having 16 devs on 1 desk all fighting for shoulder room trying to code.
For years everyone was fine with 4 spaces, just admit your mistake and come back to us, there's no shame in it, just stop this madness -
@metaory ... sure and while I'm at it, why don't I trade in this iPhone for an Android, or trade in my mac for a windo..... *shudders* ..... nope still not ready to joke about that one
... you get the idea ... not gonna happen -
eeeddr7418y@practiseSafeHex
I get that mac for Windows is a bad switch, but iPhone to Android? What are you, nuts?
All devs should use Android and since you have Mac trying Linux wouldn't hurt.
IOS is the dummies OS -
RTRMS37898y@practiseSafeHex you devs and your vs code, all that extra space wasted in an effort to make untidy long-winded code.
I'll use 4 spaced when Apple starts making real phones. -
@eeeddr Mac basically is Linux without all the driver issues, and gets supported versions of software. Why would I go backwards?
And Android? Jesus hold me back.
- Fragmented to fuck
- Hackable as fuck
- Bloated to fuck
- Slow as fuckity fuck
- Plug it in to charge and get fucked by projectile shrapnel -
Tabs. Get your semantics right. The sole purpose of the tab key is for indentation. Guess what spaces are for? Inline spaces... Stop this ridiculous age old battle and let logic sort this bullshit out. Tabs = indentation. Tabs = customising the size of your indentation. Tabs = you're not a fucking flannel. Spaces = an inconsistent mess of multiple keypress hell covered in old school dev mentality that presentation is for fairies. Code has to be readable, the dev experience has to be as frictionless as possible and spaces as indentation has to just fuck off!!
-
@RTRMS well it's atom actually. Just because it's easy to read doesn't make it long winded. 4 was the defacto standard in every language until Google started a new trend with 2. If it works for everyone else except js hipsters ... it's the way to go.
Real phones? Dude pull that shrapnel out of your eye from plugging in that Android. Among the 4 million other reasons why iPhones are better, have you ever seen the JavaScript benchmarks of iOS vs Android? 5 year old iPhones out performing brand new top of the line Androids. If memory serves I think the google pixel scored a 21 (and crashed twice) and my iPhone 7+ scored 111 -
RTRMS37898y@practiseSafeHex I have owned an iPhone, will regret that decision till the day I die, biggest steaming pile of shit I have ever owned. I will never some overpriced piece of crap where the manufacturer feels self important enough to limit even basic abilities to how they feel I should use it.
Its like writing code with ur hands behind ur back cuffed to ur balls.
Hell , the useless piece of crap cannot even display a gist page on its useless good for nothing default browser.
Why anyone with an actual brain would use one is beyond me, explains why you like all that excess white space -
I use 4 spaces but there are appropriate use cases of 2 spaces sometimes, such as JSON. I've also used two spaces for some JS projects just because it was the default on intelliJ
-
tahnik389918yFuck you all space users. Tab for life.
Try to understand just like other said. The sole purpose of Tab is indentation. -
tytho23168yI don't think I would mind 4 spaces, but I've got listing rules that don't allow lines longer than 80 characters. Once I'm tabbed in a few times I can barely instantiate any more variables
-
johnDoe32338y@RTRMS
Im with you on that. Sure android may be less secure for various reasons, many which can simply be prevented if your smart with your device.
The other thing I like about Android is that; Update actually improve your device, iOS updates degrade it. My current phone has gone from Android 4.4 to Android 7.0 now with custom ROMs, my iPad (released the same time as my phone) has gone from iOS 7 -> 10. The difference now is, the ipad is unbearable to use, slow, crashes, wifi issues; where as the Android has only gotten better. UI is more intuitive, faster, better battery life, lack of stability is basically a non issue anymore.
Plus, android is a hell lot more flexible, id rather have an OS that I feel I am in charge of, not a locked down system with limited capability.
Anyways, Tabs for days, no spaces -
BartBB6898yWhat the hell with this arguing.
Use whatever standard the current project requires. No one said you have to like it.
I personally prefer a 4-space TAB, but will use whatever format that is being used in the current project.
pfft, all you bloody 2 space indentation hipsters
4 spaces for life!
undefined
ain't broke don't fix it
4 spaces or die
just cause google says