6 ms·
I wasn't initialising the x variable Do you mean s/initialising/declaring/, or am I just really confused?
by cperciva 15y ago
I wasn't initialising the x variable
Do you mean s/initialising/declaring/, or am I just really confused?
- Permit 15y agoHe means declaring.
- untog 15y agoYes, sorry, I meant declaring. Wrote that post in a hurry as I headed out the door, I wasn't paying too much attention.
- da5e 15y agoHmm, so you wrote a careless typo while describing your "careless" coding? Not to be harsh, but maybe it's a hint?
- untog 15y agoWell if you really want to go into painful detail about it, I had originally phrased the sentence differently, something along the lines of "leaving out the var in the for loop initialisation". It wasn't very readable so I changed it, but the word 'initialise' was on my mind. In any case, I'm not sure that I need a hint to tell me that doing things quickly and carelessly is a bad idea. But we all do it sometimes, in both our programming and our writing.
- da5e 15y agoWell sure. I actually wasn't trying to be harsh OR sarcastic. It's not pop psychology (I think it goes back to Freud) that in some sense there are no mistakes. We all make errors and I was just saying that two errors about the same issue might be a hint that one has "issues" about the, er, issue or that some self-sabotage in important matters might surface under stress. You're the only one can answer that. I admire your courage in sharing your experience with all these crack programmers.
- VBprogrammer 15y agoNot to sound harsh, followed by something quite sarcastic and judgemental isn't a particularly nice way to address someone you don't know. I for one would speculate, not to sound harsh, that if you haven't made silly errors like this then you haven't been around the block enough times.
- sometimes 15y ago> I for one would speculate, not to sound harsh, that if you haven't made silly errors like this then you haven't been around the block enough times. on the other hand, those of us who have been around the block enough times have almost certainly encountered co-workers who were bright, talented, cute, whatever - but at the end of the day were just ... sloppy ... lazy ... careless ... in their approach. It's a personality thing - they had nice childhoods, they never learned to by hyper-vigilant and paranoid, and as a consequence... they write buggy code that can't be trusted.
- Vivtek 15y ago"...never learned to by hyper-vigilant..." My eyebrow just raised so far my forehead cramped.
- cperciva 15y agoMuphry's law.
- sometimes 15y agoI'm contemptuous of his coding practice, not his writing or grammar. His writing is pleasant to read... but so what? where are the multiple layers of defense standing between a simple syntactical or semantic error and a full scale business-impacting technical fuck up. that is what I meant by being vigilant and paranoid.
- untog 15y ago