Free Republic
Browse · Search
Bloggers & Personal
Topics · Post Article

To: kiryandil

Coding style is very important. Code should be easy to follow and read. I speak from professional experience. NOT teaching the good coding style cheats the students.


12 posted on 01/13/2020 5:07:21 PM PST by doomtrooper99 (Mr Truman, you did not finish the job)
[ Post Reply | Private Reply | To 9 | View Replies ]


To: doomtrooper99

Yep. The school that caves to this requirement is making their students unemployable. If they manage to land a job, they won’t keep it for very long. They’ll drive their co-workers nuts and the lead engineer will be telling the chief engineer, “We gotta get this clown outta here.” When they’re in their probationary period, how hard do you think that will be? Buh bye, PC loser!


21 posted on 01/13/2020 6:05:49 PM PST by Excuse_My_Bellicosity (Liberalism is a social disease.)
[ Post Reply | Private Reply | To 12 | View Replies ]

To: doomtrooper99
Code should be easy to follow and read.

Exactly.

Slacking [which today's yutes learn in SPADES] also leads to poor documentation. Teaching discipline in your coding corrects some of that.

25 posted on 01/13/2020 7:49:42 PM PST by kiryandil (Chris Wallace: Because someone has to drive the Clown Car)
[ Post Reply | Private Reply | To 12 | View Replies ]

To: doomtrooper99

I just hate to work on undocumented software. It is especially bad when the code is either too clever or just pedestrian.


29 posted on 01/14/2020 6:51:32 AM PST by GingisK
[ Post Reply | Private Reply | To 12 | View Replies ]

To: doomtrooper99

“Coding style is very important. Code should be easy to follow and read. I speak from professional experience. NOT teaching the good coding style cheats the students.”

totally. aside from being correct and robust, style is everything, because great style is what allows others to understand and easily modify a code; great style also helps to prevent bugs and makes finding bugs easier.

style includes a large number of elements, including:

1. Extensive and USEFUL commenting

2. Indention and use of a large amount of space (as opposed to scrunching everything up)

3. Avoidance of multi-line statements

4. Avoiding use of complex, esoteric, and obtuse constructs, including avoiding uncommon language elements unless there’s a damn good reason.

5. And of course use of structured programming techniques, such as avoiding breaking out of complex, nested loop structures in a willy nilly fashion, etc.


30 posted on 01/14/2020 12:00:57 PM PST by catnipman (Cat Nipman: Vote Republican in 2012 and only be called racist one more time!)
[ Post Reply | Private Reply | To 12 | View Replies ]

Free Republic
Browse · Search
Bloggers & Personal
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson