Tabs or spaces – Parsing a 1B files among 14 programming languages
1–10 of 124 posts
Re: Tabs or spaces – Parsing a 1B files among 14 programming languages
#2Re: Tabs or spaces – Parsing a 1B files among 14 programming languages
#3Also my beef is specially with people who don't use tabs in files like fstab, like beasts.
Re: Tabs or spaces – Parsing a 1B files among 14 programming languages
#4Re: Tabs or spaces – Parsing a 1B files among 14 programming languages
#5Re: Tabs or spaces – Parsing a 1B files among 14 programming languages
#6Some IDEs will convert tabs to spaces when saving and the other way around when editing, so, while your approach is interesting, not really a proof of a majority choice. Also my beef is specially with people who don't use tabs in files like fstab, like beasts.
Re: Tabs or spaces – Parsing a 1B files among 14 programming languages
#7I've never really understood why you would use several characters (=spaces) for something that is semantically one indent. Can someone enlighten me? What are the advantages of spaces over tabs?
Re: Tabs or spaces – Parsing a 1B files among 14 programming languages
#8I've never really understood why you would use several characters (=spaces) for something that is semantically one indent. Can someone enlighten me? What are the advantages of spaces over tabs?
def doSomething( parameter1
, parameter2
, parameter3
):
pass
How would you make all the punctuation line up using tabs?Re: Tabs or spaces – Parsing a 1B files among 14 programming languages
#9I've never really understood why you would use several characters (=spaces) for something that is semantically one indent. Can someone enlighten me? What are the advantages of spaces over tabs?
People always talk about consistent display of spaces whereas tabs might be shown as 4 spaces or even 8. Of course that means you can usually customize how tabs are rendered unless you code in Notepad or something crazy.