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

The ONLY time it makes sense for me to drop . is for some DSL stuff and some math operator stuff...

But really - this is why you have a style guide. Make your style guide say "Always use . unless a math operator". Then the guy that does

foo map x + y filter < 2 foreach println

gets bonked in the head and told to rewrite it.

You would do the same in Java to the guy who wrote a 600 line method, right? Should the JVM enforce the no 600 line method rule, or can we deal with it in style guides? Because the 1 time I need to write a 900 line method, I am sure glad the JVM doesn't limit me.



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

Search: