dmmartins
dmmartins on Hacker News
I write python code for more than 20 years and I never hit a bug that was related to a variable type. Really don’t understand all the type hint noise. To me it just makes the code harder to read
why? the code output is the important thing, not how people get to it.
you may need help understanding what the code does, or you may question why they didn't do it some other way you think is better, but if the code does what it's supposed to do, doesn't matter if the person dreamed about the solution, copy the answer from a google search or some AI did it.
> What was your thought process using AI?
> Share your prompts! Share your process! It helps me understand your rationale.
why? does it matter? do you ask the same questions for people that don't use AI? I don't like using AI for code because I don't like the code it generates and having to go over and over until I like it, but I don't care how people write code. I review the code that's on the PR and if there's I don't understand/agree, I comment on the PR
other than the 1600 lines PR that's hard to view, it feels that the author just want to be in the way and control everything other people are doing
I don't care either. Why should I? I go to the doctor once a year and it's always the same. Not much to do with that data
I get distracted by auto complete and they usually stay in front of the code, so I can't read it. I find it annoying when I'm pairing with someone that uses it and the auto complete/type hint/whatever pops up and covers most of the code I was trying to read
Working in a code base every day I end up creating a mental map of the code and the data, so it's not hard to find stuff I'm looking for. When that doesn't work, a global search or find/grep helps.
I don't get the "type checking is the solution for the problems of the world". A lot of good things were/are written without type checking. Most of the problems I see in production have nothing to do with the wrong type being used or some forgotten required parameter.
Also, typescript is just javascript with a mustache. It's the same thing
Hello, I'm currently in the US with an H-1B and the company is sponsoring my greencard (the PERM application was recently filed).
If I need to leave the US for one year, do I need to do anything? The PERM process should be done by then. One option would be terminate my employment and continue as a contractor. Can/should I do that?
Thank you!
Brazil electricity is 60 hertz, so I guess it'd be a bit different :)
"We never regard customers as a source of income but as people we want to have a good time, whatever their budget.”
Yeah, I see.