Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
jejones3141
on Dec 22, 2016
|
parent
|
context
|
favorite
| on:
A Fortran Web Framework
Forgot one really fun aspect of old Fortran. It was call by reference, with the following fun result:
.... CALL MUNG(2) I = J + 2 ... SUBROUTINE MUNG(N) N = 42 RETURN END
After passing the constant 2 to MUNG, later uses of 2 will actually give you the value 42. Have fun debugging that!
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: