Why is "like result" not allowed?

This is a discussion on Why is "like result" not allowed? within the Eiffel forums in Programming Languages category; Is there any problem with using it? Spec says only final feature name or "current"....

Go Back   Application Development Forum > Programming Languages > Eiffel

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 06-12-2008, 12:52 AM
scholz.lothar@gmail.com
Guest
 
Default Why is "like result" not allowed?

Is there any problem with using it?
Spec says only final feature name or "current".
Reply With Quote
  #2  
Old 06-12-2008, 09:06 AM
Simon Willcocks
Guest
 
Default Re: Why is "like result" not allowed?

In message <293598cc-bcfb-433a-b683-d0bc5b161f5f@s21g2000prm.googlegroups.com>
scholz.lothar@gmail.com wrote:

> Is there any problem with using it?
> Spec says only final feature name or "current".


Isn't it pointless?

The declaration would have to be a local to a routine, which will know its
own result type, and to change the routine's result type you'd have to write
another routine anyway.

Simon

--
ROLF - The RISC OS Look and Feel on Linux.
http://stoppers.drobe.co.uk
http://ro-lookandfeel.blogspot.com/
Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 06:32 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.