βπ THE BAD IDEAS THREAD
-
@Karla said in βπ THE BAD IDEAS THREAD:
@Tsaukpaetra said in βπ THE BAD IDEAS THREAD:
@izzion said in βπ THE BAD IDEAS THREAD:
@Cursorkeys
If you find CS oddities pornographic, I'm afraid there's no help for you.Well, there's pornography for people who like spaces and tabs, who knows?
Nobody likes spaces and tabs...you either like one or the other...full stop.
That's what makes it exciting though! The unpredictability, the spice! The unexpected consequences!
Who doesn't want all that fuckery?
-
@Tsaukpaetra Python users.
-
@Tsaukpaetra YAML users.
-
@mott555 said in βπ THE BAD IDEAS THREAD:
@Tsaukpaetra Python users.
They have different tastes. The fuckery happens elsewhere.
-
@pie_flavor said in βπ THE BAD IDEAS THREAD:
@Tsaukpaetra YAML users.
They're boring. Their fuckery is elsewhere.
-
@Karla said in βπ THE BAD IDEAS THREAD:
@Tsaukpaetra said in βπ THE BAD IDEAS THREAD:
Well, there's pornography for people who like spaces and tabs, who knows?
Nobody likes spaces and tabs...you either like one or the other...full stop.
Spaces between words, tabs at the beginnings of lines (or between columns of tabular content).
-
@da-Doctah said in βπ THE BAD IDEAS THREAD:
@Karla said in βπ THE BAD IDEAS THREAD:
@Tsaukpaetra said in βπ THE BAD IDEAS THREAD:
Well, there's pornography for people who like spaces and tabs, who knows?
Nobody likes spaces and tabs...you either like one or the other...full stop.
Spaces between words, tabs at the beginnings of lines (or between columns of tabular content).
tabs to indent, spaces to align
-
-
@ben_lubar said in βπ THE BAD IDEAS THREAD:
@da-Doctah said in βπ THE BAD IDEAS THREAD:
@Karla said in βπ THE BAD IDEAS THREAD:
@Tsaukpaetra said in βπ THE BAD IDEAS THREAD:
Well, there's pornography for people who like spaces and tabs, who knows?
Nobody likes spaces and tabs...you either like one or the other...full stop.
Spaces between words, tabs at the beginnings of lines (or between columns of tabular content).
tabs to indent, spaces to align
Way to use common sense to ruin a joke. Thanks.
-
@Luhmann said in βπ THE BAD IDEAS THREAD:
@Karla said in βπ THE BAD IDEAS THREAD:
full stop
Punctuation is definitely a different kink
I actually hate when people do that...but I was trying to be as douchie as possible.
-
@Tsaukpaetra said in βπ THE BAD IDEAS THREAD:
orgasm from touching fingers together
Together with what?
-
@anotherusername Nice thumbnail.
-
@Zecc
With just the tips, of course.
-
@izzion said in βπ THE BAD IDEAS THREAD:
@Zecc
With just the tips, of course.Dang! You said it before I could!
-
@Tsaukpaetra said in βπ THE BAD IDEAS THREAD:
@izzion said in βπ THE BAD IDEAS THREAD:
@Cursorkeys
If you find CS oddities pornographic, I'm afraid there's no help for you.Well, there's pornography for people who like spaces and tabs, who knows?
Tons and tons of sites have Whitespace-encoded porn in the source code.
-
creating the purest form of LISP
-
@pie_flavor said in βπ THE BAD IDEAS THREAD:
@Tsaukpaetra YAML users.
Python and YAML go together like plague rats and sewers.
-
@Gribnit said in βπ THE BAD IDEAS THREAD:
Tons and tons of sites have Whitespace-encoded porn in the source code.
I don't believe you. Please provide examples.
-
@Karla said in βπ THE BAD IDEAS THREAD:
Nobody likes spaces and tabs...you either like one or the other...full stop.
I like tabs for indenting blocks, and spaces for aligning multi-line statements.
class Foo { function Bar() //<-- one tab here { //<-- one tab here thing = callThatCreatesSomething( //<-- two tabs here aLongParameter1, //<-- two tabs and then spaces here aLongParameter2, //<-- two tabs and then spaces here aLongParameter3); //<-- two tabs and then spaces here } //<-- one tab here }
-
@djls45 said in βπ THE BAD IDEAS THREAD:
I like tabs for indenting blocks,
That's Satan whispering in your ear. Resist him.
-
@pie_flavor said in βπ THE BAD IDEAS THREAD:
@djls45 said in βπ THE BAD IDEAS THREAD:
I like tabs for indenting blocks,
That's Satan whispering in your ear. Resist him.
Why? The tab is the indent character. Why shouldn't it be used to indent?
-
@djls45 said in βπ THE BAD IDEAS THREAD:
@pie_flavor said in βπ THE BAD IDEAS THREAD:
@djls45 said in βπ THE BAD IDEAS THREAD:
I like tabs for indenting blocks,
That's Satan whispering in your ear. Resist him.
Why? The tab is the indent character. Why shouldn't it be used to indent?
The tab is the indent character for print content, where exact indent length doesn't matter so long as it's consistent. Its appearance is entirely dependent on various contextual things, like margin size or paragraph spacing. Code is supposed to have character alignment, meaning it has to be a consistent number of characters, but different systems disagree whether a tab is 4 or 8 spaces. Additionally, there are cases where tabs don't cut it, like if you're breaking in the middle of an argument list and want the two sets to align, and mixing tabs and spaces is unclean. There's also no downside to using spaces instead of tabs since most IDEs just treat them like any other indent.
That question makes about as much sense as 'Why don't we use the period as the statement terminator instead of the semicolon?'
-
@pie_flavor said in βπ THE BAD IDEAS THREAD:
Code is supposed to have character alignment
[citation needed]
-
@pie_flavor said in βπ THE BAD IDEAS THREAD:
@djls45 said in βπ THE BAD IDEAS THREAD:
@pie_flavor said in βπ THE BAD IDEAS THREAD:
@djls45 said in βπ THE BAD IDEAS THREAD:
I like tabs for indenting blocks,
That's Satan whispering in your ear. Resist him.
Why? The tab is the indent character. Why shouldn't it be used to indent?
The tab is the indent character for print content, where exact indent length doesn't matter so long as it's consistent. Its appearance is entirely dependent on various contextual things, like margin size or paragraph spacing.
And any good text editor will have a setting where you can set the tab width to your own personal preference. Tabs allow everyone to set it how they want, instead of forcing everyone else to follow your own One True Wayβ’.
Code is supposed to have character alignment, meaning it has to be a consistent number of characters, but different systems disagree whether a tab is 4 or 8 spaces.
Ah, I see you have never met a coder who uses a proportional font. Tabs are always aligned in proportional fonts, whereas spaces may not be consistent.
Additionally, there are cases where tabs don't cut it, like if you're breaking in the middle of an argument list and want the two sets to align, and mixing tabs and spaces is unclean.
So add an extra tab to align things.
There's also no downside to using spaces instead of tabs since most IDEs just treat them like any other indent.
The IDE is the least important guide to preferences; they also work perfectly well with tabs.
That question makes about as much sense as 'Why don't we use the period as the statement terminator instead of the semicolon?'
Mixing English grammar and code grammar is not the same as shoehorning one (language- and grammar-agnostic) character into performing the role of another (language- and grammar-agnostic) character.
-
@djls45 When I used Eclipse, the default was set to tabs, and I didn't change it. Indentation would render strangely sometimes, GitHub consistently displayed my code horribly, and commenting out a line at the beginning wouldn't indent the commented code which I wanted. When I switched to IntelliJ, it the default was set to spaces, and I didn't change it. I have had zero indentation problems for any reason since then.
-
@pie_flavor said in βπ THE BAD IDEAS THREAD:
@djls45 When I used Eclipse, the default was set to tabs, and I didn't change it. Indentation would render strangely sometimes, GitHub consistently displayed my code horribly, and commenting out a line at the beginning wouldn't indent the commented code which I wanted. When I switched to IntelliJ, it the default was set to spaces, and I didn't change it. I have had zero indentation problems for any reason since then.
-
-
@pie_flavor said in βπ THE BAD IDEAS THREAD:
Indentation would render strangely sometimes, GitHub consistently displayed my code horribly, and commenting out a line at the beginning wouldn't indent the commented code which I wanted.
I've never observed this issue, and I use a lot the tool that you claim you were using. I wonder was up with your IDE configuration.
-
@dkf said in βπ THE BAD IDEAS THREAD:
@pie_flavor said in βπ THE BAD IDEAS THREAD:
Indentation would render strangely sometimes, GitHub consistently displayed my code horribly, and commenting out a line at the beginning wouldn't indent the commented code which I wanted.
I've never observed this issue, and I use a lot the tool that you claim you were using. I wonder was up with your IDE configuration.
Remember he lives in a parallel universe. π
-
@dkf said in βπ THE BAD IDEAS THREAD:
@pie_flavor said in βπ THE BAD IDEAS THREAD:
Indentation would render strangely sometimes, GitHub consistently displayed my code horribly, and commenting out a line at the beginning wouldn't indent the commented code which I wanted.
I've never observed this issue, and I use a lot the tool that you claim you were using. I wonder was up with your IDE configuration.
I'd imagine if your IDE were configured to use 4 space tabs and GitHub used 8 space tabs, your code would look bad if you mixed spaces and tabs like a crazy person.
-
@Tsaukpaetra said in βπ THE BAD IDEAS THREAD:
Remember he lives in a parallel universe. π
A *parallel*? Based on his posts, I think it's more like an orthogonal universe.
-
@cvi said in βπ THE BAD IDEAS THREAD:
@Tsaukpaetra said in βπ THE BAD IDEAS THREAD:
Remember he lives in a parallel universe. π
A *parallel*? Based on his posts, I think it's more like an orthogonal universe.
Eh, it's all relative...
-
@pie_flavor said in βπ THE BAD IDEAS THREAD:
That answer to your question makes about as much sense as 'Why don't we use the period as the statement terminator instead of the semicolon?'
Ahh...that's better.
-
@dkf said in βπ THE BAD IDEAS THREAD:
@pie_flavor said in βπ THE BAD IDEAS THREAD:
Indentation would render strangely sometimes, GitHub consistently displayed my code horribly, and commenting out a line at the beginning wouldn't indent the commented code which I wanted.
I've never observed this issue, and I use a lot the tool that you claim you were using. I wonder was up with your IDE configuration.
It's parallel universe Eclipse, of course. It comes from the world where phones don't immediately overheat from browsing a Discourse forum.
-
@djls45 said in βπ THE BAD IDEAS THREAD:
So add an extra tab to align things.
Can still break unless your IDE has flexible tabs. If you change the text before the tab, everything underneath it that's supposed to align may need to have tabs added or removed to make it align again.
-
(from a LinkedIn alert I've set)
For a company founded in 2012 here in Silly Valley, you'd think they'd realize the connotations of Snowflake...
Edit: Or they are aware... Not sure which is worse...
-
-
@El_Heffe "lost his life after being killed"
-
@HardwareGeek the alligator killed him so hard that he died to death
-
@pie_flavor The man was unvailable for further comments.
-
"Gaming chairs"
-
Also, having two separate bad ideas threads.
-
Bad idea: Assuming confusion is a bad idea.
-
Bad idea: Kerning this video thumbnail text like this.
It hurts my eyes.
-
-
@Zecc I got a fever today and I blame the kerning on that thumbnail
-
@Polygeekery
Have you tried more cowbell?
-
-
-
@boomzilla said in βπ THE BAD IDEAS THREAD:
Those are usually hollow and made of glass. Ouch...
Edit: oh, TFA indicates they're felt and made to look like vulva. Well then, that's not so bad...