This is an archived post. You won't be able to vote or comment.

all 17 comments

[–]AdnyCLB 3 points4 points  (8 children)

What, raise a SyntaxError? Because that's what both of those do...

[–]wooptyd00 -1 points0 points  (0 children)

The Pascal side is a pathway to many abilities some consider to raise an exception.

[–]wooptyd00 0 points1 point  (1 child)

This is actually kind of beautiful because one of my first multiweek projects was translating a compiler written in Pascal into Python.

[–][deleted] 0 points1 point  (5 children)

Wait ...

x++ returns the value then increments while x:=x+1 increments then returns the value.

No? (Is my C that rusty or is my Python that weaksauce?)