3,901 karma · joined Oct 15, 2012 (14y ago) · 1,547 submissions
comment 9y ago · link · parent
So, do your comparisons correctly. No matter how much you insist, Python 2 just isn't dead (or obsolete, etc.). Lack of new features doesn't imply obsolete.
comment 9y ago · link · parent
comment 9y ago · link · parent
comment 9y ago · link · parent
I meant I don't see any benefits for me, not benefits for other people. I assumed that was clear; sorry if it wasn't.
> Unicode.
Yeah, but some people have still been living without the changes, and it's hardly enough of a reason on its own (for me anyway) when there's other things I hate about the language.
> Async.
It's a nice feature, yeah. I can live without it, as people have for many years. Maybe if I was used to having it around I wouldn't want to go back, but I'm not.
> Extended library.
Cool! I'm not sure what exactly falls under this that I'm supposed to be missing, but pip install has sure been taking care of everything in the blink of an eye in version 2.
> Required keywords.
Cool! I need it about as much as I need a donut.
> syntax inprovements (lots of m, many more than just the removal of the print statement).
nonlocal is literally the only positive one I can think of right now that I'd actually care about. But then again, it comes up maybe 50x less often than the parentheses I have to write for print, or the tuple unpacking that I have to do. So yeah, it's hardly a reason to migrate.
> Type hinting.
Nice to have. I'm living just fine without it. Maybe I'd have migrated if it actually optimized things or did something more useful.
comment 9y ago · link · parent
For reference, Oxford dictionaries define (..."define"? are multiple dictionaries involved here?) "obsolete" as:
1. no longer produced or used; out of date.
Clearly Python 2.7 is in widespread use, and version 2.7.12 came out just a few months ago, so it's neither "no longer produced" nor "no longer used" nor "out of date"...
comment 9y ago · link · parent
I hate Python 3's removal of the (lambda (key, value): blah) tuple unpacking syntax, and the forcing of parentheses for print statements. They might seem minor but they aren't for me. So I'm not at all eager to move to version 3 and don't really see any benefit. Not sure if those who aren't migrating feel the same way, but I wouldn't be surprised if some of them do.
(Edit to address comment below: There are more issues I have with Python 3. It allows more bugs to slip through, for instance. I actually particularly like a comment I just wrote, so I'll link to it here: https://news.ycombinator.com/item?id=13145299 Do note that this was added after the reply below.)
comment 9y ago · link · parent
I haven't though this through, so I don't know what the implications are, but I think it makes sense to say there are multiple "borders" that we need to think about here -- an "outside" border, which other countries recognize as the border of your territory & jurisdiction, and an "inside" border, which is the one you cross by showing your passport. In between these two borders -- assuming (crucially) that you're crossing these borders out of your own volition -- I would say that the country has every authority to do more or less anything it feels like: you're in its territory, and they have no reason to believe you belong there (effectively, you're a trespasser). At that point, the best you can hope for is that you're entering a sane country that does something humane. If you're not, then either you're a citizen and should have been advocating to change the system before leaving, or you're not a citizen, in which case it's other people's country and they get to run their country however they like (sorry).
Again, I haven't thought through all the implications, so there might be some glaring problems... but this is what my brain right now thinks would be logical. None of these would apply if you're being forced to cross borders (war, persecution, refugee, etc.); I don't really know what to do in that case. But those are rare enough that you can't expect the country to treat every single traveler as a potentially persecuted refugee.
comment 9y ago · link · parent
This gets kind of close to word-play territory (no pun intended).
IMHO you still have your rights, but when you're outside the country, you can't expect the government to automagically recognize you as a citizen among the foreigners who don't have the same rights as you, and hence may not be able to exercise them. So that means you first have to convince them that you have the rights you claim before you can expect your rights to be recognized.
This would work just fine in a world where authorities were keen to recognize your identity before inspecting your belongings, so I'm saying the fact that they refuse to do that is the real abuse/violation here. So that's what you really have to argue against. Otherwise, if you assume that is OK, the rest of the logic doesn't really seem faulty to me.
comment 9y ago · link · parent
What is DO have a problem with, though, is that they seem to have deliberately structured the procedures this way in the first place precisely for this goal. People should be granted/denied entry first, then searched afterward if entry is granted -- because it would seem that their permission to be present inside the country should be independent of what they are allowed to bring into the country. So if the ACLU is fighting against this, I sure hope they're making this argument rather than the first one.
Does this make sense, or do people disagree?
comment 9y ago · link · parent
comment 9y ago · link · parent
How do you force a company to do something like that? What's in it for them to agree, especially when you're leaving?
comment 9y ago · link · parent