MikeTrendsTrends right now

Mmastodon TechnologySoftware first seen 18 d ago, last 18 d ago, peak #9

C++ still supports pointer arithmetic, prompting developer surprise

Original: What do you mean? C++ still has pointer arithmetic? https:// mastodon.social/@vitaut/117554 054631159528 # programming #

Developers are reacting to the fact that C++ continues to support pointer arithmetic, one of the language's oldest and most error-prone features. The discussion, started by programmer Victor Zverovich, touches on whether the practice should still be considered acceptable in modern C++ code, given the availability of safer alternatives like iterators and spans.

Why now: Ongoing debates about memory safety in programming languages are making people revisit C++'s legacy features

C++Victor Zverovich

Open on mastodon →

Evidence

API: https://socialmediatrends-api.osmike.com/v1/trends/4894651