Static vs. non-static? (with non-OOP functions)
Although this question has come up before, mine is different because it is not supposed to cover anything OOP but only plain (ANSI) C.
Static vs. non-static? (with non-OOP functions)
Although this question has come up before, mine is different because it is not supposed to cover anything OOP but only plain (ANSI) C.
Static vs. non-static? (with non-OOP functions)
Although this question has come up before, mine is different because it is not supposed to cover anything OOP but only plain (ANSI) C.
Static vs. non-static? (with non-OOP functions)
Although this question has come up before, mine is different because it is not supposed to cover anything OOP but only plain (ANSI) C.
Best approach for multilingual Java Enum
I’m running into issues with an approach I am taking and am now wondering if I just started down the wrong path and should rethink my approach. Here is what I attempting.
Best approach for multilingual Java Enum
I’m running into issues with an approach I am taking and am now wondering if I just started down the wrong path and should rethink my approach. Here is what I attempting.
Best approach for multilingual Java Enum
I’m running into issues with an approach I am taking and am now wondering if I just started down the wrong path and should rethink my approach. Here is what I attempting.
Why is entangling injectable with class that uses it a bad practice?
I have had this argument for a while, because I have noticed some people prefer “readable” code over properly structured one. So in the example I am showing, basically I have this Mapper
class in which different Mappable
instances are injected and the Mapper uses the instances to know how to map some data. The question here is, why is it a bad practice to do so. I suspect that the problems are: the method is static, the factory is in the wrong class, making the Mapper hard coupled to the Map
classes.
How to store/deal with data available to other classes
I’m writing a CAD program. Let’s say I have in input class, this class reads various data from a text file and creates lots of lists/dictionaries and …. These data need to be accessed by other methods in other classes to be modified. Now here is how I have done it so far:
How to store/deal with data available to other classes
I’m writing a CAD program. Let’s say I have in input class, this class reads various data from a text file and creates lots of lists/dictionaries and …. These data need to be accessed by other methods in other classes to be modified. Now here is how I have done it so far: