Search the web
Sign In
New User? Sign Up
langsmiths · Language Smiths
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 2680 - 2709 of 2746   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
2680
http://www.cag.lcs.mit.edu/~rinard/paper/osdi04.pdf Objective-C takes this route by allowing message sends to nil to return nil, instead of raising an...
Mike
mike_ekim
Offline Send Email
Dec 6, 2008
6:13 pm
2681
... Haven't read the paper yet, but I did churn out Objective-C code for several years. The feature where "messages to nil return nil" was *really* annoying...
Chuck Esterbrook
chuckesterbrook
Offline Send Email
Dec 6, 2008
11:55 pm
2682
Perl does a lot of the same kinds of stunts. From that experience, I learned that I want failure-*obvious* computing. Failure-oblivious computing seems like...
Robert Fischer
robert.fischer@...
Send Email
Dec 7, 2008
1:02 am
2683
... I think it depends on the context. Floating-point software switched a long time ago from failure-obvious (throwing exceptions on overflow and underflow,...
John Cowan
johnwcowan
Online Now Send Email
Dec 7, 2008
10:10 am
2684
A few years ago I had the displeasure of programming in REXX. It looked like a nice language at first, but one user-friendly feature was that a null variable...
Chris Bogart
cbogart
Offline Send Email
Dec 7, 2008
6:55 pm
2685
Why not have nil be a wrapper around otherwise meaningful data as per OCaml? I hate hate hate hate hate hate hate...
Robert Fischer
robert.fischer@...
Send Email
Dec 7, 2008
6:55 pm
2686
... That's mainly because interrupts are so expensive- we're talking 3000-5000 clocks each way. Which means when your code trips an error code, you just took...
Brian Hurt
bhurt42
Offline Send Email
Dec 8, 2008
12:21 am
2687
Grr. I just noticed it was Robert who dropped that URL in there. Hiyah, Robert- I missed that you were on this list. Brian...
Brian Hurt
bhurt42
Offline Send Email
Dec 8, 2008
12:29 am
2688
I don't know OCaml (or Haskell) well enough, but is this in the same ballpark as nullable/non-nullable types, the same thing, or something completely...
Mike
mike_ekim
Offline Send Email
Dec 8, 2008
1:26 am
2689
Actually, Ruby has a nice approach of being able to catch exceptions at the expression level: employee.company.address.city rescue "not defined" Although the...
Mike
mike_ekim
Offline Send Email
Dec 9, 2008
8:56 pm
2690
Also, when relying one the one-line rescue, you can't specify "this is OK to be null, but this isn't okay to be null", and the ?. encourages you to get to a...
Robert Fischer
robert.fischer@...
Send Email
Dec 9, 2008
9:03 pm
2691
The inline rescue has got me thinking. In the current syntax definition for Impulse, arguments to operators are passed the unevaluated message tree --...
Mike Austin
mike_ekim
Offline Send Email
Dec 10, 2008
9:09 am
2692
This looks an awful lot like Perl's "open(FOO,'bar.txt') || die 'Failed'" idiom. Based on that history, you might end up confusing people -- the symbols might...
Robert Fischer
robert.fischer@...
Send Email
Dec 10, 2008
12:34 pm
2693
I was hoping it looked like the die idiom :) But you're right in that it makes it confusing to reuse a logical-or-looking symbol. You can't specify the type...
Mike Austin
mike_ekim
Offline Send Email
Dec 10, 2008
11:57 pm
2694
I kinda like !> -- I read that "on bang", which is about right. Store the exception in $! and you can do "!>$!" and out-Perl Perl. !! just looks funny to me...
Robert Fischer
robert.fischer@...
Send Email
Dec 11, 2008
1:00 am
2695
Hi all, thanks for the good discussions around various topics, especially around nil/null and logical operators. I've recently created documentation for...
Mike Austin
mike_ekim
Offline Send Email
Dec 14, 2008
2:10 am
2696
Cobra now supports extension methods on generic types, along with several refinements to the language, libraries and samples. Check out the "Cobra December...
Chuck Esterbrook
chuckesterbrook
Offline Send Email
Jan 2, 2009
2:41 am
2697
Ruby and Groovy (and Perl) have a spread/splat operator that allows you to expand a list. How useful is this to programmers, if there is an alternative that...
Mike
mike_ekim
Offline Send Email
Jan 2, 2009
7:40 am
2698
Hi Chuck, I tried installing Cobra a few week ago, but ran into problems. My system drive is "I:", and it seemed to only look for the compiler on drives C:,...
Mike Austin
mike_ekim
Offline Send Email
Jan 2, 2009
7:51 am
2699
... Were you trying 0.8 or this: http://cobra-language.com/trac/cobra/wiki/HowToInstallFromSource ? I recommend installing from source. -Chuck -- ...
Chuck Esterbrook
chuckesterbrook
Offline Send Email
Jan 2, 2009
8:12 am
2700
I find it extremely useful: since packing/unpacking lists are so common operations, it's nice to be able to express that succinctly, because it enables a much...
Robert Fischer
robert.fischer@...
Send Email
Jan 3, 2009
4:51 pm
2701
... I'm not sure a special operator is a good idea here- I really dislike having boatloads of special operators, as I can never remember what the heck they all...
Brian Hurt
bhurt42
Offline Send Email
Jan 3, 2009
6:21 pm
2702
The meaning of foo*.bar().baz.flatten() as Set is a lot clearer to me than Set.ofList $ concat $ map (foo . bar . baz) The distance of the operation to the...
Robert Fischer
robert.fischer@...
Send Email
Jan 3, 2009
6:49 pm
2703
Thanks for the feedback guys. I think I'll go with a middle ground: bazzes = foo map: #bar | map: #baz | flatten as: <set> which is the same as: bazzes =...
Mike Austin
mike_ekim
Offline Send Email
Jan 3, 2009
8:02 pm
2704
... I'm not just what the "def" and "as Set" mean here, but I'm going to guess that in Io this would be: bazzes = foo select(bar) select(baz) flatten I mention...
Steve Dekorte
stevedekorte
Offline Send Email
Jan 3, 2009
9:43 pm
2705
The "as Set" converts the resulting object to a Set. The "def" is just announcing that I'm doing a declaration (like "let"). "bazzes = foo select(bar)...
Robert Fischer
robert.fischer@...
Send Email
Jan 3, 2009
10:03 pm
2706
Hi Steve, glad you could join us :) Io's use of unevaluated messages is an awesome tool, but there is one small issue and maybe it can be resolved easily....
Mike Austin
mike_ekim
Offline Send Email
Jan 3, 2009
10:26 pm
2707
... If you want to use block instead of messages, I'd recommend using a map method designed for that: List bmap := method(b, self map(i, v, b call(i, v)))...
Steve Dekorte
stevedekorte
Offline Send Email
Jan 3, 2009
10:46 pm
2708
... This purely a function of familiarity with the idiom. Which is a problem with language design- a lot of people confuse their familiarity with the idiom...
Brian Hurt
bhurt42
Offline Send Email
Jan 3, 2009
11:18 pm
2709
This got caught in my spam filter for some reason. To answer your question: yes, "bar()" is just a method call. So you can call "ones*.plus(2)" or whatever. ...
Robert Fischer
robert.fischer@...
Send Email
Jan 6, 2009
4:13 am
Messages 2680 - 2709 of 2746   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help