← Back to team overview

yade-users team mailing list archive

Re: new 4hedra model help

 

>
>That will make the class names much shorter and more readable. Also
>I'm in favour to switching into lowercase names with underscore. And
>stop using CamelCase. Consider this class name for example, which
>name is better:
>
>  InteractingMyTetrahedron2InteractingBox4InteractionOfMyTetrahedron
>
>or
>
>  big_4_spheres_AND_big_box_TO_ig_4x4_spheres
>
>  
>

Well, it took me several minutes to understand the second convention 
(and still not sure what 4x4 means)... so i'd prefer to stick with the 
first one ;).
Or if you want a simplest naming convention, why not :

big_spheres_AND_big_box_TO_ig_spheres

Is one information missing compared to 
"big_4_spheres_AND_big_box_TO_ig_4x4_spheres"?

Bruno

-- 
_______________
Chareyre Bruno
Maître de conférence

Institut National Polytechnique de Grenoble
Laboratoire 3S (Soils Solids Structures) - bureau I08
BP 53 - 38041, Grenoble cedex 9 - France     
Tél : 04.56.52.86.21
________________

_______________________________________________
Yade-users mailing list
Yade-users@xxxxxxxxxxxxxxxx
https://lists.berlios.de/mailman/listinfo/yade-users



Follow ups

References