MeadSteve
- 2 Posts
- 6 Comments
MeadSteve@reddthat.comto UK Nature and Environment@feddit.uk•Spiralling deer population 'devastating' UK nature - prompting calls to reintroduce wolves and lynxEnglish4·1 year agoAm I being stupid but would this not be a good reason to eat more of them? Be the wolves and Lynxes you want to see in the world.
MeadSteve@reddthat.comOPto Python@programming.dev•Typed Python: Choose Sequence over List1·2 years agoyeah it’s an interesting case that an int can be treated as a float. I should probably update my post to mention that it’s not strictly a supertype but a special exception mentioned in python’s typehinting pep: https://peps.python.org/pep-0484/#the-numeric-tower
MeadSteve@reddthat.comOPto Python@programming.dev•Typed Python: Choose Sequence over List2·2 years agoThat was definitely a nice feature (I forget exactly when list over List was added). That said I’ve never really been bothered about having imports. Especially when I know the import is side effect free like the typing module. But I definitely use import free list for script files without many lines of code.
MeadSteve@reddthat.comOPto Python@programming.dev•Typed Python: Choose Sequence over List2·2 years agoYeah there’s definitely a lot of room for improvement here
MeadSteve@reddthat.comto No Stupid Questions@lemmy.world•Is there a title (Mr/Ms/Mrs) that is gender neutral?854·2 years agoSlightly off topic but I really like the approach where the honorific is just dropped entirely. So just [Name]. No Mr/Ms/Mrs. It mostly doesn’t serve any purpose anyway.
That’s a good question. For me it’s not really about it running all the time but it’s about not having to spend any mental effort to switching "mode"and running the tests. With this and the IDE integration it really makes testing a first class activity. I think wallaby that I linked has some videos of the experience which might make more sense than my words.
Most continuous test runners don’t actually run on every key stroke but wait until it’s syntactically valid. It’s also common for them to do some smart diff and only re-run a subset of the tests.