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

From Citizendium
Jump to navigation Jump to search
imported>Eric Evers
imported>Meg Taylor
m (spelling: prefered -> preferred)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{subpages}}
==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 18: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.