4 ms·
Honestly if you want to generate less technical debt then writing a function https on top of an url parser is probably the wrong thing to do. I mean `urlparse(
by contravariant 3y ago
Honestly if you want to generate less technical debt then writing a function https on top of an url parser is probably the wrong thing to do.
I mean `urlparse(url).scheme = 'https'` is so literal and straightforward that it really ought not be it's own separate function. Adding a wrapper that does nothing but add more code and rethrow the same error is just generating technical debt by writing a function that ought not be.
Arguably all code is technical debt, but so far the world isn't kind enough to bend to our will without any code.