|
Members in Shoutbox
None.
Shoutbox Search
Shoutbox Commands
/w [name] > Whisper
/r > Reply to last whisper /me > Marks as action Shoutbox Information
Moderators may delete any and all shouts at will.
|
Global Shoutbox
Please log in to shout.
[2015-11-19. : 6:38 am] CecilSunkure -- There's also an argument for large indentation, which might be separate from the tabs vs spaces debate, but still related. More indentation can provide incentive to keep scopes down to a minimum, thus making it more annoying to introduce too much abstraction.[2015-11-19. : 6:37 am] CecilSunkure -- Spaces are annoying when I prefer more indentation, since they aren't really displayed at variable size like a tab is[2015-11-19. : 6:34 am] CecilSunkure -- So, for most use-cases the point you made about a language having a preferred convention should fill in a lot of grey areas[2015-11-19. : 6:33 am] CecilSunkure -- Usually I enjoy when comments are on their own lines, not inline.[2015-11-19. : 6:30 am] Roy -- That's why the half-measure of elastic tabs exists, but it's still not an ideal solution.[2015-11-19. : 6:30 am] Roy -- Which becomes disasterous when people have aesthetic preferences like aligning method parameters vertically.[2015-11-19. : 6:29 am] Roy -- You're misunderstanding me, Cecil. IDEs can configure what width tabs will appear as, but they won't configure how many there are.[2015-11-19. : 6:28 am] Roy -- It's more like if you pop open the Chrome Developer tools, find a minified JavaScript file, and then hit the expand button which formats it.[2015-11-19. : 6:28 am] CecilSunkure -- Yes, it's one character to be displayed alas preferred. That is indeed the point of a tab.[2015-11-19. : 6:27 am] Roy -- No, that's not the idea of tabs. You still have a physical character per level of indentation.[2015-11-19. : 6:26 am] CecilSunkure -- That's the idea of tabs. Display at variable size as preferred[2015-11-19. : 6:25 am] Roy -- The dream is to someday have formatting be purely a local configuration, and for the actual source files to be minified.[2015-11-19. : 6:16 am] jjf28 -- RoyRoy shouted: But the tabs vs spaces war will never end. it ends when all the IDE's turn tabs into ~4 spaces[2015-11-19. : 5:45 am] O)FaRTy1billion[MM] -- unless you're doing a thing where you hit tab on an empty line and it will add as many spaces as the previous line[2015-11-19. : 5:44 am] O)FaRTy1billion[MM] -- actually I prefer 1 space, but then sometimes I see where that's bad and think about increasing to 2 but never do xD[2015-11-19. : 5:42 am] O)FaRTy1billion[MM] -- I have my IDE set so that if I hit tab it gives me the proper number of spaces[2015-11-19. : 5:42 am] O)FaRTy1billion[MM] -- newlines and spaces are for chumps who hate space conservation[2015-11-19. : 5:42 am] Roy -- I have someone at work that uses tabs for indentation when everyone else uses spaces. Sometimes merges get super ugly over whitespace.[2015-11-19. : 5:41 am] Roy -- That said, if there are clear conventions defined for a particular language, and you go out of your way to enforce contradictory conventions because you like the way some other language does it, you're being silly.[2015-11-19. : 5:41 am] O)FaRTy1billion[MM] -- like my friend and I decide for our project that indentation is to be this many spaces[2015-11-19. : 5:39 am] Roy -- Conventions are defined at various levels. The most important ones would be the ones enforced at a project level.[2015-11-19. : 5:38 am] O)FaRTy1billion[MM] -- RoyRoy shouted: Anyone who can't follow the convention for the language they're using is just being childish in their programming. who defines the conventions?[2015-11-19. : 5:37 am] O)FaRTy1billion[MM] -- Dem0nDem0n shouted: doesn't include braces for one-line if statements either I do that, sometimes .. depending on what it is![]() [2015-11-19. : 5:32 am] Roy -- Anyone who can't follow the convention for the language they're using is just being childish in their programming.[2015-11-19. : 4:31 am] Jack -- you can just use something like AStyle to reformat whatever code he gives you in a second anyway[2015-11-19. : 4:27 am] Jack -- Dem0nDem0n shouted: puts opening braces on new line even though Java convention is to keep it on the same line convention? I laugh at your convention, allman for the win![]() [2015-11-19. : 4:26 am] Jack -- Dem0nDem0n shouted: doesn't include braces for one-line if statements either get on his level scrub![]() [2015-11-19. : 4:23 am] Dem0n -- puts opening braces on new line even though Java convention is to keep it on the same line ![]() [2015-11-19. : 4:22 am] Dem0n -- mfw my TA writes the starter code for our project and doesn't put spaces between logical operators ![]() [2015-11-19. : 1:07 am] lil-Inferno -- Mini Moose 2707Mini Moose 2707 shouted: The 72 virgins are fighting the terrorists lel Are you talking about le Anonymous?[2015-11-19. : 12:33 am] BeatMeistro -- Also,i guess there's a few old mods that could be revised/updated.[2015-11-19. : 12:30 am] BeatMeistro -- Yeah,i mean it's one of those mods that not much people really got a hold of. I think... |
NudeRaider, SPyro_Malin