Re:Show HN: A Wiki written in 80 lines of JavaScript
by jhrobert on Monday January 17, 2011 @05:31PM
(#2113733)
Looks like building a wiki is becoming the modern "hello world!"
[ Parent
| on HN ]
Re:Show HN: A Wiki written in 80 lines of JavaScript
by simonsarris on Monday January 17, 2011 @05:32PM
(#2113738)
Well, I sincerely hope no "hello world!" ever needs to pull libraries.
Re:Show HN: A Wiki written in 80 lines of JavaScript
by joshwa on Monday January 17, 2011 @05:36PM
(#2113751)
#include <stdio.h>
Re:Show HN: A Wiki written in 80 lines of JavaScript
by burgerbrain on Monday January 17, 2011 @05:54PM
(#2113806)
Get off my lawn! In my day, we coded straight in hex, because we couldn't trust assemblers to properly align instructions on the drum memory!
-mel
Re:Show HN: A Wiki written in 80 lines of JavaScript
by chc on Monday January 17, 2011 @06:08PM
(#2113847)
In fairness, that's just including the function prototypes. You don't need to explicitly link in libc most of the time.
Re:Show HN: A Wiki written in 80 lines of JavaScript
by jrockway on Monday January 17, 2011 @08:43PM
(#2114214)
But it's being implicitly linked in, so what's your point?
Re:Show HN: A Wiki written in 80 lines of JavaScript
by chc on Monday January 17, 2011 @09:20PM
(#2114294)
The point is that it's already included unless you specifically exclude it. If we take "pull" as a volitional action rather than a passive allowance, then we don't need to "pull" any libraries.
I'm really just playing devil's advocate here (which is why I prefaced it with "To be fair…"). From the considerable amount of hate (rather than calm dismissal) the comment seemed to be getting, I felt that people weren't bothering to think it through. joshwa's response seemed to indicate that "#include <stdio.h>" was pulling in a library, which is at least as wrong.