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...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

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 1530 - 1559 of 2746   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
1530
... what ... part ... generational ... course, ... my 'squirrel' is stackless. I switched from 'stackful' to 'stackless' while I was prototyping. I personally...
albertodemichelis
albertodemic...
Offline Send Email
Apr 1, 2004
4:27 pm
1531
This is awesome: http://www.malevole.com/mv/misc/killerquiz/ -Chuck -- http://ChuckEsterbrook.com/...
Chuck Esterbrook
chuckesterbrook
Offline Send Email
Apr 4, 2004
11:13 pm
1532
Hello, I'd like to ask you all what's your favorite way of extending a "closed" class. That is, how can you add behaviour to a class you don't control. ... //...
David Jobet
cagouille_ra...
Offline Send Email
Apr 5, 2004
7:28 am
1533
I got 9 of 10. Mohammed ... From: "Chuck Esterbrook" <ce-lists@...> To: <langsmiths@yahoogroups.com> Sent: Monday, April 05, 2004 1:05 AM Subject:...
Mohammed Iqbal
mohammedderh...
Online Now Send Email
Apr 5, 2004
7:55 am
1534
... By not putting methods in classes at all, but having generic functions (see CLOS, Dylan or Cecil). -- __("< Marcin Kowalczyk \__/...
Marcin 'Qrczak' Kowal...
qrczak2
Offline Send Email
Apr 5, 2004
8:44 am
1535
... I've taken a (quick) look at those languages. It seems like you don't have data protection (private, protected, public ...). If your methods are external...
David Jobet
cagouille_ra...
Offline Send Email
Apr 5, 2004
11:24 am
1536
... CLOS doesn't try to protect data fields of objects. In Dylan data fields are accessed through generic functions which can be declared private to a module. ...
Marcin 'Qrczak' Kowal...
qrczak2
Offline Send Email
Apr 5, 2004
11:58 am
1537
... Well, ok, I meant the style is not "object.message(arguments)" (or a variant) but rather "function(object1, object2 ...)" and that was what I meant by ...
David Jobet
cagouille_ra...
Offline Send Email
Apr 5, 2004
12:42 pm
1538
... You can make "object.message(arguments)" a syntactic sugar for "message(object, arguments)", and thus have generic functions with the syntax resembling...
Marcin 'Qrczak' Kowal...
qrczak2
Offline Send Email
Apr 5, 2004
2:46 pm
1539
... Yes, but which instance is used to dispatch in a single dispatch language ? or do you have multiple dispatch ? ... Well, at compil time, I'll have to look...
David Jobet
cagouille_ra...
Offline Send Email
Apr 5, 2004
3:34 pm
1540
... Generic functions are dispatched on multiple arguments in all incarnations I know. Many languages just dispatch on all arguments. In my language you ...
Marcin 'Qrczak' Kowal...
qrczak2
Offline Send Email
Apr 5, 2004
4:08 pm
1541
... That's what Dylan does. I think it's the best kind of OO because you can pass around methods that aren't dependent on a specific class/object, yet it's...
Daniel Ehrenberg
littledanehren
Offline Send Email
Apr 5, 2004
4:15 pm
1542
My favorite way is to not use classes but instead prototypes or generic functions. In both of those, you don't have any sort of static class definition, and ...
Daniel Ehrenberg
littledanehren
Offline Send Email
Apr 5, 2004
4:28 pm
1543
... Use a language that allows you to do this directly. For example, common practice in Smalltalk is to add methods to the root class, Object, or elsewhere on...
Logan, Patrick D
patrickdlogan
Offline Send Email
Apr 5, 2004
5:10 pm
1544
... The purpose is precisely to add features to the language so that it supports it ! :-) ... I don't know if it's dangerous or not. I'm just starting to think...
David Jobet
cagouille_ra...
Offline Send Email
Apr 5, 2004
6:36 pm
1545
... ?? Are you talking about the way I typecheck ? If that's the case, I don't understand your reasonning here. Can you explain ? When I mean "each class", I...
David Jobet
cagouille_ra...
Offline Send Email
Apr 5, 2004
6:44 pm
1546
... Although I don't personally like this, there are reasons for doing this. If you have dynamic typing, it could be "dangerous" because of a runtime error....
Daniel Ehrenberg
littledanehren
Offline Send Email
Apr 5, 2004
8:14 pm
1547
... Well, it seems everybody agree Ruby has the good way. One question though : when you start to extend a class 'C' in a different place than the original one...
David Jobet
cagouille_ra...
Offline Send Email
Apr 5, 2004
8:23 pm
1548
... What happens if two independent packages try to add methods with the same name (either to the same class or to a class and its subclass, but - since they...
Marcin 'Qrczak' Kowal...
qrczak2
Offline Send Email
Apr 5, 2004
8:52 pm
1549
... What about typeclasses? Those can only dispatch on one argument, AFAICT. Are those still generic functions? Daniel Ehrenberg ...
Daniel Ehrenberg
littledanehren
Offline Send Email
Apr 5, 2004
10:00 pm
1550
On Mon, 05 Apr 2004 16:12:40 +0200, "Marcin 'Qrczak' Kowalczyk" ... Dylan does this. It is common to use a 'getter' or 'setter' like: myobject.var := 5; ...
Chris Double
chris.double@...
Send Email
Apr 5, 2004
10:26 pm
1551
I'm wrapping up implementing macros for my language Scarlet and I've been pondering the utility of making them Turing complete. Scarlet is a dynamic language...
Jesse Jones
jesjoness
Offline Send Email
Apr 5, 2004
11:29 pm
1552
On Mon, 5 Apr 2004 13:24:55 +0200, "David Jobet" <david.jobet@...> ... In Dylan the data hiding is performed at the module level. So you'd have your...
Chris Double
chris.double@...
Send Email
Apr 6, 2004
12:00 am
1553
... They don't dispatch on an argument. They dispatch on the type substituted to a type variable in a type pattern. For example Haskell's (==) compares two...
Marcin 'Qrczak' Kowal...
qrczak2
Offline Send Email
Apr 6, 2004
12:13 am
1554
... I didn't say that :-) I don't like classes which contain methods at all. ... Yes. Even without that you can write obj.instance_eval { ...code accessing...
Marcin 'Qrczak' Kowal...
qrczak2
Offline Send Email
Apr 6, 2004
12:25 am
1555
Protection is enforced exactly as if it the extension were in the original class declaration, at least in Ruby. Daniel Ehrenberg ... ...
Daniel Ehrenberg
littledanehren
Offline Send Email
Apr 6, 2004
2:28 am
1556
Although macros are convinient, making them turing-complete is only asking for abuse. You mention C++ as an example, but in C++, templates are usually just...
Daniel Ehrenberg
littledanehren
Offline Send Email
Apr 6, 2004
2:30 am
1557
... I don't know if I agree with that. The parallels with C++ templates seem pretty strong and Turing complete templates have enabled the creation of many...
Jesse Jones
jesjoness
Offline Send Email
Apr 6, 2004
4:45 am
1558
... Well, I mean in a class based language ! :-) Unfortunately, Nosica is class based and methods belong to the class. ... I do agree the author of the...
David Jobet
cagouille_ra...
Offline Send Email
Apr 6, 2004
8:31 am
1559
I don't think pattern matching is awkward in dynamic languages in general, it's just awkward where you're dealing with imperitive methods instead of standalone...
Daniel Ehrenberg
littledanehren
Offline Send Email
Apr 6, 2004
11:19 am
Messages 1530 - 1559 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