News for hackers. Stuff that matters.
Re:What =delete means by tux3 on Monday October 18, 2021 @10:22AM (#28905689)
Some language designs have more semantic pitfalls than others. All else equals, those would be preferable.

C++ is an old beast with many many footguns.

There's a more modern subset hiding inside, these days, but let's not pretend every language has the same pitfalls that C++ has.

Re:What =delete means by jcelerier on Monday October 18, 2021 @10:25AM (#28905725)
sure, but there's also a deep culture in the C++ blogosphere to go and seek the deepest and darkest corners and exhibit them as it's a very fun puzzle game. the same people applied to Python, Java or LISP would yield endless articles on pitfalls of those
Re:What =delete means by tragomaskhalos on Monday October 18, 2021 @04:16PM (#28911073)
In the early 90's there were two print magazines: "The C++ Report" and "The Smalltalk Report". The former, even with the far simpler language it was then, was chock full of programming arcana and 'what does this code do?' type puzzles. The latter, by contrast, had effectively zero such content. I loved both languages but this difference was always very stark.
Re:What =delete means by SanFranManDan on Monday October 18, 2021 @10:34AM (#28905829)
If they are endless where are they?
Re:What =delete means by pjmlp on Monday October 18, 2021 @11:50AM (#28906779)
Search for Java Puzzles books