Live data from Hacker News

Ask HN: Do you swear in your code?

news.ycombinator.com

31–40 of 82 posts

Re: Ask HN: Do you swear in your code?

#31
post #30
post #15

Earlier quoted context omitted.

Addenda: is this perhaps the dumbest fucking question to be asked on this board? Fuckin' A right it is. Can someone draw a line between this topic and something that actually matters to a startup?

if it doesn't matter, why reply?

You might ask yourself the same.

Re: Ask HN: Do you swear in your code?

#33
post #3

Swearing in comments is unacceptable IMO. You wouldn't write swear words in internal documents, so why do it in code. It's unprofessional and shows a level of dis-respect for your own code and for the people who might end up maintaining it. Plus, heaven forbid a client happened to see it as well.

I think people have mis-understood my comment. I never said swearing was bad. Practically every word that comes out my mouth is a swear word. I just don't think swear words in code makes for "beautiful" work. I even have a go at developers for not putting full stops at the end of comments ;)

In addition, it's got nothing to do with working for a large corporation as I work for a small advertising software company with less then twenty employees.

Re: Ask HN: Do you swear in your code?

#35
post #21
post #3

Swearing in comments is unacceptable IMO. You wouldn't write swear words in internal documents, so why do it in code. It's unprofessional and shows a level of dis-respect for your own code and for the people who might end up maintaining it. Plus, heaven forbid a client happened to see it as well.

We aren't building tractors, we're "painting" software and do whatever makes us feel more creative. In fact some really great hackers I knew were very passionate about their code and coding process in general. Once we had a dedicated Yellow Pages book to throw in a brick wall (literally). That was awesome. BTW, didn't you notice how often good programmers curse in public? I suspect we work in different industries.

You think people who build tractors don't swear? After my work in steel manufacturing, I would bet that there is some informal manual next to a machine that has at least one swear word in it.

Re: Ask HN: Do you swear in your code?

#36
I used to ... until about 8 years ago when I response.write'd a large "FUCK YOU" in an asp app that I forgot to take out.

A big honkin' "FUCK YOU" that showed up during QA 5 minutes before client showed up for review.

Never again.

Re: Ask HN: Do you swear in your code?

#37
I work in post-production graphics, and when troubleshooting particularly nasty problems I've been know to name some of my project assets things like "WhattheHelliswrong.mov"

I would not recommend doing this, but it definitely made me feel better.

Re: Ask HN: Do you swear in your code?

#39
I work in post-production graphics, and when troubleshooting particularly nasty problems I've been know to name some of my project assets things like "WhattheHelliswrong.mov"

I would not recommend doing this, but it definitely made me feel better.

Post reply on HN