Ask HN: Do you still enjoy coding in C++?
In the recent years C++ received a lot of backlash due to its complexity and (perceived) feature creep. However, since C++11 I really enjoyed writing C++ with i…
In the recent years C++ received a lot of backlash due to its complexity and (perceived) feature creep. However, since C++11 I really enjoyed writing C++ with its strict type system (including const), range-based for loops, smart pointers, and how much you can do with templates. On the other hand, I know that it can be very tricky to write, for instance, a correct iterator, to get handling of rvalue references right, or to read error messages that involve templates.
So, do you enjoy or dislike writing C++ source code and why?
Comments URL: https://news.ycombinator.com/item?id=50423371
Points: 12
# Comments: 2
原文出处:Hacker News (本文由聚合程序自动采集,版权归原作者所有)