last day (17 days later) » 

user142019
9:37 PM
fr1st
 
user142019
Tabs suck, too.
 
shitty room
 
user142019
No.
 
"\t\t\t\t\t"
 
user142019
    this room is awesome.
 
9:38 PM
\t\t\t\t\t\t\t\t\t\t\n\n\t\t\n
 
Damn it.
 
\ttab all the things
 
Why do I keep cliking on liiinnnkkksssss
I'M OUT, BITCHES
 
user142019
Anyone at work?
 
Yep
 
user142019
9:38 PM
Dammit.
 
I'll leave, 'sokay
 
Tabs suck.
5
Spaces suck.
 
user142019
Boobs don't suck.
 
Wait, why would that break alignment?
 
Ell
Oooh
I just came in here
 
9:46 PM
Cat, the idea is that you use spaces for alignment for things that are tabbed the sa--OH GOD, THE ROBOT JUST TOOK MY LEG OFF.
 
user142019
@Ell That sounds so wrong.
 
Ell
but srs they are grossly large
 
user142019
That sounds even more wrong.
 
Ell
Anyway. Tabs for indentation, tabs only go at the start of a line. that is all
 
9:47 PM
2 messages moved from Lounge<C++>
 
user142019
No.
 
user142019
Spaces.
 
user142019
Never use tabs.
 
user142019
Tabs should be syntax errors.
 
Ell
Why?
 
user142019
9:47 PM
Because tabs are bad.
 
Ell
Tabs mean the programmer can use their preferred number of spaces
 
user142019
Tab width is not the same everywhere.
 
user142019
Spaces is always one space wide.
 
but I luuurve tabs. As long as tabs are used intelligently.
 
Ell
@Zoidberg exactly
 
9:48 PM
Fuck EVERYTHING ABOUT THIS ROOM!!!
 
user142019
Tabs may be one space or two or four or eight or whatever spaces wide, which makes them fucking terrible and annoying.
 
Ell
if you use spaces and your co-workers don't like 4 spaces, tough!
if you use tabs, they can be aesthetically pleasing for everyone
and if you use them only at the start of a line (aka for indentation), then they cause no trouble
 
user142019
They do.
 
Ell
What trouble?
 
user142019
The presence of tabs.
 
9:49 PM
I think they can coexist.Use tabs for indentation, and spaces for alignment on same level/block. Less effort and nicer, I think. And, of course, as Ell says, you can have the indentation your preferred style. Either this, or use tabs and convert it to spaces using an IDE, but that is not really reversable.
 
int foo(int a,
        int b,
        int c) {
    // indent with tabs, change tabstop, SHUT UP ABOUT FUCKING ALIGNING SHIT WITH TABS FOREVER
}
 
user142019
Use four space indentation and 79 columns max.
 
And no, spaces won't help you there
Tabs + spaces will break even more
 
But cat, that's not indenting, that's alignment, so you use spaces there. That doesn't break Ell's rules
 
lol
 
user142019
9:50 PM
@user190929 how is it less effort.
 
You must like changing editor settings every 10 seconds
 
user142019
Tabs and spaces are equal amount of effort in any decent editor.
 
Kill all Tabs in the name of Emacs!
 
"Oh no wait you're not supposed to insert tabs here, spaces must go here"
 
Well, I can either press tab once, or press space four or more times. Maybe it is me.
 
Ell
9:51 PM
@Zoidberg if so, why are you fighting for spaces?
 
"Oh no next line is not spaces it's tabs"
 
user142019
HAHAHAHAHA
 
user142019
If you press space four times you're a fucking idiot.
2
 
user142019
Use a decent editor that inserts four spaces when you hit tab key.
 
I think it does.
 
user142019
9:51 PM
Problem solved.
 
Ell
@CatPlusPlus it's fairly clear when to use tabs if you follow my rule, tabs when you enter a new scope. or it's just obvious anyway]
 
@Ell Are you indenting shit manually
Are you using hex editor to edit your files too
 
Use a decent editor that inserts spaces to the next tab-stop
 
Ell
@CatPlusPlus yeah? o.O
 
user142019
Follow PEP 8.
 
9:52 PM
Jesus
 
user1182183
well ya all moved to here, c++ room is dead now. So I'm joining
 
user142019
It says four spaces.
 
You're even worse than I thought
 
user142019
So, four spaces.
 
Ell
@CatPlusPlus for manually indenting?
 
