• 1 Post
  • 4 Comments
Joined 3 years ago
cake
Cake day: June 27th, 2023

help-circle
  • I don’t really know myself, probably the many footguns and complexities. Like taking a reference to a value in a vector and then resizing the vector, boom undefined behaviour. There a re a lot of things like this. Maybe also the verbosity and multie ways to do things. Look at the linked code, there is a lot of overhead to the function definitions, sure there is a point to all of it and I put it there for a reason, but to people less familiar to the language it is probably quite offputting.

    Personally I like the language, second only to rust for me




  • Good point regarding the {} implementation.

    I disagree slightly regarding your point that these aren’t function calls. Yes technically they are different things but effectively they are functions, I cann pass arguments and get a result based on some operations.

    Of course not all of these can do anything but only the constexpr value is actually pretty limited. The other ones are straight up functions