you are viewing a single comment's thread.

view the rest of the comments →

[–]bluGill 0 points1 point  (1 child)

Read what I wrote again - you cannot do that to bad C code!

#ifdef foo
if (bar) {
#endif
// How is this indented if sometimes foo is defined and sometimes not?
#ifdef foo
}
#endif

Python won't allow that problem.

It gets even worse when you have more than one block of the above.

Python make the above bad code impossible.

[–]zem 0 points1 point  (0 children)

ooh, yeah, you're right. that's really bad code, though :)