A still sensible question about _ and :=
Raab, Andreas
Andreas.Raab at disney.com
Tue Apr 24 07:41:20 UTC 2001
Stephane,
> Fun to see your answer before my post ;)
> Can you see into the future? because I have a lot of
> questions for you then.
Oops. I *knew* I should've waited until I got your message...
[ := vs. _ ]
> I have the impression that this _ speed key could be solved
> at the level of the IDE rather than the language. Imagine that
> the key ctrl _ produce := you would be as fast and we could
> get rid of that stuff.
Nice idea. Unfortunately, the underscore is a shifted character and
ctrl-shift is one of the most unconvenient combinations I can think of (I
know that there are probably some Squeak shortcuts using those but I just
never use 'em ;-)
No, seriously, I could certainly live without using the underscore but
colon-equal actually looks pretty ugly to me. I'd much rather use <- (even
though it's not ansi ;)
Oh, and by the way, the last time I checked VW for it I found that it *does*
support the left-arrow; just at its proper location in the Unicode range...
> Yes I agree when I saw that I said really cool. I started to
> like it. Then I saw horrible code in an industrial project with
>
> {[ ablock capturing variables] [another block]
> [ ablock capturing variables] [another block]
> [ ablock capturing variables] [another block]
> [ ablock capturing variables] [another block]
> [ ablock capturing variables] [another block]} cond
>
> The list was much more than tha and with nested cond ;(((((
> Here you could say anybody can write bad code sure.
Oh dear. That *is* ugly. No arguing about it.
Cheers,
- Andreas
More information about the Squeak-dev
mailing list
|