[Tinyos-devel] consistency in line terminators
Aurélien Francillon
aurelien.francillon at inrialpes.fr
Mon Jun 9 03:32:10 PDT 2008
Le Monday 02 June 2008 04:19:58 Razvan Musaloiu-E., vous avez écrit :
> Hi!
>
> The tinyos-2.x tree contains a minority (about one hundred) of files using
> the Windows CRLF line terminators while the majority (about 2 thousands)
> follows the Unix format of using only LF. In preparation of the new
> release is it ok with everyone to normalize everything to LF? If there is
> no complain I volunteer to do it.
>
Hi, that's a good idea,
going forward :
- what about defining at the same time if the tab are allowed/recommended ?
Many files are mixing tabs and spaces for indentation, if your editor uses a
different setting than the writer's then code it's harder to read ... Using
only spaces makes the code appear similar on any editor so that's my perfered
solution ;)
- the spaces at end of line could be avoided too...
I think adding those recommendations to TEP3 would be nice.
Cheers
Aurelien
More information about the Tinyos-devel
mailing list