needs conditionals

2025-10-13

most medical, nursing, or pharmaceutical instructions have one function call without any conditionals.

def do_something():
    # at least it's documented
    just_do_it()

such unthorough commands kinda work most of the time, but can face inevitable misinterpretations.

what is missing is conditionals.

def do_something_please():
    # better way
    if a:
        dont_do_it()
    elif b:
        do_this()
    elif c:
        do_that()
    elif d:
        do_something_else()
    else:
        call_me()