Ah, the old "you're doing it wrong" argument. Moving code from one place to another (copy/paste from online or just from one file to another) is a fairly common source of bugs for a lot of people when it comes to Python. At some point, it becomes clear is an issue with the language, not the people.
I enjoy Python, but the significant whitespace is _not_ one of the reasons.
> Moving code from one place to another (copy/paste from online or just from one file to another) is a fairly common source of bugs for a lot of people when it comes to Python.
I genuinely don't understand how they manage this. Worst case, you paste at column 1, re-select and tab such that the baseline is appropriate for where you're pasting it, which is obvious. But more importantly, you shouldn't be copying and pasting unless you're proficient enough to fix such mistakes easily.
I also don't understand how it can be argued seriously that braces avoid the problem. If you'd paste at the wrong indentation level, why would you not equally well type the wrong number of braces?
Whitespace and braces work together to make the code more readable; both by the computer and the human. And they make it less likely to have errors, because the braces convey intent (much like parens in math when they're not "needed")
I have many years of experience with Java, and rarely use Python... and I'd say Python is, in general, easier to read. There's generally a lot less "having to go look at _other_ code to know what _this_ code is doing".
> We did not ask for your location. Your address arrived before you did.
Bunk. You asked a geolocation api/service to map my ip address back to a location. You _did_ ask for my location, using my IP as a key. And my IP is pretty much required in order for communication on the internet to work (outside of using services to hide it, but then _they_ have your info instead).
Nah. The browser has a mechanism to request geolocation. This is the ask that was not performed. The user was not asked, which is the important piece.
If I have a dictionary, I don't have to ask the meaning of a word I hear from someone I am speaking to, I can look it up in the dictionary. I may infer an incorrect meaning because the word has multiple meanings or is a colloquialism.
If I need to clarify that inaccuracy, I need other data points (for example, the context of the conversation), or I can ask my conversational partner for clarification).
> Nah. The browser has a mechanism to request geolocation. This is the ask that was not performed. The user was not asked, which is the important piece.
Yes, that would have tripped the prompt asking the user, which would have had explicit user acceptance or refusal. The point is you don't need consent to do a fuzzy match usibg other data in most jurisdictions.
> my IP is pretty much required in order for communication on the internet to work (outside of using services to hide it, but then _they_ have your info instead).
Tor and similar multi-hop proxies, depending on construction, supposedly can't match source to destination IPs.
I think you have to squint pretty hard to think that's the case in software engineering. LA Times suggests there are 6.9 million job openings (1). I don't think it's reasonable to suggest that anyone who wants a job in tech should get one otherwise its a humanitarian crisis. In fact, I'd say it's beyond unreasonable to suggest that.
Still, I do feel bad for younger folks trying to break into the industry - but "work for cloudflare or go hungry" is beyond a stretch.
Edit: Cloudflare is paying out terminated employees thru the end of 2026, imagining this is a case of people going hungry requires some very serious ideological capture.
> LA Times suggests there are 6.9 million job openings
Yeah sure. I've seen literally dozens of job openings in certain companies that match my resume pretty much perfectly. None of them ever bothered to respond when I applied beyond "nah, better luck next time" (even that is not guaranteed, some just ignore you). I have no idea what those millions of job openings are, really, but the fact is, when you're out of a job, you don't feel like you have millions of employers lined up to invite you. Especially after you spend a couple of months submitting resumes and getting no interviews.
> Cloudflare is paying out terminated employees thru the end of 2026
This is pretty generous, usually a couple of months is all you get, sometimes people don't get even that. With that kind of approach, working for Cloudflare becomes even more decent option, comparatively.
I hope people don’t gaslight you into thinking it’s something wrong with you. That was exactly my experience this year - and that’s completely new compared to 4 years ago. It’s the market that’s changed.
No, I have been in the field long enough and done enough things that I know I maybe not the best ever, but I am pretty good. I appreciate the kind words though. And I am lucky to have a good job too, now. But that's what happens in the field, and it's not only me - I have heard the same you are saying from multiple people over the last years. It's just how it works now. Maybe there is some super-elite level where you can just sit on your Herman-Miller throne and the unicorns come and bow to you and beg you to take a job with them. I know I am, while being pretty good, not at that level. And many, many other people aren't either, while still being pretty good. All those people don't always have a luxury of refusing a well-paying job just because they get a slightly wrong vibe about what could happen with the company years from now.
> Cloudflare is paying out terminated employees thru the end of 2026, imagining this is a case of people going hungry requires some very serious ideological capture
We were talking about the people interviewing and picking jobs in general, not specifically ones that had been laid off from CF.
> I think you have to squint pretty hard to think that's the case in software engineering.
Maybe not right now (though I imagine that varies a lot even now). But I've been there. I've gone from making plenty of money to 100k+ in debt and having less money in the bank than I need to pay the rent + buy food next month. Admittedly, that was after the dotcom bubble; but it left me with a mindset of not assuming everyone has a choice to work at the company they want to. Sometimes you need a job, and being picky about which one you choose isn't always an option.
Huge gulf between "sometimes you need a job" and "employees are pigs to the slaughter".
"I've gone from making plenty of money to 100k+ in debt and having less money in the bank than I need to pay the rent + buy food next month" is pretty intense. I'm sorry you went through that, but if you get ~7 months of paid time to job search and still wind up 100k in debt, there are definitely other problems. I don't think it's at all fair to characterize getting laid off from an extremely highly paid job as a humanitarian crisis.
Should tech companies hire more slowly and carefully? Yes, definitely. Does that actually help employees? I'm not sure, in this case they're getting paid more than they would have had they not been hired at all. Are there plenty of jobs available outside of software? Yes.
Though it’s ridiculous to entertain the thought that one would pivot their career at the drop of a hat. Even just bumping into a tech stack will chain one to it as recruiters stare at yoe in a specific one and completely ignore anything adjacent, imagine doing anything more radical.
One can do it, but it’s a life changing, irreversible and likely damaging event nobody sane would take lightly. Absolute nonsense.
"I don't think it's reasonable to suggest that anyone who wants a job in tech should get one"
I understand your point, but this is the least bad world we're in. If you mandated no-firing or mandated year-long compensation for laid-off workers, you would be crushing the small business economy and destroying more jobs than you were trying to save.
> Cloudflare is paying out terminated employees thru the end of 2026
That's great that they're doing that, but it's absolutely not guaranteed, either in this particular case (prior to this announcement, i.e. when these people were hired) or in general.
But all of this ignores the more general point, which is that--for reasons which may or may not be their fault--some people are not in a good situation financially and for them being laid off is a big deal with very real risks. Just because that's not you doesn't mean it's not a real thing.
Most job openings are fake. Ghost jobs are a real and growing problem as dishonest businesses use it to signal growth without the actual intent to hire.
But, I won't be there to see how they feel about me at my funeral. I'm here now, to see how they treat me. So yes, doing things to conform / be one of the crowd may not be what people remember you for... but it may be what impacts your daily life.
Just an observation. My computer bag is older than most of my coworkers.
Oddly enough, asking an AI to add docs to a classfile explaining "what it does, why it needs to exist, and what uses it" is a great way to include some of the "why". I know it's not ALL the why, but it does a pretty good job of finding the reasons that someone new to the code wouldn't be aware of.
Somewhat by definition, AI-generated docs would only include information that could be obtained elsewhere in the codebase. That can be valuable, but far more valuable is the information you got from debugging all the failed alternative designs that were never committed, etc. Information and context that goes beyond the actual code being read.
My experience is that most people fail to capture this ultra-valuable documentation, but AI never does.
reply