IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New Limitation is in your head
table rowsMatchingKeys: (dictionary dictionaryWithObjectsAndKeys: value1, key1, value2, key2, value3, key3, nil, nil)

If you like this sort of thing - look at TOM [link|http://www.gerbil.org|http://www.gerbil.org]. The language supports tuples directly as a data type.
New Software engineering is all about our heads
>> table rowsMatchingKeys: (dictionary dictionaryWithObjectsAndKeys: value1, key1, value2, key2, value3, key3, nil, nil) <<

If I am reading this correctly, then it is NOT a dictionary: it is a nascent database creater/manager.

I suppose next you will brag about how it can store objects, "not just data". To which I reply, "whoopty doo". And then point out how that makes it hard to share with other languages and paradigms, among other gripes.

Smalltalk fans are especially likely to brag about how ST "replaces or hides databases".

________________
oop.ismad.com
New No
<quote>
If I am reading this correctly, then it is NOT a dictionary: it is a nascent database creater/manager.
</quote>

What do you think a tuple/row is? Its an ordered list of values. Combine a tuple with a schema (meta data about what is in each location) and its a set of key-value pairs. Which is the same as a dictionary - a set of key value pairs.

Is that a database? Sure. What is the underlying implementation of this database? I don't know or care - could be an interface that interacts with a SQL database table or view, or it could be an in memory data structure like an array of dictionaries.

The dictionary in this instance is being used as the match qualifier ('where' statement). Again, a dictionary is just a convenient programming construct for set of key-value pairs.

I think you have a lot of conceptual issues around programming for databases.
New not necessarily "ordered"
>> What do you think a tuple/row is? Its an ordered list of values. <<

You could say that a "row" is a dictionary, but NOT necessarily "ordered". Some RDBMS provide a default ordering, but I consider these convenience attributes, and not a prerequisite.

________________
oop.ismad.com
     Language with syntax like command(params) ? - (tablizer) - (30)
         Most existing languages have that syntax: C, Pascal, Java... -NT - (CRConrad) - (21)
             I think you are missing my point - (tablizer) - (20)
                 Haven't seen one but ... - (altmann) - (2)
                     good suggestions, but..... - (tablizer) - (1)
                         Haskell - (ChrisR)
                 Isn't it obvious that that's fscking styoopid?!? -NT - (CRConrad) - (3)
                     CRC: Not Delphi == Stupid - (tablizer) - (2)
                         It appears to be a different way to do things - (orion) - (1)
                             are you being a meanee? - (tablizer)
                 Syntax is syntax. - (admin) - (2)
                     complex? - (tablizer) - (1)
                         Simple. - (a6l6e6x)
                 Why? - (ChrisR) - (8)
                     not the full story - (tablizer) - (7)
                         Not a contest with Lisp - (ChrisR) - (6)
                             Guessing but... - (Fearless Freep) - (5)
                                 I doubt it... - (ChrisR) - (4)
                                     not true - (tablizer)
                                     Yes, he's been vocal - but then, he wasn't writing a parser! -NT - (CRConrad) - (2)
                                         A "walk a mile in another's compiler" argument? - (tablizer) - (1)
                                             (addendum) - (tablizer)
                 (minor correction) - (tablizer)
         Interesting idea. - (static)
         TCL? - (Arkadiy)
         Name your arguments - (tuberculosis) - (5)
             not sure I fully agree - (tablizer) - (4)
                 Limitation is in your head - (tuberculosis) - (3)
                     Software engineering is all about our heads - (tablizer) - (2)
                         No - (tuberculosis) - (1)
                             not necessarily "ordered" - (tablizer)

5 out of 7, perfect.
48 ms