The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

Re: [OT] Coding style nazis



Who says that is wrong, its up to you. If you work in a group you may have
=
to adopt to the "standard" used in the group. If your on your own
use your =
own style and stick to it.

Regards
/Ake

---
Ake Hedman (YAP - Yet Another Programmer)
eurosource, Brattbergav=E4gen 17, 820 50 LOS, Sweden
Phone: (46) 657 413430 Cellular: (46) 73 84 84 102
Company home: http://www.eurosource.se=20=20=20=20=20=20
Kryddor/Te/Kaffe: http://www.brattberg.com
Personal homepage: http://www.eurosource.se/akhe
----- Original Message -----=20
From: UKHA=20
To: ukha_d@xxxxxxx=20
Sent: Thursday, July 08, 2004 9:35 PM
Subject: [ukha_d] [OT] Coding style nazis


Ok,

Totally OT, but there you go.

I'm looking for some decent resources that will explain why my coding sty=
le is "wrong", anyone have any?

I'm referring to stuff like why:

for (my $x=3D0;$x<@_;$x+=3D2) {
somestuff;
somestuff;
somestuff;
somestuff;
somestuff;
}


is better than:

for (my $x=3D0; $x < @_; $x+=3D2)=20=20
{
somestuff;
somestuff;
somestuff;
somestuff;
somestuff;
}


(assuming yahoo doesn;t make a right old pigs ear of it)


Andy









UKHA_D Main Index | UKHA_D Thread Index | UKHA_D Home | Archives Home

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.