Given a choice between a feature that's part of thre syntax of a language, and one that's part of the library, which would you choose? (No ending time set) |
Syntax |
|
33% |
[ 4 ] |
Library |
|
66% |
[ 8 ] |
|
Total Votes : 12 |
|
Author |
Message |
wtd
|
Posted: Mon Jan 09, 2006 2:49 pm Post subject: Syntax or library |
|
|
See poll. |
|
|
|
|
|
Sponsor Sponsor
|
|
|
rizzix
|
Posted: Mon Jan 09, 2006 3:38 pm Post subject: (No subject) |
|
|
Well I believe the language should be as mininalistic as possible. The library on the other hand should be powerful and well documented. |
|
|
|
|
|
md
|
Posted: Mon Jan 09, 2006 5:12 pm Post subject: (No subject) |
|
|
I like powerful libraries, so long as they are well documented. A powerful library combined with fairly simple and powerful syntax would be best. |
|
|
|
|
|
Cervantes
|
Posted: Mon Jan 09, 2006 5:19 pm Post subject: (No subject) |
|
|
Library, but the language should be flexible enough to incorporate the library nicely (such as +, <, <=> methods in Ruby look like operators), or flexible enough to not require an enormous library. |
|
|
|
|
|
Martin
|
Posted: Mon Jan 09, 2006 6:13 pm Post subject: (No subject) |
|
|
That's why I like C++ |
|
|
|
|
|
wtd
|
Posted: Mon Jan 09, 2006 7:18 pm Post subject: (No subject) |
|
|
Well, I wasn't actually asking this as a "how would you do it in your ideal language" question, but rather as "faced with the choice in some existing language, are you more likely to use syntactic sugar, or the library? |
|
|
|
|
|
Martin
|
Posted: Mon Jan 09, 2006 7:21 pm Post subject: (No subject) |
|
|
Libraries still. I think it keeps things more organized. |
|
|
|
|
|
rizzix
|
Posted: Mon Jan 09, 2006 11:26 pm Post subject: (No subject) |
|
|
You know me. Library > syntax sugar. |
|
|
|
|
|
Sponsor Sponsor
|
|
|
wtd
|
Posted: Tue Jan 10, 2006 12:24 am Post subject: (No subject) |
|
|
Ok. Just wanted to rephrase, since we don't all have the luxury of designing the languages we use.
How does this mesh with syntactic sugar that simply calls library functions/procedures/methods/subroutines?
For instance, in Ruby, defining the "each" method, then using "for ... in ... end". |
|
|
|
|
|
|