Closed patkan closed 9 years ago
Currently modules like the shopping backend are loaded in a way that makes it hard for a static code checker to understand what is going on. (see https://github.com/fau-fablab/FabLabKasse/blob/6dcf7d3ef98a00c7bf71191ef448760e3505912b/FabLabKasse/gui.py#L63-L74 ) The probably better way would be to use a factory design pattern or something similar to return an object of known type.
Currently modules like the shopping backend are loaded in a way that makes it hard for a static code checker to understand what is going on. (see https://github.com/fau-fablab/FabLabKasse/blob/6dcf7d3ef98a00c7bf71191ef448760e3505912b/FabLabKasse/gui.py#L63-L74 ) The probably better way would be to use a factory design pattern or something similar to return an object of known type.