February 20, 2002 Re: Int to string | ||||
---|---|---|---|---|
| ||||
Posted in reply to DrWhat? | "DrWhat?" <DrWhat@nospam.madscientist.co.uk> wrote in message news:a50fng$1216$1@digitaldaemon.com... > symbol ( memory aid ) > # ( imagine four + signs ) Actually, it reminds me of math "not equal" sign more... > @ ( a for add / array ) Since it usually means "at", I guess it's not the best idea... > $ [ well - basic programmers will like it :-) ] UnrealScripters as well. I have nothing against it, although I like tilde a bit better. It reminds me of a "rope": a~b. Sorta mnemonic =) |
February 21, 2002 Re: Int to string | ||||
---|---|---|---|---|
| ||||
Posted in reply to Pavel Minayev | Yes apparently it was realized that overloading the "+" operator for strings was confusing. It's even more confusing for virtually every other overloading function. That is why operator overloading is a very bad thing and should be avoided. I laugh. Pavel Minayev <evilone@omen.ru> wrote in message news:a4q2kp$1i0s$1@digitaldaemon.com... > "timeless" <timeless@mac.com> wrote in message news:3C702F4D.662B3958@mac.com... > > > Walter wrote: > > > I've been thinking that string concatenation should use a different > operator > > > than the poor old '+'. It should have the same precedence as '+'. Any suggestions? > > > > perl uses '.', i don't know who used it first. > > D uses ~ already. > > |
Copyright © 1999-2021 by the D Language Foundation