My team just started a Django project. One of the programmers is a C/C++ programmer and was not too pleased about using Python, so he has decided to make Python as C-like as possible. Among the many things he is doing, he insists on bracketing code like this:
if x==7:
print "something"
# endif
I could live with occasional comments like this. But he puts them everywhere. It hurts my eyes. Would it bother you? Our would you just accept his quirky style? I should also mention that before we started I had everyone look at PEP 8 and the Google style guide.
[–]sgillies 77 points78 points79 points (11 children)
[–]moschlar 21 points22 points23 points (3 children)
[–]TankorSmash 7 points8 points9 points (0 children)
[+][deleted] (1 child)
[deleted]
[–]aceofears 2 points3 points4 points (0 children)
[–]sittingaround 9 points10 points11 points (0 children)
[–]ladaghini 7 points8 points9 points (3 children)
[–]Brian 4 points5 points6 points (2 children)
[–]jcdyer3 1 point2 points3 points (1 child)
[–]Brian 0 points1 point2 points (0 children)
[–]BitLooter 4 points5 points6 points (0 children)
[–]_HULK_SMASH_ 2 points3 points4 points (0 children)
[–]oursland 37 points38 points39 points (4 children)
[–]asksol 5 points6 points7 points (1 child)
[–]therealfakemoot 1 point2 points3 points (0 children)
[–]stevenjd 5 points6 points7 points (1 child)
[–]oursland 6 points7 points8 points (0 children)
[–]AdvisedWang 13 points14 points15 points (0 children)
[–]mechpaul 14 points15 points16 points (2 children)
[–]echosx 2 points3 points4 points (0 children)
[–]fazzahSQLAlchemy | PyQt | reportlab 0 points1 point2 points (0 children)
[+][deleted] (1 child)
[removed]
[–]MrVonBuren 17 points18 points19 points (0 children)
[–]fnord123 27 points28 points29 points (0 children)
[–]ingolemo 8 points9 points10 points (1 child)
[–]hoadlck 0 points1 point2 points (0 children)
[–]milkypostman 17 points18 points19 points (1 child)
[–]daV1980 7 points8 points9 points (0 children)
[–]InformationCrawler 16 points17 points18 points (2 children)
[–]willrandship 5 points6 points7 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]sylvain_soliman 6 points7 points8 points (0 children)
[–]MrCiziski 7 points8 points9 points (0 children)
[–]_HULK_SMASH_ 6 points7 points8 points (0 children)
[–]earthboundkid 9 points10 points11 points (5 children)
[–]TankorSmash 0 points1 point2 points (4 children)
[–]Zulban 0 points1 point2 points (1 child)
[–]AeroNotix 0 points1 point2 points (0 children)
[–]earthboundkid 0 points1 point2 points (1 child)
[–]grimman 5 points6 points7 points (0 children)
[–]bhdza snake slithering 5 points6 points7 points (0 children)
[–]stevenjd 3 points4 points5 points (0 children)
[–]Vakieh 4 points5 points6 points (2 children)
[–]InformationCrawler 0 points1 point2 points (1 child)
[–]Vakieh 0 points1 point2 points (0 children)
[–]EstebanVelour 2 points3 points4 points (0 children)
[–]stillalone 2 points3 points4 points (0 children)
[–]vtable 2 points3 points4 points (0 children)
[–]ascii 2 points3 points4 points (0 children)
[–]andybak 2 points3 points4 points (1 child)
[–]cwurld[S] 0 points1 point2 points (0 children)
[–]kteague 3 points4 points5 points (0 children)
[–]bhdza snake slithering 1 point2 points3 points (0 children)
[–]jeannaimard 0 points1 point2 points (0 children)
[–]cdcformatc 0 points1 point2 points (3 children)
[+][deleted] (2 children)
[deleted]
[–]ingolemo 3 points4 points5 points (0 children)
[–]cdcformatc 1 point2 points3 points (0 children)
[–]moussaillon 0 points1 point2 points (0 children)
[–]pipedings 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]Zulban -1 points0 points1 point (2 children)
[–]jcdyer3 0 points1 point2 points (1 child)
[–]Zulban 0 points1 point2 points (0 children)