|
|
On 7-3-2013 8:29, Kenneth wrote:
> "Samuel Benge" <stb### [at] hotmailcom> wrote:
>
>>
>> Version 0.2 was released before I started using uppercase letters for
>> everything. Somebody once mentioned how even seasoned povvers sometimes use
>> lowercase letters for their variables, and how said case might eventually
>> interfere with POV's reserved keywords, so I've tried to use uppercase ones ever
>> since. I might have to release another version simply for that :)
I regularly have to remind myself too...
>
> OMG, I almost never use capital letters for variables :-O
You have sinned against the First Rule of POV-Ray ;-)
>
> But then again, my variable names are almost never as simple as
> #declare aaa = 45;
> They're partial sentences(!)--like...
> #declare rotation_for_my_cylinder_object_around_ground_heightfield = 45;
>
> Lots of typing of course--thank God for cut-and-paste! ;-)
>
> But for me, this removes a 'level of abstraction' in my scene code, so I easily
> know where to go when there's a problem, or I want to change something without
> having to think too hard about it.
I know what you mean. While not as extreme as your example, I often use
long words too.
>
> The trouble comes if I want to post my code--then I have to go back and
> *simplify* the names. Using capital letters for that is probably a very good
> idea!
Absolutely.
Thomas
Post a reply to this message
|
|