dont do word wrap and leave your lines huge find how your language handles multilne strings examples on JS/PHP/etc

dont keep global state. avoid it in any situation use pure functions and flow the state through them.