Live data from Hacker News

C4 – C in 4 functions

github.com

141–142 of 142 posts

Re: C4 – C in 4 functions

#141

Earlier quoted context omitted.

Actually, a lot of us probably don't understand what this is doing. I sure don't, but I really don't consider myself "lowest common denominator" either. I come here to learn, to be honest!

My point isn't that not knowing what this does makes you a lowest common denominator. It's that most stuff that is shared on this site at least borders on being what I'd call esoteric, and if making each individual submission more approachable or catering to a larger general audience is a goal of this community, it isn't really going that way. If it was going that way, I doubt the community would be particularly inte…

Fair enough :-) thanks for clarifying.

Re: C4 – C in 4 functions

#142
post #78

Earlier quoted context omitted.

I mostly strongly disagree. I see no value in naming a variable 'tk', 'pp', or 'bt'. It can only help to make the code more readable with less context. I do not need to understand compilers in detail to know what this program is doing, except, for the names being useless. And if I do understand them but have not spent half an hour or probably much more to digest the exact system by which it operates, I would be compl…

As you wish. From the program, line 19: tk, // current token

yeah, my point is that should be swapped out everywhere. There's no reason not to.
Post reply on HN