ca_redwards
10-12-2005, 07:15 PM
I have developed a few tips, but would like to hear your ideas too.
Never nest parentheses. I refactor any simple inner expression as its own local variable.
Type both opening/closing brackets/parentheses/quotes before entering any content. I type both the opening and closing, then left arrow, and enter the inner content (then right arrow, if needed). If I abandon this construct to refactor out some complicating subexpression, then at least this expression will be syntactically complete on its own.
I have many others, but would like to hear others tips as well.
Never nest parentheses. I refactor any simple inner expression as its own local variable.
Type both opening/closing brackets/parentheses/quotes before entering any content. I type both the opening and closing, then left arrow, and enter the inner content (then right arrow, if needed). If I abandon this construct to refactor out some complicating subexpression, then at least this expression will be syntactically complete on its own.
I have many others, but would like to hear others tips as well.