2 ms·
It didn't hit me until you in particular said it. This sort of scaffolding reminds me of how I write code. def foo(a,b,c): h = bar(a,b) + bar(b,c)
by sukuriant 16y ago
It didn't hit me until you in particular said it. This sort of scaffolding reminds me of how I write code.
def foo(a,b,c):
h = bar(a,b) + bar(b,c)
if h > a + b + c:
h = dothatotherthing(h,a,b,c)
return h
where neither bar, nor dothatotherthing are written yet. (clearly, they have better names than that)