Hallo Ivanko,
Du schriebst am Mon, 18 Nov 2013 16:01:43 +0500:
> as long as FPC has ":=" which definetely misses its brothers :)
":=" _DOES NOT_ _have_ "brothers", neither sisters - it is a construct
meant to _actively_ display a directed operation which cannot be reversed:
ASSIGNMENT.
This notion has been completely disappeared from every programming language
of C legacy, where misled programmers often even write an assignemnt as if
it were a symmetrical operation.
And what has prompted the C implementors to invent an unneccessary new
operator for the truely symmetrical operation of comparison for equal.
(You can exchange the operands of an "equal" comparison without altering
the result, try that with an assignment!)
> case of string.
> ===============
> And no CASE for (strangely discriminated) float/numeric types :) And
Present a working and useful implementation, and I think not only Martin
will accept it. It seems a bit like these constructs didn't really show
sufficient value, so most programming language definitions put them aside.
> "FOR .. BY <step>" for them as well.
That's a candidate for further consideration, indeed. The only slight
problem is the use of the "step" value in conjunction with a notion of in
which direction the index should count. There are 4 possibilties:
1.- step positive, direction up
2.- step positive, direction down
3.- step negative, direction up
4.- step negative, direction down
1. and 4. are certainly useful, but what about 2. and 3.?
These latter ones are contradictory and should never occur with constant
counting expressions, but what if variables are used? They need to be
handled sensibly, and it has to be defined for all acceptible types what
the language does then.
After all, a _compiler_ is a program to create other programs. If it is
faulty, the compiled programs will be faulty to, and so neither are useful.
So, a compiler has to specified painstakingly thorough and precise, and
implemented just so.
--
--
(Weitergabe von Adressdaten, Telefonnummern u.ä. ohne Zustimmung
nicht gestattet, ebenso Zusendung von Werbung oder ähnlichem)
-----------------------------------------------------------
Mit freundlichen Grüßen, S. Schicktanz
-----------------------------------------------------------
------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing
conversations that shape the rapidly evolving mobile landscape. Sign up now.
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk