|
|
|
|
|
by penguindev
4273 days ago
|
|
As a 15 year vet, I agree, surely its time for something with new design goals. - safe by default: you have to opt in to extra magic / conversions. c++ is totally broken here. sure, we'll let you easily use uninitialized data/classes with auto generated constructors, and do conversions on your arguments, that was what you meant, right? I mean really, the shortest and quickest thing to do should always be the safest. make the speed freaks opt in to the 'leet / magic stuff'. - still keep the option to use exceptions for stuff that, you know, is actually exceptional in your project. I'm actually looking at modern java and finding it not horrible, but there are some issues in java that don't exist in c++ like 1) nulls 2) type erasure of generics 3) stupid object.equals() defined by default and not typesafe. Sigh. |
|