function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
VNVN 

Coding Standards for comments in Apex

Hi,

Is there a coding standard that is being followed when adding comments to Apex code. what we are doing is following the standard as Java as follows.

/** * File Name:
* Description
* Copyright : Infosys Technologies Limited Copyright (c) 2001
* * @author :
* Modification Log ===============================================================
Ver Date Author Modification --- ---- ------ -------------
* */
The above is for the header. Statement we are jus putting a '//' and giving comments. Is it the same way or do we have something specific for Apex? Many Thanks Priya Nair
aalbertaalbert
Yes, comments are supported. Link