Click Here to Login
Join Computer forums Today

View Single Post
Old 03-13-2013, 06:41 PM   #5
Site Team
berry120's Avatar
Join Date: Jul 2009
Location: England, UK
Posts: 3,434
Default Re: Python "if" problem

Originally Posted by celegorm View Post
That's actually the reason why I and most companies I've done work with require people to set their editors to put 4 spaces in place of a tab character. That way multiple people can work on a file and not have any issues of compatibility due to how one system interpreted the tab.
This - use spaces rather than tabs. Pretty much all IDEs I know of are set to do this by default (the tab key inserts 4 spaces) for this reason, even if the language isn't reliant on indentation it still makes for much easier reading when you can open it anywhere and guarantee it'll look the same.
Save the whales, feed the hungry, free the mallocs.
berry120 is offline   Reply With Quote

All times are GMT -5. The time now is 07:55 AM.

Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2019, vBulletin Solutions, Inc.