Hacker News new | ask | show | jobs
by Thaxll 3084 days ago
> Programming languages don't get complex just for fun, their designers are tackling actual relevant issues.

Have you ever used C++ templates? I mean every popular languages have issues related to design complexity.

2 comments

Some complexity is avoidable, other isn't.

Besides C++ templates are a result of creating a conceptually simple, one size fits all solution for generics, metaprograming, library tuning, and some dozens of other problems that other languages have specialized tools to solve. Turns out that the complex set of features works better.

Is it a complex set of features, or rather a set of focused tools?
It is a large set of simple tools. It is conceptually complex because each tool is different and you must learn them all.
I did my first C++ steps with Turbo C++ 1.0 for MS-DOS.

My first use of C++ templates was in Turbo C++ 3.5 for Windows 3.1.