POV-Ray : Newsgroups : povray.off-topic : Reserved words redux : Re: Reserved words redux Server Time
6 Sep 2024 21:21:34 EDT (-0400)
  Re: Reserved words redux  
From: nemesis
Date: 17 Oct 2008 16:10:45
Message: <48f8f145$1@news.povray.org>
Darren New escreveu:
> You know, I'm kind of surprised I've never seen a programming language 
> (that uses different fonts for different purposes. Something like 
> boldface for reserved words, italics for built-ins, so you could do 
> something like
> 
> *foreach* index *in *mylist *do *item += /length/(mylist[index])
> 
> or something like that. Then you could use things like "in" and "do" as 
> variable names as well. :-)
> 
> -- 
> Darren New / San Diego, CA, USA (PST)
> 

That would utterly suck.  Programming languages should be about meaning 
and meaning is conveyed by words, not by how they are drawn or spelled.

Let external tools do any styling to the source text if you will.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.