On 03/03/07 22:09 +0530, Raj Mathur wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Saturday 03 March 2007 18:10, Kenneth Gonsalves wrote:
On 03-Mar-07, at 5:35 PM, quasi wrote:
dig this. I can do inaccurate pointer manipulation in C. I can exceed array boundaries in C. So C sux right, by you logic ? It is funny how "safe" stuff and crappy programmers somehow end up together.
precisely my point. The vast majority of programmers in this country are crappy programmers - maybe due to the education system
Minor correction here: s/in this country//
Sturgeon's law applies to programmers as well.
or maybe due to the climate. So how do you get good code out of them? certainly not by letting them loose to code in C or php (or
You don't. You replace them with good programmers.
java or perl, for that matter) - you do it by getting them to learn the safe languages like python or pascal. Then let the good ones go further into unknown territory. And then there would be less crappy code in the world.
That's so... wrong. You don't teach programmers safe programming languages, you teach them safe programming. You don't teach
You do need to use a language which allows safe programming techniques. Things like, say, prepared statements.
programmers decent indentation by forcing them to use a language that enforces indentation, you just teach them decent indentation. You
8 space tabs!
Devdas Bhagat