Yeah, but if I recall, the syntax made it redundant anyway, since Pascal wouldn't accept assignments in the middle of a logic evaluation, for instance, would it?
I work as a staff software engineer at a med tec company. We are mainly programming in C++ but my background is also a functional one (Haskell, OCaml).
In the past I did research in program analysis.
Yeah, but if I recall, the syntax made it redundant anyway, since Pascal wouldn't accept assignments in the middle of a logic evaluation, for instance, would it?
I've no idea, I've never done any Pascal.
Correct, Pascal didn't allow assignments in expressions as an assignment was a statement and not an expression.
In C an assignment is an expression and thus it is allowed to be included into other expressions.
In Pascal though you never had trouble with this: