This is not great as it can be easily misused like
check_input("pool_size", pool_number)
Ideas for improvement:
pass only the variable and get the "string" within check_input (lame)
remove check_input entirely, and use the underlying check_* functions. This removes the dependency on each needing to assign a string to the correct function (ideal)
Related to #27
Usage currently looks like
This is not great as it can be easily misused like
Ideas for improvement:
check_input
(lame)check_input
entirely, and use the underlyingcheck_*
functions. This removes the dependency on each needing to assign a string to the correct function (ideal)