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

A compiler in 2024 should be able to handle a function of 100 lines. That's like 1.5 screen heights of code for me, pretty normal! I'd have some sympathy if the function was 10,000 lines, but it'll happen with a 15 line block or a 30 line block or a 60 line block.

I've written code in a bunch of languages and it's the first time that a compiler refuses to compile something, but can't tell me why or which expression is incorrect. "There's something wrong with your function" then I have to go play type checker and hover over every expression wondering what the issue is? I'm just shocked about it every time it happens.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: