?

Log in

No account? Create an account

Previous Entry | Next Entry

Jun. 2nd, 2005

What is the most important data type to you?

Integer
7(31.8%)
Float
0(0.0%)
Infinite precision number
2(9.1%)
String
7(31.8%)
List
3(13.6%)
Class
3(13.6%)

Comments

( 15 comments — Leave a comment )
bluesbodger
Jun. 2nd, 2005 11:28 am (UTC)
Missing Option
CowboyNeal's ascendant sign.
he_was_here
Jun. 2nd, 2005 11:46 am (UTC)
I think you need to put "geek alert" in the subject line of posts like these.
:-p
aredridel
Jun. 2nd, 2005 12:51 pm (UTC)
Haha. I figured the lack of "friends only" icon would say "Geeks! Read!"
thelhf
Jun. 2nd, 2005 11:47 am (UTC)
Not sure what most of them mean, but Infinite precision number sounds the coolest.
anandabrat
Jun. 2nd, 2005 12:26 pm (UTC)
I picked the one with the funnest name.
aredridel
Jun. 2nd, 2005 12:52 pm (UTC)
Yay for you!
vruba
Jun. 2nd, 2005 12:39 pm (UTC)
Someone should start the Float Anti-Defamation League. “They may seem sloppy, but they’re really useful. No, really. Come back!”
aredridel
Jun. 2nd, 2005 12:53 pm (UTC)
Floats are useful in ... uh... okay, in graphics.
noam_rion
Jun. 2nd, 2005 12:59 pm (UTC)
*giggles*
(Deleted comment)
bluesbodger
Jun. 2nd, 2005 02:05 pm (UTC)
See, that's all stored as strings of ones and zeroes, which are integers. I can float you a list of classes on the subject if you need a more precise definition.

That help?
aredridel
Jun. 2nd, 2005 07:17 pm (UTC)
That's "String"
arvindn
Jun. 2nd, 2005 04:45 pm (UTC)
Strings are more powerful than most people think
Its amazing how much you can do with just strings.

From doc/awkforai.txt in the gawk distribution:

Most people are surprised when I tell them what language we use in our
undergraduate AI programming class. That's understandable. We use
GAWK. GAWK, Gnu's version of Aho, Weinberger, and Kernighan's old
pattern scanning language isn't even viewed as a programming language by
most people. Like PERL and TCL, most prefer to view it as a "scripting
language." It has no objects; it is not functional; it does no built-in
logic programming. Their surprise turns to puzzlement when I confide
that (a) while the students are allowed to use any language they want;
(b) with a single exception, the best work consistently results from
those working in GAWK. ...

First it must be confessed that PERL programmers can cobble together AI
projects well, too. Most of GAWK's attractiveness is reproduced in
PERL, and the success of PERL forebodes some of the success of GAWK.
Both are powerful string-processing languages that allow the programmer
to exploit many of the features of a UNIX environment. ...

Second, inference is merely the expansion of notation. No matter whether
the logic that underlies an AI program is fuzzy, probabilistic, deontic,
defeasible, or deductive, the logic merely defines how strings can be
transformed into other strings. A language that provides the best
support for string processing in the end provides the best support for
logic, for the exploration of various logics, and for most forms of
symbolic processing that AI might choose to call "reasoning" instead of
"logic." The implication is that PROLOG, which saves the AI programmer
from having to write a unifier, saves perhaps two dozen lines of GAWK
code at the expense of strongly biasing the logic and representational
expressiveness of any approach.
aredridel
Jun. 2nd, 2005 07:19 pm (UTC)
Re: Strings are more powerful than most people think
Interesting. I think I have a new thing to google.
robin_roe
Jun. 2nd, 2005 05:11 pm (UTC)
Option 7 - Chocolate!

Sorry hon, but it's been a long day at the slave farm and i don't feel like running my brain right now...
bikko
Jun. 2nd, 2005 06:58 pm (UTC)
How could you not love Infinite Precision Number?!
( 15 comments — Leave a comment )