Skip to main content

All Questions

-1 votes
2 answers
183 views

How to choose the most suitable solution for a problem given some choices?

To ilustrate my main concern let's start by considering a "trivial" typical problem, data filtering & parsing coming from a process and dumping the information onto something {gui console, file, ...
BPL's user avatar
  • 465
2 votes
2 answers
3k views

How to refactor functions?

Let's say I want to have a function to load a project's data from both a json and a file path, the first idea which comes to my mind would be having a couple of functions such as: def ...
BPL's user avatar
  • 465