▲ | dayvster 5 days ago | |||||||||||||
This is true and I will concede this point. Appreciate your feedback! However if I may raise my counter point I like to have a rule that C++ should be written mostly as if you were writing C as much as possible until you need some of it's additional features and complexities. Problem is when somebody on the team does not share this view though, that much is true :) | ||||||||||||||
▲ | jbstack 5 days ago | parent | next [-] | |||||||||||||
Counter-counter point: if you're going to actively avoid using the majority of a language's features and for the most part write code in it as if it were a different language, doesn't that suggest the language is deeply flawed? (Note: I'm not saying it is deeply flawed, just that this particular way of using it suggests so). | ||||||||||||||
| ||||||||||||||
▲ | digitalPhonix 5 days ago | parent | prev [-] | |||||||||||||
> However if I may raise my counter point I like to have a rule that C++ should be written mostly as if you were writing C as much as possible until you need some of it's additional features and complexities. How do you define “need” for extra features? C and C++ can fundamentally both do the same thing so if you’re going to write C style C++, why not just write C and avoid all of C++’s foot guns? | ||||||||||||||
|