4 ms·
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,
by jxcole 17y ago
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 http://www.zideck.com/blog/article.php?id=1
- jrockway 17y agoThis 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.
- jacobolus 17y agoThis isn’t a blog post. It’s the preface to a longer work – contents at the left.
- jrockway 17y agoMy comment should have read, "there isn't much good about C."
- jacobolus 17y agoReally, 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.
- jrockway 17y agoMarketing 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.
- doki_pen 17y agoFrom http://www.zideck.com/blog/article.php?id=1 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?)
- mhansen 17y agoIndent 2 spaces at the start of the line on everything you want preformatted, and put it on a new paragraph preformatted code