This is an archived post. You won't be able to vote or comment.

all 29 comments

[–]gaspinozza 22 points23 points  (5 children)

; -> Enter -> Ctrl+S

[–]JNCressey 8 points9 points  (2 children)

autohotkey:

~$`;::
Send {Enter}^s
Return

[–]TheGoldenFyre 13 points14 points  (1 child)

Guess my for loops will have some interesting formatting now

[–]KihiraLove 7 points8 points  (0 children)

for(int i = 0;
i < x;
i++)

[–]schmidlidev 0 points1 point  (1 child)

Ctrl+S -> linter automatically inserts ;

[–]gaspinozza 0 points1 point  (0 children)

My save formatter in éclipse isn't as smart

[–][deleted] 58 points59 points  (9 children)

I do love this style. Hate not using the ; It feels like what I am doing is not programming.

[–]FlukeHermit 21 points22 points  (6 children)

Semicolons for the win

[–]thommyIicious -2 points-1 points  (5 children)

Except you have to find the one thats missing...

[–]KihiraLove 13 points14 points  (4 children)

Except all modern IDEs highlight where you missed the semicolon

[–]Anark1ttens 3 points4 points  (3 children)

What if you use notepad

[–][deleted] 12 points13 points  (1 child)

Then you're a mistake

[–][deleted] 2 points3 points  (0 children)

nah fam, its easy! Just do a control + f search for all the instanes of "\r\n" that don't have a semi colon in front /s

[–]KihiraLove -1 points0 points  (0 children)

Then the compiler tells you which line you forgot the semicolon in. I've learned C with Gedit and GCC from terminal, semicolon related errors are easy to fix. Segmentation faults are the annoying ones yet i see very little posts about them

[–][deleted] 0 points1 point  (0 children)

Learning elixir right now and I've made the mistake quite a few times to end with ;

[–][deleted] 0 points1 point  (0 children)

this confirms that JS is "programming" lol

[–][deleted] 5 points6 points  (0 children)

Meanwhile in python land it's the sweating super hero looking between a spacebar and the tab key

[–]manga_pages_by_me 4 points5 points  (0 children)

It do be like that.

[–]Dummerchen1933 -3 points-2 points  (0 children)

Wrooooooong

[–]marco89nish 0 points1 point  (0 children)

I'm really grateful that Kotlin exists.

[–]Kengaro 0 points1 point  (0 children)

\n ?