Talk:ANSI C
"Note for the ambitious newbie" seems needlessly editorial for a wiki article. Although as a long time programmer I concede the wisdom of the advice. C and C++ aren't strong in the rapid prototyping and fast feedback departments. Learning C has a lot of value, so it depends on your goals. If you want to learn C, a roguelike game isn't a bad project. If you want to create a working game quickly, some other language might be better.
Maybe a better approach would be to list some roguelikes at Sourceforge, ect that a budding programmer might want to check out? --SaintD 23:07, 6 February 2009 (UTC)
- Agree 100% with SaintD's first paragraph above. Also, "Perl ... easier to debug and maintain"? OK, this isn't Wikipedia so none of us has to prove anything :) — Netzhack (talk) 23:23, 1 March 2013 (UTC)
va_arg
"(There is another macro, va_arg, to extract an argument. No part of NetHack uses it.)" --> NetHack uses it via VA_INIT, defined in tradstd.h. Netzhack (talk) 01:20, 21 June 2013 (UTC)
- No objections to the above showed up in a year and a half, so I'm going to amend the article accordingly. Netzhack (talk) 11:45, 15 November 2014 (UTC)
Some info about NetHack's C style?
Characteristics of NetHack's use of C that might be mentioned in a section on style include:
- Use of conditional compiling, both for the purpose of uniting many platforms and for compile-time game options
- Relative dearth of comments, at least compared with best practices
- Heavy use of the trinary operator, ?:
- ...?