Tag Info

Hot answers tagged

4

The terms FIFO and queue are interchangeable. In most programming languages, queue and stack terms are preferred to FIFO and LIFO, and to many programmers, they will feel more descriptive. As Nick Alexeev noted, FIFO is more common in hardware. Finally, don't use lowercase fifo: FIFO is an acronym, which means that it should be written in capitals.


4

The version numbers for the 'version' are part of the IP header field (described in RFC 791) and is 4 bits wide. As with many of the numbers that find their way into the internet, the numbers for the version are part of the Internet Assigned Numbers Authority. The list of the version numbers can be found at ...


3

A design pattern is (to quote Wikipedia) "general reusable solution to a commonly occurring problem." You're describing a characteristic of good code, not a particular solution to a problem, so "design pattern" doesn't really apply. I believe the concept you're looking for is cohesion. Strictly speaking, cohesion refers how well the parts of a module ...


3

Not necessarily. If you look at the Wikipedia Article, you'll find that a Dependency is considered a service. In practical terms, this is going to be an object of some sort (a reference type to be more exact). While that object is going to be passed to some class constructor as a parameter, not all constructor parameters are service objects, and therefore ...


2

Queue can also mean a priority queue or a timing queue where elements are pulled out based on how soon or in which order they should be handled they should be handled. This is common in event based architectures to handle timeouts. It may or may not be an actual data structure or just a virtual one that you pop an event off from. However in the context of ...



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