2012/2/27 Alexandru Juncu <[email protected]>:
> 2012/2/27 Alex Morega <[email protected]>:
>>
>> On 27 Feb 2012, at 19:57, Razvan Deaconescu wrote:
>>
>>> On Mon, 2012-02-27 at 19:44 +0200, Mihai Maruseac wrote:
>>>> 5th article on a row by AJ [1]. Please review, aș vrea să-l publicăm mâine 
>>>> :)
>>>>
>>>> [1]: http://rosedu.org/~techblog/site2/tips-on-coding-style.html
>>>
>>> Arată foarte bine. Nice work, AJ!
>>>
>>> Observațiile mele:
>>> * Aș spune "blank" în loc de "space" aici: "Spaces would represent…
>>> spaces."
>
> It was sort of a joke...
>
>>> * Mi se pare prea mult exprimarea: "Comment types are a delicate
>>> subject." Ce nu e delicat când vine vorba de coding style :-)
>
> Vezi discuția de pe lista de SO :P
>
>>> "* Some coding styles (like Linux's) don't allow C99 comments." E
>>> adevărată asta, eu nu știam. Sugerez "the Linux coding style".
>>> Construcția Linux's e ciudată (pentru că ai și x și s).
>>> * Aș adăuga observația că nu există _the_ coding style. Sunt diverse
>>> stiluri de coding, unele cu avantaje, altele cu avantaje. Este
>>> importantă consecvența – dacă te atașezi la un proiect, folosește coding
>>> style-ul acestuia.
>
> Da, chiar e un final foarte bun, mersi.
>
>>
>> E vorba doar de cod C? Altfel merită menționat PEP8[1], the one and only 
>> coding style for Python, pe care mai toate proiectele îl respectă.
>> [1] http://www.python.org/dev/peps/pep-0008/
>
> Chiar m-am gândit și la PEP dar am ezitat să pun. Voiam, în principal,
> să zic despre checkpatch... există checkpatch.py ?:P  Dar bine, fie :P
>
> Feedback implemented..pushed.

Interesant articolul. Aș adăuga la sfârșit și o linie despre scripts/Lindent.

thanks,
Daniel.
_______________________________________________
http://lists.rosedu.org/cgi-bin/mailman/listinfo/rosedu-general

Raspunde prin e-mail lui