expr_editor program DRY