Tag Info

Hot answers tagged

5

"Hardware is Cheap, Programmers are Expensive" The cost between a low end computer and a high end computer is generally a few hundred dollars. That investment will be amortized over a few years. If you save 10% on compilation time or the IDE responds more quickly when opening or code completion in the IDE works faster by investing in the higher performing ...


2

In the MVP pattern is the View is "dumb". It doesn't really do anything. The presenter acts as the controlling object in the heirarchy, while the Model stores the data and has business logic methods on it. That doesn't preclude the View from firing events, which are hooked by the Presenter to methods or properties on the model, or to other testable logic ...


2

There are well-established patterns for attributing the libraries you use. In general, you put this attribution in the same place where you'd put your copyright notice. In a desktop application: Often there is a menu item “Help > About”, which displays a small info window with the application name, version number, copyright, and developer contact. This ...


2

While OAT file is an ELF file, it is not your usual executable ELF with everything in it including the entrypoint. It actually has a small number of symbols that are beginning and end of a binary blob which in turn contains the executable code of compiled methods. Now which methods should be called or when is all determined by runtime. How it all works - a ...


1

You probably understand wrongly (you should not wrap a GPL program with some protocol to communicate with a proprietary software without great cautions), and you should contact your lawyer, or the FSF. I am not a lawyer, but my understanding is that if you design a specific protocol to communicate (from some GPL program) with only a proprietary process it ...


1

The purpose of the MV* patterns is primarily to provide separation of concerns between the UI and the rest of the system. Your Audio Player Service, if it also includes the player, uses the entire pattern. If it's just streaming data, it's the model.


1

You most certainly should credit the author(s) of any code which you yourself did not write. Not only is this the descent thing to do, but in may cases it may be a legal requirement. When someone creates a repository on Github they are given the option to add a standard licence to the repository e.g. GPL, LGPL, BSD, MIT, Apache, etc. They may instead have ...


1

For a definitive answer, one would have to measure, and I am sure it will be possible to create a badly implemented CSV writer which is slower than a well written SQLite writer. However, when it comes to writing sequential data records to a file, there is not much out there which can beat using to a simple file stream in speed. Each additional layer of ...



Only top voted, non community-wiki answers of a minimum length are eligible