Skip to content Skip to sidebar Skip to footer
Showing posts with the label Code Design

Deduplicating Code In Slightly Different Functions

I have two very similar loops, and these two contain an inner loop that is very similar to a third … Read more Deduplicating Code In Slightly Different Functions

Python Efficiently Split Currency Sign And Number In One String

I have a string like '$200,000,000' or 'Yan300,000,000' I want to split the currenc… Read more Python Efficiently Split Currency Sign And Number In One String