This tag is for questions that aren't specific to a programming language or environment.

learn more… | top users | synonyms

8
votes
5answers
501 views

Language-agnostic libs every programmer should consider learning? [closed]

Assuming the language provides it, what are some things to do or libs to use that every programmer should know? My list would be Regular Expressions Named Pipes standard IO (std in/out/error) ...
7
votes
5answers
708 views

Finding an A* heuristic for a directed graph

In a previous question, I asked about finding a route (or path if you will) in a city. That is all dandy. The solution I chose was with the A* algorithm, which really seems to suit my needs. What I ...
7
votes
9answers
1k views

How are we supposed to deal with Customers who don't give a damn? [closed]

I have some customers who expect everything for next to nothing. They also want things to behave a certain way, or look a certain way, but when explaining to them why it's not a good idea to implement ...
22
votes
3answers
2k views

Is there any formal research in FizzBuzz Question Effectiveness? [closed]

After seeing this question today on variation of the FizzBuzz interview question, as well as seeing other questions related to it around, I have to ask: is there any formal research on how effective ...
9
votes
4answers
686 views

Using “catching exceptions” to improve readability, Good or Bad?

In the section When to Use Exception in The Pragmatic Programmer, the book writes that instead of: retcode = OK; if (socket.read(name) != OK) { retcode = BAD_READ; } else { ...
7
votes
2answers
487 views

When is it inappropriate to make objects immutable?

I have a class which represents an entity object in our system (for sake of argument, a Customer object) public class Customer() { private int id; private String name; ... // 30+ fields ...
7
votes
3answers
417 views

Origin of “a method should return a value or have side-effects, but not both”

I read once that a method should either have a return value (and be referentially transparent), or have side-effect(s), but not both. I cannot find any references to this rule, but want to learn more ...
6
votes
3answers
583 views

Where to load and store settings from a file?

I think this question should apply to most programs that load settings from a file. My question is from a programming point of view, and it is really how to deal with the loading of settings from a ...
3
votes
5answers
354 views

Testing From A Developer's Perspective [closed]

I have a book which mentions: "There are many types of testing, including unit testing, integration testing, functional testing, system testing, performance testing, and acceptance testing". It ...
3
votes
2answers
244 views

How is performance testing integrated into your product lifecycle?

Do you do any performance testing in any repeatable and automated way? Do you trigger it as a part of CI builds? What tools do you use? How do you spot changes in trends? I'm looking for how-tos and ...
5
votes
7answers
535 views

if you were asked to answer to the question “ what is the difference between the English language and a programming language” how you will respond? [closed]

Basically in both cases you have: a well defined vocabulary a syntax to respect they both can express a business logic they can define semantics I don't think that will be fair to say "A ...
5
votes
2answers
2k views

What to do with private fields with getters and setters in Java [duplicate]

When are Getters and Setters Justified is an excellent question which focuses on using getters and setters as part of the external interface. What I am struggling with is ... by having getters and ...
2
votes
0answers
120 views

Are there non-turing complete dynamic languages which can be used to create useful programs? [duplicate]

While it takes a turing complete language to create any imaginable program, is it possible to compute most "useful" programs with a non-turing complete dynamically typed language? For example, is ...
1
vote
7answers
294 views

Using version control in an IDE [closed]

I write all (well, most) of my programs in an IDE, mostly it's netbeans. Should I just use Mercurial through the IDE, or is it better if I used the CLI instead? and why?