Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
leni536
· 11y ago · 0 comments
From the comments my favorite:
#define i j
Comments
[–]
shoo
11y ago
A more unpleasant variant of this would be to combine `#define i j` with a language like Fortran 77 where variables are implicitly typed by letter. e.g. `#define i x` would change the implicit type from int to float...
[–]
BraveKenny
11y ago
It gets debugged in a flash though.
[–]
shoo
11y ago
yep. e.g. gcc 4.8.4 happily complains about redeclaration errors and points out that it is a result of the offending macro expansion.