LoL, this made me laugh (in the interview section for Prolog):
"Prolog is a wonderful language, but until you drink the Kool-Aid, it can give you some pretty weird results. I recall one of my first experiments with Prolog, writing something along the lines of x = x + 1. Prolog responded “no.” Languages don’t just say “no.” They might give the wrong answer or fail to compile, but I had never had a language talk back to me. So, I called Prolog support and said that the language had said “no” when I tried to change the value of a variable. They asked me, “Why would you want to change the value of a variable?” I mean, what kind of language won’t let you change the value of a variable? Once you grok Prolog, you understand that variables either have particular values or are unbound, but it was unsettling at the time."
On Fri, 09 Nov 2012 10:06:11 +0100, Jan Burse wrote:
> LoL, this made me laugh (in the interview section for Prolog):
> "Prolog is a wonderful language, but until you drink the Kool-Aid, it > can give you some pretty weird results. I recall one of my first > experiments with Prolog, writing something along the lines of x = x + 1. > Prolog responded “no.” Languages don’t just say “no.” They might give > the wrong answer or fail to compile, but I had never had a language talk > back to me. So, I called Prolog support and said that the language had > said “no” when I tried to change the value of a variable. They asked me, > “Why would you want to change the value of a variable?” I mean, what > kind of language won’t let you change the value of a variable? Once you > grok Prolog, you understand that variables either have particular values > or are unbound, but it was unsettling at the time."
Hehe. I learned C after learning assembler and Prolog and this business of casually (and indirectly) modifying assigned values has always kinda bugged me ;)