4 ms·
Much like what Natch says, I go about it by asking myself what this function is doing and then proceeding to name it something that mirrors that. If I find mys
by fishmonkey 11y ago
Much like what Natch says, I go about it by asking myself what this function is doing and then proceeding to name it something that mirrors that. If I find myself unable to answer then perhaps the function is doing more than it should be and that also gives me a chance to break it up into simpler functions each doing something that can easily be described by its signature.