2 ms·
body = view('confirmation.msg’).render( list=list, [...] Rebinding the list builtin in the snippet on your homepage? Is there a good reason for that?
by jodrellblank 18y ago
body = view('confirmation.msg’).render( list=list, [...]
Rebinding the list builtin in the snippet on your homepage? Is there a good reason for that?
- jerf 18y agoNo, there's no good reason for it. The binding doesn't "go" anywhere, so it's not that big a deal either, but it's "bad style".
- inklesspen 18y agoThat's not rebinding. That's a keyword argument. Now, the 'list' in the argument list is rebinding.