Overloading interface buttons, what are the best practices?
Imagine you’ll have always a button labeled “Continue” in the same position in your app’s GUI.
Would you rather make a single button instance that takes different actions depending on the current state?
Naming variables with fixed point units [closed]
Closed 9 years ago.
Relationship between SOA and OOA
Thomas Erl defines SOA as follows in his site:
Questions about identifying the components in MVC
I’m currently developing an client-server application in node.js, Express, mustache and MySQL. However, I believe this question should be mostly language and framework agnostic.
Why are invariants important in Computer Science
I understand ‘invariant’ in its literal sense. I also recognize them when I type code. But I don’t think I understand the importance of this term in the context of computer science.
String patterns that can be used to filter and group files
One of our application filters files in certain directory, extract some data from it and export a document from the extracted data. The algorithm for extracting the data depends on the file, and so far we use regex to select the algorithm to be used, for example .*.txt
will be processed by algorithm A, foo[0-5].xml
will be processed by algo B, etc.
What is the standard for describing functions and objects?
What is the standard for describing functions/methods (function name, number of arguments, argument type, return type, etc…) in a manner that is language independent?
Why should one use a single-use temporary variable?
Let’s say we have a class called ‘Automobile’ and we have an instance of that class called ‘myCar’. I would like to ask why do we need to put the values that our methods return in a variable? Why don’t we just call the method?
In dependency injection, is there a simple name for the counterpart of the injected object? [closed]
Closed 10 years ago.
Is Reading the Spec Enough? [closed]
It’s difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 12 years ago. This question is centered around Scheme but really […]