|
[jira] Created: (BOO-494) conditional: alpha < num < beta instread of alpha: msg#00089lang.boo.devel
conditional: alpha < num < beta instread of alpha < num and num < beta ---------------------------------------------------------------------- Key: BOO-494 URL: http://jira.codehaus.org/browse/BOO-494 Project: Boo Type: New Feature Components: Compiler Environment: All Reporter: Cameron Kenneth Knight alpha < num < beta would be a handy feature because: if num is a method, e.g. alpha < Number() < beta, which changes, you would instead have to do tmp = Number() if alpha < tmp and tmp < beta if num has a long name, it would be more readable. alpha < SomethingWithAVeryLongName and SomethingWithAVeryLongName < beta looks a lot worse than alpha < SomethingWithAVeryLongName < beta It would also possibly provide optimized IL for this expression. quoting botty: ldint32 5 ldarg.s x dup blt hmm the target it breaks to would have to pop tho then ldint32 10 blt -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [jira] Commented: (BOO-250) overloaded functions cannot be "first class functions", Doug Holton (JIRA) |
|---|---|
| Next by Date: | [jira] Updated: (BOO-136) generic given statement, Doug Holton (JIRA) |
| Previous by Thread: | [jira] Commented: (BOO-250) overloaded functions cannot be "first class functions", Doug Holton (JIRA) |
| Next by Thread: | [jira] Created: (BOO-495) ProtectedProperty Attribute, Cameron Kenneth Knight (JIRA) |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |