:: Re: [DNG] filosofies behind program…
Etusivu
Poista viesti
Vastaa
Lähettäjä: Didier Kryn
Päiväys:  
Vastaanottaja: dng
Aihe: Re: [DNG] filosofies behind programming languages
Le 04/11/2024 à 02:26, karl@??? a écrit :
> I consider PostScript a lovely language to produce printed outputs.
> Unfortunately print drivers abuses it and makes it more or less
> unreadable.


    Yes, Postscript is much like "Polish inverse notation": you put the
operands on the operational stack, and then invoke the operator or
subroutine. This is an unusual way of thinking, but it is very nice. It
was the first language, AFAIK to permit vector drawing (by the end of
the 70s). But, actually, though you can write Postscript by hand, it is
most of the time written by libraries. Do you known many people who
write Postscript (last time for me was probably in the 80s).

    About such corruptions, you can look at the SVG code produced by
design tools, even by Inkscape. I use to write SVG with Emacs. Sometimes
Inkscape is more productive, but I then clean up the result, which makes
it readable and typically divides the size by 2.

    And what about makefiles generated by the Gnu config tools? I think
this is the worse I've ever seen: just unreadable black boxes.

--     Didier