T O P
I_Fux_Hard

Space. Fuck you non-spacer cringe.


wewilldieoneday

But....but no-space makes my program run fast /s


Erriis

Forgetting a semicolon makes the program stop even faster


woman_beating1

I agree, what is wrong with you non-spacers


Personal_Ad9690

Fuckyouspacercringe


Erriis

If you used camelCase I would’ve upvoted


Personal_Ad9690

That wouldn’t be proper grammar now would it


Erriis

If you think that’s bad formatting wait until you see my Repos


[deleted]

[удалено]


eggsallways

These aren't strings!


dev_daas

Blue. It's the law


dido04031983

No, red. doesn't mean i will have to follow if it happens to be law. I love breaking laws.


dido04031983

I already know people don't like being laws broken. well, that won't stop me from being engaged in illegal activities.


wrench1815

``` [ 1, 2, 3, 4, ] ``` Amateurs🙄


Johnrys

when your manager assesses your contribution based on the number of lines lol


will_delete_sooon

Prettier be killing me with this sometimes


SufficientCheck9874

Just add prettier ignore to the top of the file


will_delete_sooon

No because I want it to apply to the rest of the file


mem737

[1,_2,_3,_4] I_don’t_know_what_everybody_is_so_upset_about.


HumanMan1234

I will fuck your skull


oldfashionedcow

s/r skull//


GreatArtificeAion

Now, kiss


HumanMan1234

I like that hoodie


very_fat_redditor

Iwillfuckyourskull


TxTechnician

Spaces.


Syr0maniac

“Red


DomiNa7

"Red < blue" *


mariokamani

"Red < Blue" \*\*


keckothedragon

&&"Red < Blue"


just4nothing

kRed < kBlue


Logical_Parsnip_9042

Red < kkk


a1rsupp0rt

"red < blue" ***


davak72

Is it just me? I’d say Blue > Red


MultiFazed

