Hacker News new | past | comments | ask | show | jobs | submit login

When BASIC e.g. redefined what "variables" are and what the equals operator means, it did cause a generation of programmers to drift away from the long established mathematical definitions. This persists to this day in languages like Python. I have had to explain to my daughter that Python variables and equals are not like those in her maths lessons. Dijkstra was right to call out the bad decisions that were made, although I do concede his methods of doing so were not ideal.



FORTRAN is seven years older than BASIC and uses the equal sign and variables in the same way. Here an excerpt from the 1957 paper by Backus et al.:

"Evaluate the expression on the right of the = sign and make this the value of the variable on the left."


Good point, but IIRC Dijkstra didn't like Fortran either. ALGOL (1958) used ":=" for assignment, as did Pascal some years later.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: