logoalt Hacker News

Panzerschrektoday at 4:49 PM1 replyview on HN

Slightly tweaking C code to allow it working in C++ is still much easier compared to full rewrite in some other language.


Replies

ueckertoday at 5:21 PM

Slightly tweaking might not always be sufficient. Reengineering my numerical code would certainly a bit of effort. But anyhow, I do not think C++ is better. Recently I removed one (!) file with templates (which someone else added) from one of my project because it doubled compilation times (in a project with 750 other files or so). I do no need slow build times, more complexity, and more footguns.