|
Posted by Michael Fesser on 10/25/07 18:04
..oO(Sanders Kaufman)
>"Michael Fesser" <netizen@gmx.de> wrote in message
>news:16d1i3t7cjs1ebjfo3u4mfm5rph6eh1t4g@4ax.com...
>> .oO(Sanders Kaufman)
>
>>>Because an algorithm is not a string.
>>
>> Of course it is.
>
>Congratulations.
>That's the dumbest thing said in comp.lang.php - EVER.
Tell me why these:
"Add the two variables x and y."
"<php $result = $x + $y;?>"
are either no strings or don't describe the algo.
>> Even the compiled binary code can be considered a string.
>
>And that's a close second.
What is a string?
It's either this:
http://www.cargal.org/images/gallery/albums/album41/getstringfromobject.sized.jpg
Or just a sequence of symbols or digits chosen from a predetermined set,
which is what we're talking about here. And what is binary code? It's a
sequence of symbols or digits. Since there are usually only digits on
the lowest level, you could also interpret it as a really big integer,
but this doesn't matter here.
In other words: Where's the difference between Shakespeare and a PHP
script? Both use the same alphabet, the same symbols - just in a
different order. So why shouldn't one of your monkeys not be able to
write "Romeo and Juliet", another one writes a speech for Bush (which in
fact does happen quite regularly, SCNR) and a third one comes up with
the MD5 algo for example? Technically they're the same - a sequence of
symbols, a string.
Micha
Navigation:
[Reply to this message]
|