by jseims · 14y ago · 0 comments
The concept that the "non programmers" could never understand was the abstraction of functions. Like:
foo(a) { // stuff }
foo(b);
would confuse them because they'd get hung up on foo's parameter declared as 'a', but called with 'b'.
def count_orange_slices(number_of_oranges):
return number_of_oranges * 8
size_of_my_orange_stash = 10
count_orange_slices(number_of_oranges=size_of_my_orange_stash)
>> 80