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

I personally found it worse to read, because it makes function blocks different from other blocks. Also, if you define nested functions in Matlab, all functions in the file have to be closed with end anyway.

Nothing is as bad, though, as the default Matlab behavior of not indenting first-level function code. This makes it really hard to scan a file with multiple functions and see where they separate.



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

Search: