Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The first thing I always do is define log. It's bonkers to use console.log() for js. a simple window.log=console.log.

Secondly, in your example, no need to label the names. This is almost always understood by context. So, pretty manageable. e.g. in JS: log(`${longvarname}, ${secondvarname}`)



Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: