this post was submitted on 18 Apr 2026
4 points (51.8% liked)

Programming

26581 readers
333 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 2 years ago
MODERATORS
 

Found this gem. A single well made video in a channel. The Channel owner probably made this channel just to house one video I guess.

I havent watched it all the way through but it seems to have alot of substance. By the looks of it the guy probably has spent atleast a year developing professionally in C++ and is pretty pissed to make that video as a ventfest

See if you cant agree with something he said

you are viewing a single comment's thread
view the rest of the comments
[–] squaresinger@lemmy.world 2 points 12 hours ago

There's a book about 101 ways to cut potatoes. Perhaps that could be a real mike-drop bit of evidence that we shouldn't be cooking potatoes.

This would be a valid argument if to read someone else's recipe you'd need to know every way of potato cutting they might use.

The problem with C++ isn't that you can't use it in a good way. The problem is that you can use it in a million different ways. The best way for your application is often not readily visible and reading someone else's code might be really difficult because they have a weird favourite way of doing things that you might not know.

Python does that quite well (it's got other failings, but in this regard it's good):

There's a class that's just called List and there's a literal that creates an instance of it: []. It's implemented using an array list, since that's the most sensible options for most list use cases. If you need another type of list, they are still available, but the default implementation is clearly visible and uses a sensible implementation.