POV-Ray : Newsgroups : povray.general : macro naming convention : Re: macro naming convention Server Time
20 May 2024 11:43:33 EDT (-0400)
  Re: macro naming convention  
From: Alain Martel
Date: 13 Jul 2023 08:10:20
Message: <64afe9ac$1@news.povray.org>
Le 2023-07-13 à 00:03, And a écrit :

> 
> Is it a good idea offer only one (public using) macro in an include file?
> 
> I just see someone use two underscore __ to connect words, then use another one
> underscore _ , I would like to know the occasion.
> 
There is no real reason to have only one macro per include. In fact, is 
you look at the distribution, you'll find several includes that provide 
several macros.

The good practice would be to bundle macros that are somewhat related.


Post a reply to this message

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