News for hackers. Stuff that matters.
Re:C Craft by jxcole on Friday December 18, 2009 @10:11AM (#1003199)
Honstly, OOP isn't that bad. This would be a lot better of a read if he focused on how C is good, not how he hates OOP. OOP is a valid way to solve any problem, though certainly not the only valid way.

Incidentally I wrote an article in defense of OO: http://www.zideck.com/blog/article.php?id=1

Re:C Craft by doki_pen on Friday December 18, 2009 @04:09PM (#1003959)
From http://www.zideck.com/blog/article.php?id=1:

> Well, not everything is an object. And I'm not talking about Java

> primitives, either, which should be objects. For instance, functions

> are not objects in most languages, and when they are it is confusing.

> See Javascript for further info on how this doesn't work.

....

I stopped reading here. It works very well.

(how the heck do we do preformatted text on HN?)

Re:C Craft by mhansen on Friday December 18, 2009 @05:10PM (#1004103)
Indent 2 spaces at the start of the line on everything you want preformatted, and put it on a new paragraph

  preformatted code
Re:C Craft by jrockway on Friday December 18, 2009 @10:36AM (#1003241)
This would be a lot better of a read if he focused on how C is good

Then it would be a Twitter post, not a blog post.

Re:C Craft by jacobolus on Friday December 18, 2009 @11:27AM (#1003371)
This isn’t a blog post. It’s the preface to a longer work – contents at the left.
Re:C Craft by jrockway on Friday December 18, 2009 @01:57PM (#1003691)
My comment should have read, "there isn't much good about C."
Re:C Craft by jacobolus on Friday December 18, 2009 @05:37PM (#1004152)
Really, you should have just skipped it, because it’s a tired cliché that adds nothing to the discussion. There’s plenty to learn from C, if only in how to drive adoption of a language by making it an indispensable part of a useful system (in this case, UNIX). But the other side of this argument is also pretty tired after decades, so I’ll leave it there.
Re:C Craft by jrockway on Saturday December 19, 2009 @01:22AM (#1004547)
Marketing a language is of little use to hackers writing internal applications. What matters is good programming practice, which is often ignored in favor of "but ls uses it". This is not good.