[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: way-OT: regularity of german v. english [was: Re: OT - Programming Languages w/o English Syntax]



Nori Heikkinen wrote:
On Wed, Oct 22, 2003 at 06:47:13PM -0700, Erik Steffl insinuated:

Nori Heikkinen wrote:

on Sun, 19 Oct 2003 12:38:45PM -0700, Erik Steffl insinuated:

...

of course, you can create various complex and ambiguous sentences in english, the point is that you can take few forms of sentences and
have a working language (that's pretty much what BASIC (talking
about programming language) is).

you can do that in both languages.

let's say you have a function called isRed(x) (returns true if x is red). Now how would you call this function in german? it would never be in agreement with all possible x (grammatically).


how so not?
istRot( dieGabel )
istRot( dasMesser )
istRot( derLoeffel )

how are any of those less grammatical than their english equivalents:

isRed( theFork )
isRed( theKnife )
isRed( theSpoon )

??

not sure if this is the best example


nope, guess not.  try again if you're trying to make a coherent
argument.


- perhaps in this case it would be acceptable to use istRot,
regardless of gender of x.


in fact, in german, adjectives only agree with nouns if they
IMMEDIATELY PRECEDE the noun.  so you have "die Gabel ist rot" (the
fork is red), but "die rote Gabel" (the red fork) -- note that the
feminine "-e" only applies to the adjective "rot" in the case in which
it immediately precedes the noun.

that's what I was confused about. doesn't Rot (in function name) immediately precede the noun? shouldn't the function name be istRote(gabel)? I guess you could argue that even though it's written istRote(gabel) it really is ist gabel rot (because that would be proper question)

now, think of an example in which you encounter anything remotely like
full sentence structure in code, and try to apply this.  good luck.

  what about if the function name is verb? what if it's not a question?

  e.g. getRed(apple), or make(red, apple) etc.

english is like lego, yes there are some pieces that change shape etc. but it consists mostly of bricks and brick like pieces. german (and lot of other languages) is more like putty - you mold things together. the lego-like structure of english makes it easier to create a computer language...

	erik



Reply to: