123 reputation
7
bio website richardtier.com
location
age 25
visits member for 1 year, 11 months
seen Sep 16 at 15:06

Software tester by day, Python and VBA coder by night. I'm fun at parties.


Sep
24
awarded  Autobiographer
Sep
8
awarded  Popular Question
Jan
17
awarded  Teacher
Jan
17
comment Refactoring: Two big chunks within a function
good point. I have updated the post
Jan
17
revised Refactoring: Two big chunks within a function
explained reasoning
Jan
17
answered Refactoring: Two big chunks within a function
Jan
16
awarded  Scholar
Jan
16
accepted call sub function based on variable value
Jan
16
comment call sub function based on variable value
my migration route was codereview -> stackoverflow -> programmers :)
Jan
15
comment call sub function based on variable value
Thanks to both of you. I will use modules.
Jan
15
comment call sub function based on variable value
@MartijnPieters what about when the sub functions are a 'family' of related functions but live in a file that is populated by many families? I though it logical to group the 'related' functions as nested within a parent function. Is this sensible?
Jan
15
awarded  Student
Jan
15
awarded  Supporter
Jan
15
comment call sub function based on variable value
thats great, thanks. One q: why do you nest a function inside each of the called functions then return the nested function? Is it so the dict contains e.g., func_a() instead of func_a and so the reader can easily see this is a function?
Jan
15
awarded  Editor
Jan
15
revised call sub function based on variable value
added 61 characters in body
Jan
15
comment call sub function based on variable value
@MartijnPieters is correct
Jan
15
asked call sub function based on variable value