Idea regarding method name

30 views
Skip to first unread message

julius

unread,
Sep 21, 2012, 7:51:30 AM9/21/12
to scala...@googlegroups.com

Hi,

When we want to check the state when doing something, the method might be named as
checkStateIsAtWhen(state,action), It seems it is not so nice to understand it. if we can write like
checkSateIsAt(state)When(action), it could be more descriptive and easy to read.
 
Is it possible implemented in scala
 

Thanks

Julius

Reply all
Reply to author
Forward
0 new messages