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

Obsessive compulsive programmers..

Name: Anonymous 2009-09-01 1:02

Is there anyone else on /prog/ that tends to get a little obsessive compulsive about how their code is written? I do, and I think this will be my downfall. I am going to use PHP, and Perl as an example because they have similar syntax.

I absolutely hate the $ before scalars. They look incredibly ugly to me. A lot of people tell me "Well, it's better than not having it there, I guess." I don't think so.

You could just as easy write:

int a = 1234;
int b = ' this is a string';

print a+b # Or a.b


I am sometimes forced to use PHP by my employer, and I hate it's syntax.

inb4 (*)

Name: Anonymous 2009-09-01 12:58

>>1
Dude, don't even get me started:

- I've once spent two days changing the font and the syntax highlighting color scheme on my editor back and forth until I felt somewhat satisfied with what I ended up with.

- I sometimes choose to write a piece of code a certain way solely because it'll have a better layout. Also, if I make a change to some code I've written and I feel it "ruined the layout", I'll rewrite the whole thing so it looks pretty.

- I hate naming stuff. I'm never satisfied with the names I come up with. Most of the times I find the names are either too long or not descriptive enough, and I have to change it like ten times before I give up. In fact, being able to write in point-free style is one of the major reasons why I like Haskell.

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