[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
So guys, do you use spaces or tabs?
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 18
Thread images: 1
File: ilkedwindows7.png (2 MB, 1655x919) Image search: [Google]
ilkedwindows7.png
2 MB, 1655x919
So guys, do you use spaces or tabs?
>>
>>54979879
>having to separate it to be "readable"
Cuck
>>
>>54979879
I prefer tabs. In my opinion it lets anyone use IDE settings to set the indent depth they prefer.

My colleagues all use 4 spaces though, so had to change at work so we're consistent.
>>
>>54979938
What this fag said.
>>
It's a good show.
>>
tabs for indent, spaces for alignment

but who actually repeatedly presses the space bar (like the show portrayed) instead of just setting their editor to insert spaces when pressing tab?
>>
Depends.
Some languages are not that verbose, and for those, tabs are preferable as you can adjust the width per editor basis.
If you really need to align stuff (which is rare) then you use spaces beyond the tabs.

On verbose languages, I prefer spaces.
There you manually align everything anyway, so you might as well do it correctly so it doesn't break on other editors that use a different tab setting.

I mainly work with c++ and vhdl.
vhdl is horrible if you only use tabs
>>
>>54980017
I think it was just for the show. Nobody would ever do that.
>>
>>54979879
Smart tabs (tabs for block indentation, spaces for everything else)

Anyone who's not using this is braindead
>>
>>54980017
Started college this year, now being taught pascal. Everyone uses shitty IDEs (see also: any IDE that isn't Sublime Text) and even though some allow tabbing EVERYONE fucking multi-spaces manually, which is annoying
>>
>>54979938
jesus, thats like using vim over emax
>>
how come people always bait into those shill threads.

its obvioulsy makreting for the fucking tv show retards. they'll make the same fucking thread next week too
>>
>>54979879
I was a tabfag until I got a job

basically this >>54979938
>>
>>54979879
Smart tabs in Emacs
>>
>>54980389
>see also: any IDE that isn't Sublime Text
Starbucks is not a college

Also, the girl in the show used Vim, so she really should have known better - hell, even "8i <Esc>" would be better
>>
neither. I put every token on its own line.
>>
>>54980469
There are no starbucks in my country, I don't know if that is a good thing or a bad thing.

I wasn't being all that serious anyways, just think it's a great IDE for people learning (like me) since it's fast, and plugins like package control make customizing it to your needs.. dunno if easy, but a less complicated than it tends to be for other IDEs like meemacs
>>
>>54980490
and that would indicate nested blocks how?
Thread replies: 18
Thread images: 1

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.