On Sat 13 Mar 2021 at 21:13, Alexander Burger <a...@software-lab.de> wrote:
> On Sat, Mar 13, 2021 at 08:59:37PM +0100, Tomas Hlavaty wrote:
>> On Sat 13 Mar 2021 at 19:09, Alexander Burger <a...@software-lab.de> wrote:
>> > On Sat, Mar 13, 2021 at 06:48:22PM +0100, Tomas Hlavaty wrote:
>> >>    (de <div> (Col . Prg)
>> >>       (prin "<div class=\"" Col "\">")
>> >>       (run Prg)
>> >>       (prin "</div>") )
>> >> 
>> >> prin has side-effect.
>> >
>> > Nonsense! 'prin' *is* the only and desired effect.
>> 
>> see https://en.wikipedia.org/wiki/Side_effect_(computer_science)
>> for explanation what side-effect means
>
> I think I know what a side effect is ...
>
> But OK, "In computer science, an operation, function or expression is said to
> have a side effect if it modifies some state variable value(s) outside its 
> local
> environment".
>
> Please where does <div> have a side effect?

prin performs I/O

<div> calls prin

   Example side effects include [...] performing I/O or calling other
   side-effect functions.

> Again: This discussion is Kindergarten. I wonderhow many members of this list 
> we
> drive off.

hmm

> Haha, come on! Don't be picky! In this case 'Cls' is a simple class name.
> Garbage in garbage out.

Similar attitude have developers of beA - Das besondere elektronische
Anwaltspostfach - BRAK.  They do not escape their XML properly but use
string concatenations.  The result is that their XML responses are
invalid and I cannot use proper validating XML parser but have to
extract relevant data ad-hoc using text search.  And using this software
is mandated by German law!  I would not be surprised if the whole thing
is totally insecure.  Goodbye mandant/lawyer confidentiality.

-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Reply via email to