Re: [Spirit Qi %] (x%y) not semantically equivalent to (x >> *(y >> x))

Frank Hein <[email protected]>
Newsgroups gmane.comp.parsers.spirit.general
Message-ID <[email protected]>
Don't get me wrong, please. You actually do not need the % operator at all. As far as I understand it,  it is intended to be a way to express x >> *(y >> x) shorter and therefore more elegant. 

If that (and I actually just believe and not know that) was the intention to introduce an otherwise obsolete operator, this intention is missed. If they want you to use one for the other one must behave aus the other in any case. That's my notion of same sematics here. 

X % Y is not a fully featured replacement for X >> *( Y >> X). But once you know that, it's ok and you just drop % (until you find a case where it's special  behaviour is needed). Not ok for me at least is that each and any user has to find that out the hard way by trial and error that both Idioms are not the same. 

That's because you do not expect the reason of your problem to be right at this place. This is one of the last places to search. 

Frank Hein

Geschäftsführer
maxence business consulting gmbh 

phone +49-(0)-2133-2599-0
fax +49-(0)-2133-2599-29
cell +49-(0)-151-54 74 29 89
internet [email protected]
skype fhmaxence

Am Weißen Stein 1
Stürzelbergcenter
D - 41541 Dormagen 
Sitz der Gesellschaft: Dormagen
Handelsregister: HRB 8966, Neuss
Geschäftsführer: Dipl.-Inform. Frank Hein
www.maxence.de

Von meinem iPhone gesendet
>

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e

_______________________________________________
Spirit-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/spirit-general
smime.p7s (application/pkcs7-signature, 5.1 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.