News for hackers. Stuff that matters.
Re:Hello World, 1978 by bitwize on Monday January 04, 2016 @08:06AM (#10835382)
In 1978 you didn't have to include it; the compiler made assumptions about the function args and return type that held for printf.

C was... different then.

Re:Hello World, 1978 by cbd1984 on Monday January 04, 2016 @12:33PM (#10836946)
C was a lineal descendant of B, a language in which every variable had the same type: machine word. It was meant to be a step up (one step) from a macro assembler.

The existence of B always makes me laugh when someone claims Python is typeless. No, Python knows the difference between a string and a float, it just knows it at runtime. B, where everything is a machine word, and integers, floats, and pointers are all the same thing at the language level, is typeless.