Timeline for Is readability a valid reason to not use const in (reference) parameters?
Current License: CC BY-SA 3.0
2 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Sep 22, 2016 at 20:52 | comment | added | Jason C |
I agree that the snippet you provide is less readable. It forces a reader to go find out what MObj and str are, and certainly raises eyebrows. It's especially weird for types whose names you already have control over: E.g. Why didn't you just name MyObject as MObj to begin with?
|
|
| Sep 22, 2016 at 7:53 | history | answered | Erdrik Ironrose | CC BY-SA 3.0 |