YHacker News

Text post by hasley

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?

Related stories

Ask HN: Why did Python win?

398 points by MatthiasPortzel | 649 comments

An Ask HN thread asking why Python grew into a dominant programming language while Ruby, once similarly popular, stalled.

Ask HN: Should we bring software dev in-house?

526 points by 45HCPW | 530 comments

Ask HN post from a logistics company executive asking whether to replace an unresponsive third-party software vendor by building software in-house.

Ask HN: How to deal with shipping AI-written code you don't understand?

534 points by rzk | 650 comments

An Ask HN thread asking how engineers cope with shipping AI-generated code they don't fully understand, citing a Meta engineer's LinkedIn post.

Ask HN: How do you not take criticism of your work personally?

545 points by molly0 | 565 comments

Ask HN thread where a developer asks how to avoid taking constructive criticism of their work, such as PR comments, personally.