Timeline for Does auto make C++ code harder to understand?
Current License: CC BY-SA 4.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
S Dec 11, 2023 at 7:56 | history | suggested | Cloud Cho | CC BY-SA 4.0 |
Easier to read and added one reference
|
Dec 6, 2023 at 22:20 | review | Suggested edits | |||
S Dec 11, 2023 at 7:56 | |||||
Oct 24, 2019 at 11:04 | comment | added | dev_null | I mostly suffer from #3 above. You try to read a code to find a bug and you see 10 lines with auto... No any clue what types are beneath or what they do | |
Nov 17, 2015 at 14:53 | comment | added | Notinlist |
I have found one more useful case: auto something = std::make_shared<TypeWithLongName<SomeParam>>(a,b,c); . :-)
|
|
Jul 25, 2015 at 9:17 | comment | added | Deduplicator | A good "be damned cautious"-answer. @cmaster: There it is. | |
Jul 25, 2015 at 7:03 | comment | added | cmaster - reinstate monica | You nailed it. Wish I could give this a +2. | |
Jul 25, 2015 at 1:25 | review | Late answers | |||
Jul 25, 2015 at 13:21 | |||||
Jul 25, 2015 at 1:10 | review | First posts | |||
Jul 25, 2015 at 6:08 | |||||
Jul 25, 2015 at 1:09 | history | answered | Tim W | CC BY-SA 3.0 |