Return to “Everything & Anything”

Post

Re: Images!

#297
DigitalDuck wrote:
Tue Oct 24, 2017 8:08 am
Talvieno wrote:
Mon Oct 23, 2017 3:11 pm
Tabs or spaces?
Always tabs, and IDEs should give the option to choose how many spaces a tab is so indenting doesn't get fucked up every time you commit a change.
...how does that happen when you use spaces?
Warning: do not ask about physics unless you really want to know about physics.
The LT IRC / Alternate link || The REKT Wiki || PUDDING
Image
Post

Re: Images!

#298
Dinosawer wrote:
Tue Oct 24, 2017 8:10 am
...how does that happen when you use spaces?
With spaces, the amount of indenting is fixed and cannot change from person to person. If one person prefers:

Code: Select all

void thing()
{
 if (thing)
  thing();
}
and one person prefers:

Code: Select all

void thing()
{
    if (thing)
        thing();
}
they can't both have their way with spaces. They can with tabs; however it relies on IDEs having the option to change tab widths and not converting tabs to spaces.
Games I like, in order of how much I like them. (Now permanent and updated regularly!)

Online Now

Users browsing this forum: No registered users and 10 guests

cron