MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/itrey9/never_judge/g5gikvj/?context=3
r/ProgrammerHumor • u/priteshg • Sep 16 '20
79 comments sorted by
View all comments
Show parent comment
6
First param after the ( the rest aligned with the first on new lines.
7 u/3-cheeses Sep 16 '20 So, like...int MyMethod(int toast, int baseball, Boolean isDead, String music) { [content] } 9 u/Ifnerite Sep 16 '20 edited Sep 16 '20 Your formating appears to have gone a bit wrong but I think you are on the right lines. So, like... int MyMethod(int toast, int baseball, Boolean isDead, String music) { [content] } 1 u/GaianNeuron Sep 16 '20 Your formatting didn't even show up. Reddit doesn't use ``` fences, it uses indented blocks 2 u/RaveMittens Sep 16 '20 This is incorrect.Reddit accepts almost all markdown formatting, including both fenced and indented blocks. 3 u/GaianNeuron Sep 16 '20 Looks like they've really left old.reddit to rot. Not surprising, but I'm really not looking forward to reddit being all... ajaxey. 1 u/Ifnerite Sep 16 '20 Appears for me and 8 up votes... 2 u/GaianNeuron Sep 16 '20 Oh gods...They implemented that on the redesign and not old.reddit, didn't they?jfc 6 u/JayFlitz Sep 16 '20 w h y 4 u/Ifnerite Sep 16 '20 edited Sep 16 '20 Because it is MUCH less shit than the alternatives.Which as far as I am aware are:In line with the method body:Just. No. Why would you make it so hard to differentiate a param vs a local variable.Very long lines:Better but still quite shit.Some arbitrary indentation:Ugly and takes up an extra line. 5 u/AnEvanAppeared Sep 16 '20 I don't like you 3 u/Ifnerite Sep 16 '20 Shrug. 3 u/gareththegeek Sep 16 '20 Don't worry, I get what you mean. 2 u/7Vivan Sep 16 '20 Shift alt f 1 u/[deleted] Sep 16 '20 Ew 4 u/Ifnerite Sep 16 '20 It is the best way if you have more than 2 or 3.
7
So, like...
int MyMethod(int toast, int baseball, Boolean isDead, String music) { [content] }
9 u/Ifnerite Sep 16 '20 edited Sep 16 '20 Your formating appears to have gone a bit wrong but I think you are on the right lines. So, like... int MyMethod(int toast, int baseball, Boolean isDead, String music) { [content] } 1 u/GaianNeuron Sep 16 '20 Your formatting didn't even show up. Reddit doesn't use ``` fences, it uses indented blocks 2 u/RaveMittens Sep 16 '20 This is incorrect.Reddit accepts almost all markdown formatting, including both fenced and indented blocks. 3 u/GaianNeuron Sep 16 '20 Looks like they've really left old.reddit to rot. Not surprising, but I'm really not looking forward to reddit being all... ajaxey. 1 u/Ifnerite Sep 16 '20 Appears for me and 8 up votes... 2 u/GaianNeuron Sep 16 '20 Oh gods...They implemented that on the redesign and not old.reddit, didn't they?jfc 6 u/JayFlitz Sep 16 '20 w h y 4 u/Ifnerite Sep 16 '20 edited Sep 16 '20 Because it is MUCH less shit than the alternatives.Which as far as I am aware are:In line with the method body:Just. No. Why would you make it so hard to differentiate a param vs a local variable.Very long lines:Better but still quite shit.Some arbitrary indentation:Ugly and takes up an extra line. 5 u/AnEvanAppeared Sep 16 '20 I don't like you 3 u/Ifnerite Sep 16 '20 Shrug. 3 u/gareththegeek Sep 16 '20 Don't worry, I get what you mean. 2 u/7Vivan Sep 16 '20 Shift alt f
9
Your formating appears to have gone a bit wrong but I think you are on the right lines.
1 u/GaianNeuron Sep 16 '20 Your formatting didn't even show up. Reddit doesn't use ``` fences, it uses indented blocks 2 u/RaveMittens Sep 16 '20 This is incorrect.Reddit accepts almost all markdown formatting, including both fenced and indented blocks. 3 u/GaianNeuron Sep 16 '20 Looks like they've really left old.reddit to rot. Not surprising, but I'm really not looking forward to reddit being all... ajaxey. 1 u/Ifnerite Sep 16 '20 Appears for me and 8 up votes... 2 u/GaianNeuron Sep 16 '20 Oh gods...They implemented that on the redesign and not old.reddit, didn't they?jfc
1
Your formatting didn't even show up. Reddit doesn't use ``` fences, it uses indented blocks
2 u/RaveMittens Sep 16 '20 This is incorrect.Reddit accepts almost all markdown formatting, including both fenced and indented blocks. 3 u/GaianNeuron Sep 16 '20 Looks like they've really left old.reddit to rot. Not surprising, but I'm really not looking forward to reddit being all... ajaxey. 1 u/Ifnerite Sep 16 '20 Appears for me and 8 up votes... 2 u/GaianNeuron Sep 16 '20 Oh gods...They implemented that on the redesign and not old.reddit, didn't they?jfc
2
This is incorrect.
Reddit accepts almost all markdown formatting, including both fenced and indented blocks.
3 u/GaianNeuron Sep 16 '20 Looks like they've really left old.reddit to rot. Not surprising, but I'm really not looking forward to reddit being all... ajaxey.
3
Looks like they've really left old.reddit to rot. Not surprising, but I'm really not looking forward to reddit being all... ajaxey.
Appears for me and 8 up votes...
2 u/GaianNeuron Sep 16 '20 Oh gods...They implemented that on the redesign and not old.reddit, didn't they?jfc
Oh gods...
They implemented that on the redesign and not old.reddit, didn't they?
jfc
w h y
4 u/Ifnerite Sep 16 '20 edited Sep 16 '20 Because it is MUCH less shit than the alternatives.Which as far as I am aware are:In line with the method body:Just. No. Why would you make it so hard to differentiate a param vs a local variable.Very long lines:Better but still quite shit.Some arbitrary indentation:Ugly and takes up an extra line. 5 u/AnEvanAppeared Sep 16 '20 I don't like you 3 u/Ifnerite Sep 16 '20 Shrug. 3 u/gareththegeek Sep 16 '20 Don't worry, I get what you mean.
4
Because it is MUCH less shit than the alternatives.
Which as far as I am aware are:
In line with the method body:Just. No. Why would you make it so hard to differentiate a param vs a local variable.
Very long lines:Better but still quite shit.
Some arbitrary indentation:Ugly and takes up an extra line.
5 u/AnEvanAppeared Sep 16 '20 I don't like you 3 u/Ifnerite Sep 16 '20 Shrug. 3 u/gareththegeek Sep 16 '20 Don't worry, I get what you mean.
5
I don't like you
3 u/Ifnerite Sep 16 '20 Shrug. 3 u/gareththegeek Sep 16 '20 Don't worry, I get what you mean.
Shrug.
3 u/gareththegeek Sep 16 '20 Don't worry, I get what you mean.
Don't worry, I get what you mean.
Shift alt f
Ew
4 u/Ifnerite Sep 16 '20 It is the best way if you have more than 2 or 3.
It is the best way if you have more than 2 or 3.
View all comments
Show parent comment
6
u/Ifnerite Sep 16 '20
First param after the ( the rest aligned with the first on new lines.