Hacker News new | ask | show | jobs
by PaulHoule 3809 days ago
Yes, just don't use the word "shit".

The obvious refactoring is to split the function up into smaller pieces, even if you can split it into two 1500 line functions that is a win.

2 comments

Is swearing on HN banned now?
Apparently not, I personally find the phrase "2000 line function" offensive but that part isn't censored.
No, but a large part of the community is in the US where many people (not all) take offense to even mild swear words (in contrast to for example the UK where even politicians won't hesitate to call someone a wazzock).
Thanks, that came out of frustration from looking at similar long-sized functions for an extended period of time.
Er... am I misunderstanding or is everyone else?

Tell your manager that you want to refactor it. Just don't tell your manager "it's shit".

The "don't say it's shit" was when speaking to the manager... not using it on your thread. Unless I'm the one misunderstanding the statement...

Both, but more to the boss. I can't stand the whole "Get Shit Done" thing, the way that word gets used on HN is like a universal qualifier, i.e.

ForAll(x): Shit(x)