JPDev@programming.dev to Programmer Humor@programming.dev · 1 year agoThe Perfect Solutionprogramming.devimagemessage-square72fedilinkarrow-up1673arrow-down18
arrow-up1665arrow-down1imageThe Perfect Solutionprogramming.devJPDev@programming.dev to Programmer Humor@programming.dev · 1 year agomessage-square72fedilink
minus-squareenkerslinkfedilinkarrow-up1·edit-21 year agoThat’s a pretty clean looking solution. There are a few others as well, but yours seems better, and it’s in the standard lib to boot!
dedent() can help with that.
That’s a pretty clean looking solution. There are a few others as well, but yours seems better, and it’s in the standard lib to boot!