Recent submissions

Comment · 10 years ago
Comment · 10 years ago
Because of GitHub's cultural issues towards women and sexism. I.e. the whole Julie Ann Horvath/Tom Preston-Werner/Zach Holman incident.
Comment · 10 years ago
Hi there! I was wondering what your tech stack is, and is the software engineering role a remote job?
Comment · 10 years ago
Can anyone explain what a sequential programming language is?

Context here:

"I guess I’d underestimated the difficulty of implementing Anything-over-TCP in a sequential language. Just because it’s really really easy in Erlang doesn’t mean to say it’s easy in sequential languages."

Comment · 10 years ago
It's Recurse Center, not Resource Center!
Comment · 10 years ago
I totally agree with this, it was like 'here's a solution using category theory', but what were the alternatives? How is this useful/applicable to me, and why should I learn category theory?
Comment · 11 years ago
Comment · 11 years ago
There's a reason they call it Man Jose!
Comment · 11 years ago
I think that if the author re-wrote the first method in a cleaner way, composed of lots of smaller methods with descriptive names then the code would be a lot more readable, and you wouldn't even need to debate the whole multiple returns versus single point of return thing because your "mental stack" could handle either option equally well.

For example:

  public string Execute(int integer, string str, bool boolean) {
    string result;

    if (isValidInteger) {
       result = validateStringAndBool(str, boolean);
    } else {
       result = “Error: Integer is too small”;
    }
   return result;
}

  private string validateStringAndBool(string str, bool boolean) {
     if (!string.IsNullOrWhiteSpace(str)) {
       return isValidBoolean(boolean)          
     } else {
        return  “Error: String is null or empty”;
     }
  }
 
  private string isValidBoolean(bool boolean) {
     if (boolean) {
        return “Success”;
     } else {
        return “Error: Incorrect Boolean”;
     }
  }
And yeah, I can't see how this has anything to do with tail call optimization other than a fluffy analogy to stacks - mental and programmatic.
Comment · 11 years ago
Once a company has gone public is it common for lots of staff who have stock to quit?
Comment · 11 years ago
I'd really like to know what it is about a resume or in an interview that makes someone seem like more of a 'product programmer'.

Is it the particular things they have worked on at other jobs, i.e. their experience, or is it the way they talk about what they want to build?

I'd be really interested to hear how I can make myself sound like more of a product programmer.

Comment · 11 years ago
Maybe you're not as decent as you think you are.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton