Tom RitchfordA few more events like this, and I might start believing in justice and rationality again.2d ago2d ago
Tom RitchfordLet's look at that specific function: what would be gained by prohibiting tuple as an input?Why force someone who already has a tuple to create a new list, simply to pass it into a function that would work perfectly well if given…3d ago3d ago
Tom RitchfordI clapped but many packages still have to support Python 3.8,Python 3.8 won't hit end-of-life until October of this year and likely many facilities will be slow to upgrade even then.4d ago4d ago
Tom RitchfordBut I would reject this pull request, because your type hints are all wrong.Why must num_list be a list? Why couldn't it be a tuple or some other sequence of numbers? Use typing.Sequence instead.4d ago14d ago1
Tom RitchfordWell, I got all this from your first answer, but you do again seem to avoid the point that it costs…Let's look at your first example of the junior programmer who was stuck for days and then got unstuck. Why exactly could that scenario not…4d ago14d ago1
Tom RitchfordThanks for a thoughtful answer. But the problem is not symmetrical!Of course "no one way is right", but you're talking about a company wanting me to come into the office because a subset of developers can't…Jun 211Jun 211
Tom RitchfordI will never go into an office again - at least partly because we're moving to a small French city…But also because I am simply far more productive at home. I don't have to commute, it's really quiet, I can eat good, fresh food, and if I…Jun 21Jun 21
Tom RitchfordFirst, any good linter will detect this issue and complain about it.Second, that is probably the wrong type definition for the function.Jun 21Jun 21
Tom RitchfordIn a long and successful career, I have never once put "OOP" on my résumé.C++ is not an object-oriented language - it's a multi-paradigm language. You can write object-oriented code, but you can also write…Jun 18Jun 18
Tom RitchfordHundreds is a huge understatement.I would also note that while 164 countries have signed the "Ottawa Convention" to ban landmines, the United States, Russia and China have…Jun 17Jun 17