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

this problem is precisely what tooling is for. golang for example solves the explicit import problem quite nicely with almost no friction outside of ambiguous cases, which you'd need to handle explicitly anyways.


I think golang makes for an interesting example:

Your program won't compile if you have unused imports, or even unused variables.

Which is low-friction for maintenance. You're not going to have to worry if deleting something is unsafe.

But this strong-arm implementation of a lint means that iterating on code meets high friction. It slows down developer iterations as you have to comment/uncomment in order to compile. -- "But if you use some tool it's not so bad" is advice I've been given, which strikes me as the same as "automatic loading isn't so bad if you're using an IDE".




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

Search: