Please Scroll Down to See Forums Below
napsgear
genezapharmateuticals
domestic-supply
puritysourcelabs
UGL OZ
UGFREAK
napsgeargenezapharmateuticals domestic-supplypuritysourcelabsUGL OZUGFREAK

PROGRAMMERS - How to write Unmanagiable Code

  • Thread starter Thread starter Warik
  • Start date Start date
That is brutal...
There is definitley a 'receiving end' and a 'giving end' to this practice.
I, unfortunately, have been more on the receiving end drudging through someone's vague coding conventions. It was debug hell...
Fiestas aren't fun when you're the pinata... :FRlol:
 
rotovibe said:
That is brutal...
There is definitley a 'receiving end' and a 'giving end' to this practice.
I, unfortunately, have been more on the receiving end drudging through someone's vague coding conventions. It was debug hell...
Fiestas aren't fun when you're the pinata... :FRlol:

I was inadvertently put on the giving end at one time in HS. I was in this stupid class that was in charge of taking care of the school's website. The only worthwhile job I was ever given to do in that class was to put together the staff directory with all the teacher's e-mail addresses. They expected me to do it in Microsoft Frontpage and do a bunch of crap and make the code look ugly.

Instead, I wrote a QBASIC program that would automatically generate the tables and the e-mail addresses based on the first and last names I entered. It was awesome. Code looked great, display was perfect.

What happened?

The HTML code was 50kb in size - hardly large by any definition given the fact that there were hundreds of names and e-mail addresses in there. So what does the dumbass in charge do? He goes through and deletes ALL spaces, tabs, and carriage returns from my HTML file. Reduced the file size by like 5k or something - exceedingly insignificant amount.

Later in the year, I'm asked to modify it. I saw that they fucked up my code and everything was stuck together on one line and I told them NO WAY after they screwed up my code and made it unreadable. Some other, less resilient, individual got stuck doing it the following year. Can't believe he agreed.

-Warik
 
I had a similar experience with incompetent people.
I was doing development for this small web shop and we were subcontracted to do the back-end programming for an ecomm site by some design shop since all they had in house were designers and HTML 'programmers'.

I didn't know HTML was a programming language.
I thought 'ML' stood for MARK-UP LANGUAGE. :confused:

Anyway. I had written VBS scripts to generate and display dynamic html data.
Well they decided to cut expenses and tried to edit the files themselves. The only way we found out was when they called us screaming about the fact that we kept changing their HTML code on the server.
'What?' I exclaimed. 'I don't understand. I have scripts running. I don't have static HTML files on the server' They persisited that I was sabotaging their big-contract. They even went to the CEO.

It turned out that they were copying HTML source files from the browser, editing them locally, uploading them, then griping because they can't see their changes.

'Ahhh...OK' I said. Then I just smiled and nodded.
 
Top Bottom