lunatechian (lunatech-ian)

one relating to, belonging to, or resembling lunatech

strange coding practises

Fair warning to all, heavy geek joke ahead. While reading the comp.lang.php Usenet group, I came across this exchange

ctrl+alt+delete writes: I am interested in learning PHP programming and am wondering what IDE people use to work on their projects.

Chung Leong replies to ctrl+alt+delete: I don't use an IDE at all. For my PHP projects, I get assistance from my teacher, Ms Anne Sullivan. All my coding is done by rubbing her palm and touching her elbow.

R. Rajesh Jeba Anbiah clarifies Chung Leong's answer : Chung's doctrines are sometimes too global and sometimes too local to grasp.

Defined tags for this entry:

sending a geek on a guilt trip

One of the methods used by normal humans to send other (normal humans) on the "guilt trip" is to use the cliche "every time you do THIS or THAT god kills a kitten. Please, think of the kittens..." For an even bigger guilt-trip, you can use "every time you do THIS , somewhere a kitten gets run over by a Monster truck. given not ten minutes ago to the five year old girl standing by the side of the road, spattered, red, and crying as she fumbles with her inhaler" (Thanks to Brian Bilbrey, member of The Answer Gang for the picturesque description )

Frankly, the whole killing of the kitten part leaves me rather unmoved. Having lots of free time on my hand lately, I thought of things that would send me on a guilt trip.

  • every time you do THAT, your email id gets harvested by Mr. Joseph Adisa of Lagos, Nigeria
  • every time you do THAT, Microsoft issues ten critical updates
  • every time you do THAT, some clueless bastard says "Linux has less viruses because it is less popular " (my veins are throbbing just writing this)
  • every time you do THAT, some luser says "IE is better than Firefox since IE supports advanced features like ActiveX"
  • every time you do THAT, someone starts building a new Linux distro
I know I am not normal :-)

Defined tags for this entry: ,

why code maintainance sucks

I have had to work on updating someone else's code for a few days now. The code was a headache to read because

  • It was not formatted to conform to my coding standard ... in fact it did not conform to any coding standards.
  • There was no version control ... oh wait, yes there was version control. It was version control by commenting out unwanted code. So I had to scroll through screenfuls to commented out code. I must take a moment to thank the programmers of Anjuta IDE, which helped me a lot a with their excellent syntax highlighting. Here is how you delete code.
  • Did I say there was no version control. There was a version control system. It looked almost like this
  • There was no comments.
  • There were spelling mistakes in variable names
  • PHP code and HTML were mixed
  • there was more .. i have forgotten it.

Defined tags for this entry: ,