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

It's a design choice.

To make a compiler automatically handle all of the cases like that, you will need to do an extensive static analysis, which would make compiling take forever.



Would be nice if an IDE can autofix it.

Maybe autofix as we type, or autofix when it save the document / advance to next line.




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

Search: