LWN.net Logo

What is Science?

What is Science?

Posted Jun 30, 2012 8:27 UTC (Sat) by Cyberax (✭ supporter ✭, #52523)
In reply to: What is Science? by HelloWorld
Parent article: Why learn C? (O'Reilly Radar)

I'm speaking about rewrites in "C++ style", not simple "recompile with g++" rewrites.

They do tend to shrink amount of lines of code quite significantly.


(Log in to post comments)

What is Science?

Posted Jun 30, 2012 8:39 UTC (Sat) by HelloWorld (guest, #56129) [Link]

You're contradicting yourself. Wol said "if it takes 10 lines of C++ or 100 lines of C", you said "it's the other way around..", and now you're saying that rewrites in C++ style tend to shrink the amount of code.

What is Science?

Posted Jun 30, 2012 22:00 UTC (Sat) by Cyberax (✭ supporter ✭, #52523) [Link]

Yes, rewrites in modern C++ tend to shrink code significantly compared to plain C. There's no contradiction.

What is Science?

Posted Jul 1, 2012 10:17 UTC (Sun) by HelloWorld (guest, #56129) [Link]

Uh, yes there is, unless my english parser is utterly broken, but I don't think so.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds