Hacker News new | past | comments | ask | show | jobs | submit login

Best practices are best automated. Syntax highlighting helps tell apart vars and funcs so you don't need to offload it to naming conventions.

Some new approach of tags, where every variable, class name, function name can have multiple tags describing it as Factory, Adapter, Handler, whatever, can also remove this often unnecessary information from the shorthand name. Only display it in some deep editing mode or something.

Capitalization can also be handled by tags, each word in CapitalizedCamelCase or underscored_lower_case is just a tag. The IDE should handle this, so you never have to read about inconsistent naming conventions in various languages.

Each item like a var or function gets a unique ID, so you don't have to do search replace by name and find a bunch of other things with similar names in the process.

A lot of these problems stem from still using plain text as the medium.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: