
Journal Journal: Breeding Code Monkies 1
I'm not a great programmer. I once left out the following line of code
from a very well used program and it cost my employer about $40k-$50k
"chomp($daemonReturn);"
However, I must thank the unix world for making me a fair programmer. I
have a reasonable understanding of what's going on under the hood. I've
quick-patched programs when the errors pissed me off. I've learned a great
deal from browsing source of some truely amazing projects. (TOra) Without
open source, and the "pull yourself up by your bootstraps" mentality the
unix world encourages, I wouldn't be a competent programmer.
What sort of mentality does Microsoft encourage? Hand holding. Pure and
simple. Lack of control and lack of disclosure promotes hand holding.
Here's an example.
DBI allows one to get the value of the sequence of the last inserted row in
your session. (might be DBD, I dunno, I'm not an uber-cool DBI hacker like
my big bro.) I hoped that ASP had something like this too. However, every piece of
documentation I looked at wouldn't tell me how to get it. Finally, I found
a TUTORIAL on 4guysfromrolla.com about how to select the value of the
identity field! A TUTORIAL that taught me to "Select @@IDENTITY!" Windows people write tutorials. Unix people
write documentation. The quality of documentation is fairly high because
it attempts to be concise and present facts. The quality if tutorials is
awful because it's susceptable to the intelligence (or lack thereof) of the
author.
Most Microsofties don't really know what's happening behind the scenes.
Example:
search for the words "ASP include" in google. You'll find several
TUTORIALS covering ASP INCLUDE FILES. You'll find 3 different explanations
for how you MUST use them (all work in one way or another. It's basically
depends on the one combination that the author found while he was blindly
editing code...) BTW, What the fuck is an ASP INCLUDE FILE? Oh, you mean
Server Side Include file? How does this have anything to do with ASP? It
doesn't. Plain and simple. (Theyr'e different DLLs. ssinc.dll and
asp.dll) ssinc.dll gets run first and is totally ignorant of languages or
file contents. But there are ASP programmers out there that would have
you believe that you MUST include your <!--#include file="blah.asp"--
> statement between ASP <% %> tags! I'm sure you see that this makes no sense.
I hate stupid people.