News for hackers. Stuff that matters.
Re:Rob Pike interview by empath75 on Thursday April 30, 2020 @12:00PM (#23032321)
> I had to do a lot of work to get the code to compile again.

That's fine, in most cases, writing python code, you find out that you fucked up when you run the script. Compiler errors catch whole classes of errors that you ordinarily wouldn't find unless you ran the code.

Re:Rob Pike interview by gorgoiler on Thursday April 30, 2020 @12:18PM (#23032567)
My experience was that I would have an idea for a new model and change my code. Later on I would find that new model would be flawed, but only after fixing compiler type errors in many different places when all I really needed to find was that one error that showed my model was flawed.

I should add that it’s heartening Pike actually acknowledges this in the interview, regarding limited typing and how it helps playfulness in languages like Python and Ruby.

Re:Rob Pike interview by takeda on Thursday April 30, 2020 @12:35PM (#23032814)
I'm Python you can also define types in the annotations, and with IDE that understands them it will catch errors, have working autocomplete and make it very easy to refactor.