A recent tweet by @raganwald pushed me over the edge: I’ve switched from “const only for 100% immutable things” to “const whenever possible”
-
-
omg that's so perfect. As opposed to "well this value never mutated so I guess my linter should force me to make it const"
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@wycats@rauschma@wagenet@raganwald similar to how Rust bindings are immutable by default and ‘mut’ is a signal?Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.