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

I imagine they could (in theory) simplify it to

  sig(name: String, id: String).returns Integer
Losing the block maybe has some undesirable performance implications, but it looks a little nicer without the curly braces.


I think they did this originally but the performance implications were a deal breaker, and had to move to blocks. Iirc, which is questionable.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: