The fascinating thing about trying to do things the "quick and dirty" or the cheap way... is it never works out.<br>And you maybe even thought you were going to get away because your boss said to you "Just do it real quick" ... and at first your brain let you believe that maybe it could actually be "quick and cheap".<br>
<br>Then your program got to line 1,003,389 -> and you weren't using bound variables because, well, you are being lazy, and its just supposed to be "Quick and Cheap".<br><br><br>!line: 1,003,389<br> error: Database Insert Failed -> syntax error at or near "S"<br>
LINE 1: ...NE','RD',' ','0000001376','0000001376','E','MR K'S',' ',...<br> ^<br>Even if you have an error on the 1-millionth line of a file... the file still doesn't import - it doesn't matter if its only 0.001% of the data - you are still screwed.<br>
I love programming :) - It is really quite "All or Nothing" - My boss's perception that things can be done in varying levels of "completeness" must come from the IT/Sysadmin people. ;)<br><br>Maybe varying levels of "features" or "requirements" but completeness no.<br>
<br><div class="gmail_quote">On Mon, Feb 1, 2010 at 12:05 PM, Adam Tauno Williams <span dir="ltr"><<a href="mailto:awilliam@whitemice.org">awilliam@whitemice.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Mon, 2010-02-01 at 10:02 -0600, L. V. Lammert wrote:<br>
> At 10:43 AM 2/1/2010 -0500, you wrote:<br>
> >Etc. Leading to the question, if PHP is so bad, why is it so prominently<br>
> >used? Why are so many willingly using garbage? Or,why is it that some<br>
> >think it's good?<br>
> >So why PHP? Is there something unique that only it does?<br>
<br>
</div>Two words: Install base. It does nothing unique and nothing especially<br>
well.<br>
<br>
PHP was the first of its kind, which led to a large installed [user]<br>
population.<br>
<div class="im"><br>
> Or is it maybe<br>
> >that finding people that know something about it is easier than finding<br>
> >people who know something about a better approach?<br>
> Many reasons:<br>
> 1) It runs on all web platforms, even, gasp, Windoze;<br>
<br>
</div>As does .NET, Perl, Java, and Python.<br>
<div class="im"><br>
> 2) It requires no overhead (i.e. no compiler like C or assembly,<br>
> no module files like CPAN<br>
<br>
</div>False. PEAR and PECL modules often require external components, PECL<br>
modules even requires a compiler to build and install.<br>
<div class="im"><br>
> , no external library modules for the base install, ..).<br>
<br>
</div>False. PEAR and PECL modules often require external components,<br>
<br>
All but the most trivial applications will required modules whether that<br>
is for image manipulation, crypto, databases other than MySQL, ...<br>
<div class="im"><br>
> 3) The syntax is fairly simple, and close enough to C for a newbie to use<br>
> previous programming knowledge.<br>
<br>
</div>How many PHP developers were previously C developers? I doubt that is<br>
significant. I also doubt if this is even true - there is a huge<br>
difference between PHP and C.<br>
<div class="im"><br>
> et al<br>
> PHP is not bad in itself,<br>
<br>
</div>Yes, it really is. I'm not talking about the "language", I'm talking<br>
about the implementation.<br>
<<a href="http://shinobu.grlug.org/pipermail/grlug/2010-January/006984.html" target="_blank">http://shinobu.grlug.org/pipermail/grlug/2010-January/006984.html</a>><br>
<div class="im"><br>
> *some* projects or implementations are just known<br>
> to be poorly maintained or badly designed; if there IS a problem with PHP,<br>
> it's that there is no structure to force good programming practices.<br>
<br>
</div>False. The implementation is bad.<br>
<div><div></div><div class="h5"><br>
_______________________________________________<br>
grlug mailing list<br>
<a href="mailto:grlug@grlug.org">grlug@grlug.org</a><br>
<a href="http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug" target="_blank">http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug</a><br>
</div></div></blockquote></div><br>