Skip to main content

in reply to Mangdries

@Mangdries Python devs are really obsessed with what is correct according to what their holy book PEP says
in reply to Brodie Robertson

They have a whole book to tell them how to write code and it still looks horrible
in reply to Brodie Robertson

that’s actually a really cool trick — the many with-usages (like locks!) are a huge boon to understandable code.

And while it took me 25 lines of code to implement this with with wisp ( https://hg.sr.ht/~arnebab/wisp/browse/examples/with.w?rev=3447d48e85620c639131c0e1b47308503df5eb81#L12 ) it’s only Python where that’s the default way to do things.

(there is no superfluous with in the previous paragraph ☺)

Being able to add stuff like this to the language cleanly is why I started to move my personal projects from #Python to #Guile #Scheme in 2013, though.

This entry was edited (8 months ago)

Lo, thar be cookies on this site to keep track of your login. By clicking 'okay', you are CONSENTING to this.