Ancestors

Toot

Written by Sergi on 2024-09-18 at 22:08

New blog post:

Do not reinvent the wheel

Python's standard library has a lot of built-in functionality. Before writing new code, make sure that what you need is not already in there, which is what happened on a blog post I found about checking if an IP belongs to a subnetwork.

https://sergiswriting.com/do-not-reinvent-the-wheel/

[#]Python

=> More informations about this toot | More toots from sergi@floss.social

Descendants

Written by David Zaslavsky on 2024-09-18 at 22:18

@sergi Nice πŸ™‚

In the software landscape of 2024, I think the fact that some piece of code works on #Python 2 (or even early versions of Python 3 like 3.2) is so far beyond relevant for most of the world that it's not a virtue. I mean, I know there are still people and organizations using Python 2 out there, but let's not enable them πŸ˜›

=> More informations about this toot | More toots from diazona@techhub.social

Written by Scott Miller πŸ‡ΊπŸ‡¦ πŸ‡ΊπŸ‡Έ on 2024-09-19 at 00:09

@diazona @sergi Lack of awareness seems like a reasonable hypothesis, but FWIW, that older article was dated December 2015, when Python 3.3 was only about 3 years old and Python 2 was still supported. A strong case could be made for the need to support those older versions in 2015.

=> More informations about this toot | More toots from scottmiller42@mstdn.social

Written by David Zaslavsky on 2024-09-19 at 00:44

@scottmiller42 @sergi Which older article? The one at the link says it was posted today.

But yes, that would have been different in 2015.

=> More informations about this toot | More toots from diazona@techhub.social

Written by Scott Miller πŸ‡ΊπŸ‡¦ πŸ‡ΊπŸ‡Έ on 2024-09-19 at 02:12

@diazona @sergi Link β€œblog post” in this sentence:

A clear example of that is a blog post I stumbled into a few weeks ago,

=> More informations about this toot | More toots from scottmiller42@mstdn.social

Written by David Zaslavsky on 2024-09-19 at 02:13

@scottmiller42 @sergi Ah, gotcha. I didn't click through that link when I was reading. But I don't think it really matters for what I was saying.

=> More informations about this toot | More toots from diazona@techhub.social

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113160833906421440
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
272.262418 milliseconds
Gemini-to-HTML Time
2.471516 milliseconds

This content has been proxied by September (3851b).