Welcome! Log In Create A New Profile

Advanced

questions on delphi code

Posted by nicki 
Announcements Last Post
Announcement SoC Curricula 09/30/2017 01:08PM
Announcement Demarcation or scoping of examinations and assessment 02/13/2017 07:59AM
Announcement School of Computing Short Learning Programmes 11/24/2014 08:37AM
Announcement Unisa contact information 07/28/2011 01:28PM
questions on delphi code
March 01, 2008 12:05PM
hi

In on our delphi code, Wil I be penalized for:

leaving out spaces when writing:
aString:=txtAbc.Text;
instead of :
aString := txtAbc.Text;
?

and when i work with numbers i tend to encapulate them with brackets, this makes the formulas more readable to me:
aDouble := (10 / 5) + 3;
instead of:
aDouble := 10 / 5 + 3;

?

Thanx
Re: questions on delphi code
March 05, 2008 11:14AM
Its good coding practice to make your code more readable. You won't be penalized for it.
Sorry, only registered users may post in this forum.

Click here to login