2 comments

[ 3.2 ms ] story [ 13.6 ms ] thread
> If I want to bake a pie, I just grab the ingredients and bake it. ... Don’t use parameters in your programs.

If you ignore the parameters like the precise amount of each ingredient, the order in which you mix them, the oven temperature and how long to bake your pie -- It'll be a pretty shitty pie.

For now I think I'll keep using functions with parameters.

Sure. You do need that information to make a good pie. I just think that using the parameters to provide that information is the wrong way to go about it.