Skip to main content

Aggregator

Ask HN: Do you still enjoy coding in C++?

1 week 1 day ago

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: 35

# Comments: 39

US federal prosecutors say businesses have lost $129M+ to scam calls using AI-generated voices to mimic company executives in the 18 months since July 2024 (Adeel Hassan/New York Times)

1 week 1 day ago

Adeel Hassan / New York Times:
US federal prosecutors say businesses have lost $129M+ to scam calls using AI-generated voices to mimic company executives in the 18 months since July 2024  —  A federal indictment alleges that three men used generative A.I. to impersonate voices of chief executives and lawyers to defraud companies of millions of dollars.

Oil Prices Edge Lower After Trump's Remarks On Iran War

1 week 1 day ago
(RTTNews) - Oil prices were sharply lower on Monday, extending last week's losses after U.S. President Donald Trump said he was highly unlikely to order more attacks on Iran as long as talks continue on Iran's nuclear program and reopening the Strait of Hormuz.

Citi's Manthey Says Value, Quality Could Outperform AI Stocks

1 week 1 day ago
Beata Manthey, head of European equity strategy at Citi, discusses market positioning amid heightened uncertainty about the AI buildout. "We've basically neutralized the growth exposure, or AI exposure," Manthey tells Bloomberg Television. "We argue that more value, or more quality parts of the market, some defensives, could outperform in this type of environment," she adds. (Source: Bloomberg)

Morning news brief

1 week 1 day ago
President Trump shakes up his staff after midterm losses, Congress returns to Washington, Nvidia launches investigation into CEO's alleged relationship with Chinese spy.