Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This is gold. I like how the files are named 00 01 10 11 because long filenames are scary.

    hshsiz 100;
    hshlen 800; /* 8*hshsiz */
    hshtab[800];
These were at file scope. I assume they default to int, but when was the demand for = added?


For those who wonder, the extract comes from https://github.com/mortdeus/legacy-cc/blob/ccbe90a2803e2cc7e...

IMO, it is close to Assembly:

* you reserve space and possibly set an original value with "hshsiz DB 100" or "paraml DB ?"

* assignment is a different business which involves a runtime instruction (MOV)

Hence the same difference (no = sign for the first, passive, compile-time operation; an = sign for the second, active, runtime operation) in this proto-C.

(Of course, this doesn't answer your question of "when" did the syntax of those 2 operation fuse :-) )


Long filenames are scary when your system has a 2.5MB disk.




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

Search: