Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Work Partner

Name: Anonymous 2006-03-24 19:44

I have to pair program at work. It sucks. I was writing PHP and using print inside of if statements to print HTML and then my partner gets all mad at me and says use the template. WHY. It is too complex to write the same stuff twice if I write templates the code is bound to the templates.

Even worse, he breaks up my one liners.

He says it is easier to read. But I've done it a jillion times if they hadn't seen it before now then they weren't reading the code!

Name: Anonymous 2006-03-24 20:10

Your partner should be complaining about you, and not the other way round. Obviously you suck at coding if you,

1) Think that templates are too complex.
2) Write codes that are hard to read.

Templates are meant to seperate design from code. So whoever is in charge of the design can change it without caring how the code is going to work.

>I've done it a jillion times if they hadn't seen it before now then they weren't reading the code!
Not everyone bothers to read and hard memorise each and every single line of code. Breaking it into smaller readable pieces ensures that whoever is tasked with the shit job of debugging your obviously shitty code has less shit to wade through.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List