Erlang (programming language)/Tutorials/List Comments: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Eric Evers
No edit summary
imported>Meg Taylor
m (spelling: prefered -> preferred)
 
Line 3: Line 3:
==Comments==
==Comments==


The prefered comment style in erlang is to use:
The preferred comment style in erlang is to use:
   
   
   %%% triple for module level comments,   
   %%% triple for module level comments,   
   %% double for function level comments and  
   %% double for function level comments and  
   % single for line level comments.
   % single for line level comments.

Latest revision as of 17:21, 11 February 2010


Comments

The preferred comment style in erlang is to use:

 %%% triple for module level comments,  
 %% double for function level comments and 
 % single for line level comments.