5 ms·
if (somecondition): return if (anothercondition): return Now, let's say for a second that I just realized I don't want to return, I want t
by jhdevos 14y ago
if (somecondition):
return
if (anothercondition):
return
Now, let's say for a second that I just realized I don't
want to return, I want to do some processing, then
return. This happens a few times a day for me. I just
multi-select both "if"s, hit enter, and add the code.
Not a great example, because this only leads to code duplication.