Old-school-PL/SQL-inspired style: [ 1 ,2 ,3 ,4 ] Need to comment out an entry? No problem! [ 1 ,2 ,3 //,4 ] No need to remove the comma after the 3!


Mamuschkaa

That is something that did python right. You can put a komma after the last element .


Esjs

A feature passed down from Perl.


charlienotomatoes

Now comment the first element. Either way, you can "no problem" comment 3 of 4.


PublicDragonfruit120

Then you can't comment the first line. That's why golang enforces that every element which is followed by a newline has to have comma. [ 1, 2, 3, 4, ]


RedundancyDoneWell

How did this get upvoted? You are just moving the problem from the last line to the first.


FlyingRocketThings

Trailing commas are acceptable in Javascript.


frej4189

This is not the argument you think it is


FlyingRocketThings

>No need to remove the comma after the 3! I'm pretty sure it is.


68_65_6c_70_20_6d_65

Disgusting, haskellers do this with records


MemedanHemski

This if the array is longer than 3ish


Left-Increase4472

you want to comment smth out? [1, 2, 3 /*, 4*/] Edit how do I not got it to italicize I want the apostrophes to stay


Eternal_Weeb

Wrap it in single back ticks like this `[1, 2, 3 /*, 4*/]`. \`single line text`


LowTriker

In many ancient writing systems, every word was written right next to each other without spaces and very often with the direction of letters (or pictograms or whatever) running right to left on one line, then left to right on the next. The two greatest advances in writing were spaces and single direction writing. In that order. For the love of God and everything electric and holy, use spaces to be able to read and organize your code better. You may save a child's eyes one day.


WlmWilberforce

>.redrotahtnI.gnitirwnoitceridelgnisdnasecapserewgnitirwnisecnavdatsetaergowtehT Fixeditforyou


Personal_Ad9690

Even though I know what that says I still have to put in effort to read it.


WlmWilberforce

Its ok, I had to you some python to write it


Personal_Ad9690

lol that’s actually funny


LowTriker

Who needs secaps?? !!yugsihtton


WlmWilberforce

Also shell, with its case/esac and if/fi structure.


DeliciousWaifood

> The two greatest advances in writing were spaces and single direction writing. スペース?そんな事いらねえぞ。文の中には複雑な文字と簡単の文字を混在したら理解できる。残念ながら日本語がまだへたくそだ。


epsirad

Whatever the default formatter use


druhlemann

This is the answer.


CerealGane

i can see red being more practical but man, blue has my heart


IPeaFreely

What is practical about bleeding out from your eyes? 😄


whatuserwhatname

BLUE. Wtf. The Red side shorted my brain.


SymWizard07

Spaces, unless I’m writing Minecraft commands


Silicosis1

IDontUseSpaces


Wrong_Truth7719

iDontUseSpaces is what you meant.


ToxinH88

Depends, whether it is a variable or an Interface


DimensionRoyal4229

Why not make it nice to look at? I feel like you reach an 'old age' as a programmer, and it's a grumpy old age but it's one that prefers simplicity, readability and easy maintainability.


[deleted]

[удалено]


corpsebridegroom

Absolutely not. Please do not do this. The code looks like a punched card.


FixingOpinions

No, you monster.


grahamw01

This is the way


lepapulematoleguau

I was looking for this.


Hot_Conversation1930

Space is more important than anything in code!


RedundancyDoneWell

[1, 2, 3, 4, ] Just because I can.


RedstoneMonstrocity

Y


Cool_rubiks_cube

[ 1 , 2 , 3 , 4 ]


bearded_fellow_27

Leave the spaces, it's more readable. (An important concept for developing in teams.) In general, I don't worry much about spacing — unless it breaks the code — and let the linter tidy things up.


-elmuz-

\`black\` side


corpsebridegroom

I have never see non-space code other than from college students. Besides IDEs just do the "right" for you.


Disastrous-Beyond443

[ 1, 2, 3, 4 ] Thank you very much


Live-Animator-4000

[ 1, 2, 3, 4 ] Edit: Apparently Reddit collapses new lines


Separate-Reserve-508

[ 1, 2, 3, 4 ] You need spaces between the brackets and the numbers. Savages.


RedstoneMonstrocity

SPACES PLS.


PeteZahad

Same answer to all these questions: Whatever the coding style for the language says or the team agreed on for their codebase.


Unusual_Flounder2073

Randomly type shit. Then let linger fix it.


RedstoneMonstrocity

It seems, we have found a new way.


SubtleName12

That's more bytes man. You don't even know what you done, mayn


LowTriker

When people stop using four bytes of spaces for a single byte tab, I'll worry about too many spaces.


jasger9000

Nah the compiler will fix it anyways


Wrong_Truth7719

Spa pa pa pa paaaaaace bro


realgamer626

r/portal


Dannarsh

Half and half


TheOneThatWeCallKurt

1:4 MatLab


cosmin10834

``` [ 1 ,2 ,3 ,4 ]; ``` perfection was achived


Agile_Ad_2073

Just do whatever you want a shut up!!


arnaldo_tuc_ar

*Changes Requested*


sathucao

I randomly use space, or forgot to use one


SaverinOnRails

Loool


The-Arx

nospacesnocapitalizationnoformating


Gambit2422

i became blind


DefaultRedditor16

Guess I’ll die *jumps on red team*


Awkward-Cupcake6219

I would say that red people should be removed from our society to preserve its integrity and equilibrium


Kirk8829

I hate looking at a codebase where the dev didn’t put spaces. What kind of neanderthal writes I=5, it’s I = 5. Much more readable with spaces


butwhy12345678

Blue, red if I’m lazy


qqqrrrs_

It's the same picture


VejvodaAwaits

Depends on context, sometimes red can be more readable


ekul_ryker

Right


UpdateDev

Red all the way, saves you time, less spacebar 🔴🔴🔴


iStealP

No space should be made syntaxically wrong


thepr0digalsOn

Right side. Please.


PeekyBlenders

I type the red one, then do a simple ctrl+k+d and visual studio turns it into the nice blue one


HazirBot

just like im my house, i don't make the decisions. eslint decides for me


adl0ver

```js const troll = [`1`, `2`, `3`, `4`] console.log(troll[1], troll[2], troll[3], troll[4]) ```


ikonfedera

selectively inserting spaces so all my tables are aligned.


vladWEPES1476

On the side that uses an IDE with an auto formatter, so I don't have to think about that trivial shit and actually get work done. I'm not surprized ya'll scared to be replaced by GPT4.


DDT1604

Blue is the best


j-c-s-roberts

I put whitespace all over my code. I like it to look pretty.


EnzoM1912

It pisses me off when people do some with spaces and the others without. As in [1, 2,3 ,4,5]. My OCD screams


erickweil

[1, 2, 3, 4,]


TheGrimGriefer3

[1,ㅤㅤ2,ㅤㅤ3,ㅤㅤ4,]


PartyTerrible

Whatever prettier decides it should be.


kuurtjes

``` var =range( 1,4) ```


borubasz

[1 ,2 ,3 ,4 ]


dragonfodder1961

There, are, three, lights!


bobbane

(1 2 3 4) (SETQ X ‘(1 2 3 4)) In case the context wasn’t clear…


Lopsided_Gas_717

Are you even a programmer if your array doesn't start with 0. So the right answer is [0, 1, 2, 3]


[deleted]

Space


hanyacker

Always whitespace. Always.


Protato52

Blue


Protato52

What you should really ask is i++ or i ++


thetos7

Blue, your code needs to breathe


mental_atrophy2023

Spaces keep my eyeballs from melting.


RoboZoomDax

Whatever my linter prefers?


DazzlingReporter2907

Only spaces after primes???


Dazeeeh

Blue. Always.


frogking

[1 2 3 4]


Wojtek1250XD

Blue, spaces make your code far more readable


atomthedeveloper

If you're not on the blue side, you're not a true programmer


dbaugh90

I really have no preference on this one. The array is clearly legible because it is comma delimited, regardless of if there are spaces. Also, there's always going to be problem with one of the commas regardless of how you format it, if it doesn't allow one on the last line. I just copy whatever the last person did, or whatever I did last, on this one. As long as things are consistent. So am I MS-13?


ChChChillian

Whichever way the IDE automatically formats it. Seriously, why should I care?


ImmensePrune

[0, 1, 2, 3]


AbyssOfPear

whatever alt+shift+f does.


Relative-Ad-1213

literally depends on my mood


suvlub

\[1 2 3 4\] \- Clojure


verttia

I don't care. Ask my linter


bleistift2

Whichsideareyouon?


entity330

Stop letting meaningless decisions waste your time. Use the IDE to format files and stop thinking about how pretty code looks when a tool would just do it for you in half of a second.


KafkaesqueFlask0_0

Blue, since Blue gives me a clue that Red is dead.


samkawtikwar

I use spaces, because chat gpt does 😂


calozy123

red


m0ritz03

Whatever pleases the linter gods.


Sarmad_XD

Give me some space 🙌


Dave10301

Whatever I feel like at the time.


TantraMantraYantra

What's the point of arguing over formatting stuff that a keystroke can do.


[deleted]

Blue


Weird-Contact1800

[ 1 , 2 , 3 , 4 ]


ascii_heart_

[ 1 , 2 , 3 , 4 ]


mithodin

``` List.of(1, 2, 3, 4); ```


bmccorm2

Whatever prettify says - and prettify says blue :)


moje-miasto-jaslo

I'm pushing the cart


EclipseJTB

Whatever `black` tells me to use so my coworkers and I don't quibble over code style during PR review.


Space_D0g

I know a colleague who writes `[1 ,2 ,3 ,4]`. It annoys me so much.


digitalghost0011

Neither, `[1 2 3 4]` in Clojure


TheRealElijahV

No space is the only right answer


RoutineLingonberry48

Oh, NOW you all love spaces. No tabs between the numbers? Suddenly you're not so concerned about customizing how it looks on your screen?


feror_YT

Red is a blasphemy


puzzlenix

The linter says space. The linter gets what it wants (because it will block merge in CI).


Strange_Camp_9714

\[1, 2, 3, 4\]


DeepGas4538

I don't use literals, we are not the same.


AeskulS

If it’s ocaml, I prefer no spaces. Everything else should have spaces.


Tim4ik231

Blue


MrClayjoe

Blue all the way


ImDumbUIdiot

[ 1 , 2 , 3 , 4 ]


doc_1eye

[1,2,3,4] for numbers ["One", "Two", "Three", "Four"] for strings


Huggens

I let the D20 decide the white space. [1, 2, 3, 4]


tandonhiten

Blue


moon_shinesparkle

I like to use { 1, 2, 3, 4, 5, }


illyay

West side blue. Gonna do the cwalk to represent. 💪🤓🤙


robodudeable

But the damn spaces in you barbarian


Electrical-Sun-9353

[ 1, 2, 3,4 ,5 ]


johsua_banggg

[ 1, 2, 3, 4, ]


Lost_Pineapple_4964

[1 , 2 , 3 , 4]


benpasto

[ 1, 2, 3, 4 ]


agile_janitor

I use prettier.


hootoohoot

Testing in terminal? No space. Code for production? Space.


Lia_HQ

[ 1, 2, 3, 4 ]


joshuallewellyn

Imma crip and I used [1, 2, 3, 4]


AviatorSkywatcher

Blue. Blue is the way


LiberaTeMetuMortis

\[..."1234"\]


WarrenTheWarren

`(function(array,length){while(length){array.unshift(length--)};return array})([], 4).toString()`


Far_Reindeer4378

auto formatting does it for me🤙🏼


Pursholatte_original

blue side


HedgehogDense

Space. You savages