|
From: andy p. <bod...@gm...> - 2013-10-30 15:23:55
|
On 30 October 2013 14:11, Bertho Stultiens <be...@va...> wrote:
> What is more readable?
>
> o100 sub
> (notice that the if-endif block uses a different number)
> o110 if [#2 GT 5]
....
> function blabla(arg1, arg2)
> {
> if(arg2 > 5) {
Well, for me, who reads C a lot, the latter. For a machine operator, I
would guess at the former.
> IMO, it is brain-dead to use indenting for scoping purposes
Well, yes. I am not a fan of that decision in Python at all. While we
are at it, I am not sure why it insists on so many empty brackets
either.
--
atp
If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto
|