John Carmack on mutable variables(twitter.com)
447 points by azhenley | 523 comments
A tweet by John Carmack advocating single assignment and avoiding variable reassignment, noting that in C/C++ making variables const by default is good practice.
1 story tagged single-assignment, newest first.
447 points by azhenley | 523 comments
A tweet by John Carmack advocating single assignment and avoiding variable reassignment, noting that in C/C++ making variables const by default is good practice.