9:52 PM
Also hahahaha no fuck 79 columns
 
I mean, if we are all pressing tab to indent anyway...
 
@Ell Yes
 
user142019
79 columns ftw.
 
Isn't it 80 columns?
 
user1182183
a b c d e f g h
 
user1182183
9:53 PM
there you go
 
user142019
79 columns.
 
user1182183
spaces and tabs
 
user142019
80 is too many.
 
user1182183
now distuingish them
 
You're writing in languages that can be trivially automatically indented there is no reason to do it manually ever
 
9:53 PM
I thought it was 80 per a page.
 
210 columns bitches buy bigger monitors
 
Line limits? Pages? I thought I was old..
 
user1182183
@CatPlusPlus YOU buy us bigger monitors :P
 
user1182183
I though you were santa
 
user142019
Use assembly at 20 columns max.
 
9:54 PM
Also I don't care if you like my code or not, so your one argument for tabs goes out of the window
 
Ell
@CatPlusPlus For you, but you're impossible to win an argument against anyway xD
CMON GUISE, VOTE FOR "SPACES SUCK"!
 
Well, at least we all agree you shouldn't intermix them in the indentation.
 
y'all suck
 
user142019
If you use tabs, you suck.
 
@thecoshman You're bad at this
 
user142019
9:56 PM
Tabs must be syntax errors in every language.
 
everybody's terrible at all of the things!
 
user142019
Especially indenting.
 
user142019
Zoidlang is only language with decent whitespace rules.
 
Question: for your editor, if 'tab' key inserts x spaces, if you were to change your tab size, does it change, or no?
 
Yes
Well, it changes how many inserts
 
user142019
9:58 PM
" Indentation
set tabstop=4
set shiftwidth=4
set expandtab
set autoindent
set smartindent
set smarttab
set colorcolumn=81
 
But you don't change tabstop to insert more spaces that's retarded
 
My question was whether it changes past inserts.
 
So if somebody does not like four spaces for indentation, what do they do?
 
There's absolutely no reason to reindent code (unless it's using tabs)
@user190929 They're shit out of luck
 
user142019
9:58 PM
@user190929 their problem.
 
They can stop be whining babies for one and suck it up
 
Well, it becomes your problem if you are on a team haha
 
If you make a commit with broken indentation I'll just laugh at you
 
user142019
@user190929 Reformat entire code base at once problem solved.
 
FFS nobody has a an editor macro that changes four spaces to two?
 
user142019
9:59 PM
Two space indentation is even worse than tabs.
 
Reindenting is trivial, but there's little reason to ever change indent size once set for a project
 
user142019
You could just as well not indent at all if you use two spaces.
 
(Unless it's something other than 4 spaces in which case you're an idiot)
 
Vim has :retab.
 
user142019
10:00 PM
G=gg
 
Yes, unfortunately, Vim also has Vim.
 
Oh, right, retab is for switching tabs to spaces and vice-versa.
 
It is like syntax coloring: everybody has their own preferences. When those preferences directly affect productivity, should they not be appeased?
 
user142019
@MartinJames s/un//
 
user142019
@user190929 syntax coloring does not affect contents of file so who the hell cares.
 
10:01 PM
If indentation affects your productivity then I have absolutely no word
 
@MartinJames That's another room. Replace vim with your favourite editor (your favourite text editor can do basic text manipulations, right?)
 
If your editor can't follow existing indentation automatically then why the fuck are you using this antiquated piece of shit
 
user142019
Because Nodepad++ is so great everybody uses it!
 
Let's take a theoretical programmer whose indentation level is equal to a single space. You want to read that code?
 
user142019
I'd kill him.
 
10:02 PM
You wouldn't need to if he used tabs :D
 
user142019
No I just reformat the code problem solved.
 
user142019
I kill him because the world would have one fewer moron, which is good.
 
Ell
So just reformat the tabs, dingus.
 
I used to use single space
 
Ell
Let the adults use the tabs while you children play around with pussy spaces
 
10:03 PM
It's stupid but not unreadable
 
user142019
I always used four spaces and nothing else.
 
user142019
Eight spaces may be fine, but I prefer four.
 
I guess with modern IDE's this is kind of pointless, actually...
 
user142019
And PEP 8 says four so use four.
 
And seriously I had more trouble reading code using tabs with shitty alignment when someone had tabstop at 8
 
user142019
10:04 PM
IDEs are terrible.
 
Plug reformatter into postcommit and ridicule everyone who manages to trip it
 
