Live data from Hacker News

Infrequently Asked Questions in Comp.lang.c (1999)

seebs.net

31–40 of 45 posts

Re: Infrequently Asked Questions in Comp.lang.c (1999)

#34
Some great in-jokes there (hands up who gets the EBCDIC one).

More seriously, a lot of the discussions about "undefined behaviour" seem to be aimed at the kind of code that no experienced engineer would write anyway. Until there's a language that's proved formally correct, every language is going to have "undefined" behaviour (though some languages - especially more modern ones - cover more cases/make it harder for less experienced users to blow their foot [or worse, someone elses] off).

Re: Infrequently Asked Questions in Comp.lang.c (1999)

#35

After reading through this, I'm not sure if it's a list of jokes or real information? For example: > long ints can be entered using hexadecimal notation; for instance, > long int foo = 07; How is this a good example of hexadecimal input?

Try compiling:-

main() { int foo = 08; }

Re: Infrequently Asked Questions in Comp.lang.c (1999)

#37

Earlier quoted context omitted.

Most of them are inside jokes that aren't very funny. Most of them are indeed frequently asked, but by people who are a bit obstinate or otherwise don't fit the mold that old timers thought newbies should fit. As a result, the responses are often intentionally dismissive and unhelpful. EDIT: It occurs to me that comp.lang.c was the 80s-90s version of Stack Overflow. So at least they're comparatively funnier than the…

It was better than StackOverflow in a lot of ways. Sure, it wasn't useful as a searchable database of questions, but the FAQ was very useful if you could spend time to wade through it, and any zero-effort posters were either flamed to oblivion or simply ignored. I remember asking a couple stupid questions and directed to the documentation. To this day, at work I will suggest "let's see what the manual says", while tr…

What kind of pushback?

Re: Infrequently Asked Questions in Comp.lang.c (1999)

#38
post #37

Earlier quoted context omitted.

It was better than StackOverflow in a lot of ways. Sure, it wasn't useful as a searchable database of questions, but the FAQ was very useful if you could spend time to wade through it, and any zero-effort posters were either flamed to oblivion or simply ignored. I remember asking a couple stupid questions and directed to the documentation. To this day, at work I will suggest "let's see what the manual says", while tr…

What kind of pushback?

“The documentation can’t possibly be up-to-date”, probably.

Re: Infrequently Asked Questions in Comp.lang.c (1999)

#39
post #32

Earlier quoted context omitted.

> Comes to a website that's very well known to be mostly frequented by programmers > Complains about the content that tries to appeal to programmers sigh

I am the target audience.

Well, no. The target audience is people who find this funny.

Re: Infrequently Asked Questions in Comp.lang.c (1999)

#40

After reading through this, I'm not sure if it's a list of jokes or real information? For example: > long ints can be entered using hexadecimal notation; for instance, > long int foo = 07; How is this a good example of hexadecimal input?

Just as a broken clock shows the correct time twice a day, you can use this syntax to input hexadecimal numbers less than 0A.

Less than 8 actually. 0 at the start of a number indicates it’s octal, so 08 and 09 are not syntactically valid numbers.
Post reply on HN