Ask HN: What is your best advice for a developer to write better code? 146 points by gdaz·3806 days ago·Show in HN
Never reassign a variable with a different value.
Don't try to use every feature of a language.
A two-liner is sometimes more efficient and readable than a one-liner.