[HN Gopher] C72: A port of the earliest C compiler to x86 (2021)
___________________________________________________________________
C72: A port of the earliest C compiler to x86 (2021)
Author : marcodiego
Score : 34 points
Date : 2022-04-10 20:47 UTC (2 hours ago)
(HTM) web link (github.com)
(TXT) w3m dump (github.com)
| hnlmorg wrote:
| > compound assignment operators are reversed, they are =+, =*
|
| Personally I always thought that made more sense than the (now)
| standard way because when you read it aloud it reads like the
| operation you're performing: N equals N plus five
| N =+ 5
|
| I still find myself occasionally writing those operators that way
| around even after decades of using C and similar languages.
| ghewgill wrote:
| One of the problems with the old notation is the ambiguity.
| What does each of the following mean? n =- 5
| n = -5 n=-5
| hnlmorg wrote:
| Ahh yes, that's a very good point.
___________________________________________________________________
(page generated 2022-04-10 23:00 UTC)