5 ms·
RIP, dmr
- stevelosh 15y agoI love the `return 0;`. Something sad has happened, but it's not the end of the world and everyone continues on.
- breadbox 15y agoTrue enough. It's not an error; it's expected behavior.
- JoshTriplett 15y agoNot quite: it's expected behavior, but still an error. In the logic of a testsuite, it's an XFAIL.
- azelfrath 15y agoI think "return -1;" would have been appropriate =( But seriously, this page actually brought a tear to my eye. It's like all the C code in the world right now feels a little less cheerful... EDIT: But yes, there is something oddly inspiring about the world just moving on.
- someone13 15y agoPersonally, I would rather an ENOENT error. Seems ... fitting, somehow. Well, either that or the Windows error STATUS_OBJECT_NAME_NOT_FOUND.
- jerf 15y agoI interpreted it as returning "success". In a more global context than just the program at hand.
- alperakgun 15y agoHaving read K & R long time ago, and enjoyed the concise book, it is a sad day. All C programs in the world must be returning success today.
- watmough 15y agoIt may be concise, but it is incredibly dense. I'm not sure there's a unnecessary word, let alone paragraph. It definitely rewards persistent study, I've been programming for years, and I still learn something every single time I dip into it.
- adgar 15y agoI know it's kinda tasteless, but `puts` is more appropriate.
- breadbox 15y agoMaybe, but printf() is the function used in the original hello-world program on p.6 of K&R.
- ineedtosleep 15y agoRIP, Dennis Ritchie. I love that the tribute code is short, concise and has enormous meaning.
- faizanaziz 15y agoCouldn't agree more
- foenix 15y agoMan, I was just diving into C this week with Shaw's learn C the hard way and K & R (I'm beginning to wrap my head around pointers. Quite beautiful, really). This snippet made me tear up. RIP, Dennis Ritchie.
- rhdoenges 15y agoSomething about C saying that is incredibly depressing. I cried.
- anigbrowl 15y agoMe also. Very sad news.
- oracuk 15y agoI know change happens, maybe it's a function of my age but this increasingly feels like I am living in a different world to the one I started my career in. Interestingly it's no the technology that that feels different, it's the loss of people and companies that shaped the older world.
- jgrahamc 15y ago}
- ryfm 15y agomain(void)
- jmagar 15y agoThis marks the end of all my "Hello World!" first programs; replaced by "goodbye, dad\n"
- bgarbiak 15y agoI'm going back to this page almost every hour today and every time I get to "goodbye, dad\n" part I'm getting emotional... Excellent homage.
- nicks22 15y agoLegends like DMR don't die, they just gosub without return