user142019
IDEs are almost as bad as tabs.
 
You use command line for everything?
 
user142019
Vim and Z shell all the way.
 
btw set shiftround
 
Ell
10:05 PM
I use 7 spaces.
 
user142019
I use Z shell with MacVim or gVim depending on OS.
 
user142019
@Ell lolwot
 
If you use anything other than 4 spaces you're literally a scrub that can't indent code
 
user142019
In Haskell I don't really use any specific amount of spaces.
 
user142019
I do align + four space indentation.
 
10:06 PM
Fine. With modern code-based text editors.
 
@Zoidberg I managed to find a code style with consistent indentation levels
 
@Zoidberg Yeah, Form/Window designing is much easier from command line prompts.
 
user142019
foo = case x of
          42 -> do_something
          _  -> do_something_else
 
Ell
@MartinJames that
 
@MartinJames Bloo bloo you can design with WYSIWYG and not use IDEs that suck at editing text
 
user142019
10:07 PM
@MartinJames yes I'm really a GUI designer I really design GUIs.
 
foo =
    case x of
        42 -> ...
        _  -> ...
 
user142019
@CatPlusPlus oh that's cool.
 
user142019
@CatPlusPlus hmm :)
 
data X
    = A { ... }
    | B { ... }
    deriving ...
 
user142019
I had one problem with something similar to that.
 
user142019
10:09 PM
But I can't remember.
 
Wots not to like? Form design, build, test, debug, all one interface.
 
user142019
It was a syntax error that I could fix using id $ before end of line. :P
 
If only text editing (you know the thing you do the most in that thing) didn't suck
 
user142019
@MartinJames I don't design GUIs so fuck that.
 
user142019
Also, Z shell is build test debug in one.
 
Ell
10:10 PM
pfft. fuck all you guise who think you are better than everyone because you don't use an ide! Just because you use old school tools it does not make you better than everyone. This is not directed at anyone in particular.
 
I do design GUIs. I can't sell anything else since forever.
 
user142019
And Vim yeah you start that once and then switch between Vim and terminal emulator using control+J or control+K.
 
IDEs are hardly new school with emacs being so old
(If you want an IDE use emacs)
 
user142019
s/IDE/OS shell/
 
user142019
:P
 
10:10 PM
@R.MartinhoFernandes Rename the room to flaming dangerzone :v:
 
user142019
lol
 
@CatPlusPlus haha
 
Permaflamedump
 
user142019
xDc-c
 
You're drooling or something
 
10:11 PM
Does anyone here sell black boxes with text in them?
 
zoidberg eh
 
user142019
><
\_/
/|\
/ \
 
hahaha wow
 
user142019
@Gabe are you StackedCrooked?
 
user142019
StackedCrooked, Ghent, Belgium
9.6k 2 39 105
 
10:14 PM
@Zoidberg nope
 
in Lounge<C++>, 19 secs ago, by Ell
@CatPlusPlus but I can do some of the things without knowing the things!
@Ell Yes like indentation and you're bad at it
 
Ell
Heh
 
user142019
@Gabe same character in avatar right?
 
@Zoidberg yes, luffy
 
user142019
cool.
 
10:15 PM
@Zoidberg hes a retard
 
user142019
Me too.
 
user142019
Anyway
 
hahah
 
user142019
Haskell + spaces + Vim + Z shell + cabal-dev.
 
user142019
Only decent way to write software.
 
user142019
10:16 PM
Or maybe Erlang instead of Haskell and Rebar instead of cabal-dev in some cases of distributitis.
 
I'll go with the spaces..
 
in Lounge<C++>, Feb 15 at 11:14, by Zoidberg
FUCK CABAL WHAT A FUCKING PIECE OF JUNK
Just saying.
 
user142019
cabal-dev > cabal
 
user142019
(cabal-dev actually works.)
 
user142019
Heck, you cannot even install cabal-dev using cabal without --force-reinstall and potentially breaking everything.
 
user142019
10:20 PM
Assuming the terrible Haskell Platform.
 
user142019
Who ever thought that global packages were a good idea.
 
I always wonder why you never contribute to some project, instead of starting (and just starting) zillions of them.
 
user142019
Hmm.
 
user142019
Now I do too.
 
Die @Zoidberg
 
10:48 PM
Tabs for Indentation, Spaces for alignment.
Tabs and Spaces Rock, May they be used together in harmony forever! <3
 

  last day (17 days later) »