The tag has no wiki summary.

learn more… | top users | synonyms

61
votes
10answers
6k views

How to explain why multi-threading is difficult

I am a fairly good programmer, my boss is also a fairly good programmer. Though he seems to underestimate some tasks such as multi-threading and how difficult it can be (I find it very difficult for ...
49
votes
4answers
2k views

How can you estimate time for tasks which primarily consist of figuring out a problem?

While it is relatively possible for an experienced developer to estimate how long it will take to implement code when the pattern and problem the code is solving is well understood, how can you make a ...
28
votes
2answers
4k views

What are the London and Chicago schools of TDD?

I’ve been hearing about the London style vs. Chicago style (sometimes called Detroit style) of Test Driven Development (TDD). Workshop of Utah Extreme Programming User's Group: Interaction-style ...
21
votes
11answers
1k views

Is information hiding more than a convention?

In Java, C# and many other strongly-typed, statically checked languages, we are used to write code like this: public void m1() { ... } protected void m2() { ... } private void m2() { ... } void m2() ...
18
votes
4answers
2k views

What is a byte stream actually?

Can anyone explain me what byte stream actually contains? Does it contain bytes (hex data) or binary data or english letters only? I am also confused about the term "raw data". If someone asked me to ...
16
votes
12answers
1k views

What are some concepts people should understand before programming “big” projects? [closed]

A person new to programming may be able to make a good small program. However, when starting to work on anything bigger than a small (think 1 C source file or Python module) program, there are some ...
16
votes
1answer
2k views

AOP concepts explained for the dummy

I'm learning Aspect Oriented Programming and have isues understanding concepts. I'm not a bad programmer but my english is bad and can't understand fully the definitions. Can someone explain AOP ...
12
votes
6answers
3k views

What does Jamie Zawinski's Law mean?

I need a proper explaination of Jamie Zawinski's Law of Software Envelopment: Every program attempts to expand until it can read mail. Those programs which cannot so expand are replaced by ones ...
12
votes
5answers
824 views

What problems can arise from emulating concepts from another languages?

I've read many times on the web that if your language doesn't support some concept, for example, object orientation, or maybe function calls, and it's considered a good practice in this other context, ...
12
votes
5answers
505 views

Storing in-text metadata in a discrete data structure

I am developing an application which will need to store inline, intext metadata. What I mean by that is the following: let's say we have a long text, and we want to store some metadata connected with ...
12
votes
4answers
1k views

Database fuzzy search concept

I thought about this, and have been trying to come up with solutions on how to fuzzy search a database, if for say example a user types a spelling mistake. Any glaring problems with the logic behind ...
11
votes
6answers
2k views

How to teach a script to detect sarcasm? [closed]

I'm currently building a fun script, that basically matches given phrases and gives a predefined response based on the match-points. You can ask it to retrieve some information based on live feeds, ...
11
votes
6answers
3k views

What *are* the programming concepts I should master to have a deep understanding of my craft (programming)? [closed]

In order of importance, if its possible to do so and it may not be, what are the most important foundations of knowing how to program. Algorithms, iteration, recursion, etc? Note that where I put ...
11
votes
11answers
745 views

Infinite Bitmap

I'd like to build a bitmap during runtime. The bitmap should be scalable on all sides and pixel access should be quiet efficient. Between and after the commands shown in the picture, Map.setPixel() ...
10
votes
7answers
2k views

What should a C programmer know? [closed]

What are some concepts/techniques/language features that every decent C programmer should know/be aware of (exclude general software engineering and similar and focus only on C specific stuff). I ...
10
votes
7answers
1k views

Programming knowledge vs. programming logic

Is there any difference between the two topics? I have seen companies asking for Good Programming knowledge some Good Programming logic. I have seen this in Job profiles for a developer – for e.g. ...
10
votes
3answers
1k views

How to handle interview questions on programming style

As a C++-programmer in interviews I repeatedly found myself in situations were the interviewer wanted to probe my knowledge of good programming style. These typically were centered around basic ...
10
votes
4answers
641 views

Dictionary of language concept terms? [closed]

Is there somewhere some kind of dictionary or book which explains all those modern terms of language concepts like (but not limited to) currying closure lambda function type deduction dynamic ...
9
votes
2answers
695 views

How is IETF different from W3C?

I've been following these organizations (institutes, entities, whatever) for near 3 months now, and both of them claim that they're trying to make the Internet a better place. They're creating ...
8
votes
1answer
631 views

Is there an explicit word for non-abstract class?

I got mainly abstract classes in my project and there are a few other class which are using/inheriting them. When I'm writing the documentation I would like to specify that a part of it is just about ...
8
votes
3answers
335 views

Is there such a concept as “pseudo implementation” in software development?

I'm looking for a label to describe the practice of using human-based computation methods or other means of "faking" an algorithm for the sake of getting a product or demo off the ground quickly ...
8
votes
1answer
2k views

Erlang and Go concurrent programming, objective differences between CSP and Actors?

I was looking into concurrent programming in Erlang and Go programming languages. As per my finding they are used Actor model and CSP respectively. But still I am confused with what are the objective ...
8
votes
3answers
2k views

Is there a difference between casting and converting types in imperative programming languages?

The question came up in a discussion at StackOverflow. Is there a clean distinction between the two concepts cast and convert (concerning the type of an object), or are these two words describing ...
7
votes
8answers
644 views

Train for the job or train for the skill? [closed]

I'm in charge of hiring for a small java shop. We have a very limited hiring budget so we tend to pickup fresh grads cheap and spend time training them. I have found colleges and universities do quite ...
7
votes
3answers
3k views

NoSql databases - Decent tutorial/book that covers the concepts

Am looking for a good resource on learning the concepts behind NoSql databases. Most things I find are related to a specific technology (MongoDb, CouchDB etc) but I'm after all the concepts behind ...
7
votes
3answers
442 views

What is your most unusual javascript concept you've ever seen?

I've learned javascript at school but since I'm working with it and study about it every day, I've found very particular aspect of javascript that I didn't know about. Which at first, was very hard to ...
7
votes
3answers
7k views

need some concrete examples on user stories, tasks and how they relate to functional and technical specifications

Little heads up, I'm the only lonely dev building/planning/mocking my project as I go. I've come up with a preview release that does only the core aspects of the system, with good business value, and ...
7
votes
1answer
183 views

Collocation in Code

Quite some time ago I remember reading an article from 'Joel on Software' that mentioned collocation of information in code was important. By collocation, I mean that relevant information about the ...
6
votes
2answers
1k views

In C++, were SFINAE and metaprogramming intentional or just a byproduct of templates?

SFINAE and template metaprogramming can do wonderful things and many libraries also use them considerably. Historically both of these "magic concepts" were intentionally introduced/supported in C++ ? ...
6
votes
4answers
2k views

What is a Bootstrapper in programming?

I sometimes see the term "Bootstrapper". I saw it last when creating some learning exercises for Prism. I stumbled upon UnityBootstrapper class. My question is: when would you call a class a ...
6
votes
1answer
730 views

Are non Turing-complete languages considered programming languages at all?

Reading a recent question: Is it actually possible to have a 'useful' programming language that isn't Turing complete?, I've come to wonder whether non Turing-complete programming languages are ...
6
votes
3answers
3k views

How is the actor model used?

I have read a bit about the actor model, but don't really understand how to use actors in a real world situation – how to model a problem with them. Can someone please explain? A simple example or ...
6
votes
3answers
233 views

How would you go about looking for collaborators? [closed]

I seem to have a never ending stream of more-or-less original, more-or-less cool ideas for software/apps/stuff yet to be written on my mind. Sometimes, I decide to just start implementing my idea. ...
6
votes
3answers
457 views

So I've gotten the hang of iOS app development, but how do I become a great app developer? [closed]

I've spent the past 2 years teaching myself and taking classes on object oriented programming. I have done quite a bit of Java programming, and lately I've been spending a lot of time doing ...
5
votes
4answers
759 views

Why were concepts (generic programming) conceived when we already had classes and interfaces?

Also on stackoverflow.com: I understand that STL concepts had to exist, and that it would be silly to call them "classes" or "interfaces" when in fact they're only documented (human) concepts and ...
5
votes
3answers
4k views

How do we differentiate between a computer and a calculator?

In this SO Question there is a comment by starblue that A computer without loops is a calculator Is this true? Is that the only difference? Is there a set of criteria to differentiate or has ...
5
votes
5answers
378 views

How valuable and rare is being able to create something from scratch?

I just found out the other day that the previous web company where I worked for 8 years will pretty much be shut down except for occasional updates and support of existing applications. I was ...
5
votes
1answer
243 views

How to display in compositional relationship that the item knows about the container?

I'm drawing a class diagram and noticed that sometimes I got a relationship (composition or aggregation) where the item uses the container, and sometimes not. What is the visual difference in a ...
5
votes
2answers
319 views

solve TOR edge node problem by using .onion proxy?

I would like to improve the TOR network, where the exit nodes are a vulnerability to concealing traffic. From my understanding, traffic to .onion sites are not decrypted by exit nodes, so therefore - ...
4
votes
3answers
385 views

What is “short-circuiting” in C?

I have heard of the term "short-circuiting" being used in C. What does this mean and in what scenario would it be used?
4
votes
4answers
491 views

How much is modern programming still tied to underyling digital logic? [closed]

First of all: I've got no academic background. I'm working primarily with Java and Spring and I'm also fond of web programming and relational databases. I hope I'm using the right terms and I hope ...
4
votes
1answer
362 views

How do people develop emulators?

I hope this is right area on Stack Exchange to ask this question. People out there have built emulators for every game console but I don't understand how they do it. I consider myself (and have the ...
4
votes
3answers
170 views

MVC and the business rule

I need to know where in the MVC should I apply the business rule. Imagine the situation: I have a school and I need to generate a calendar of classes for teachers. Each teacher has a school subject ...
4
votes
1answer
310 views

Inexpensive generation of hierarchical unique IDs

My application is building a hierarchical structure like this: root = { 'id': 'root', 'children': [ { 'name': 'root_foo', 'children': [] }, { 'id': 'root_foo2', 'children': [ { ...
4
votes
2answers
220 views

How to protect a peer-to-peer network from inappropriate content?

I’m developing a simple peer-to-peer app in .Net which should enable users to share specific content (text and picture files). As I've learned with my last question, inappropriate content can ...
3
votes
2answers
366 views

What is State, Mutable State and Immutable State?

This is a newbie question, but I couldn't find a newbie-proof enough answer on Google. What do people mean when they say 'state' - in programming in general, and in OO programming specifically? ...
3
votes
1answer
256 views

Difference between trigger, handler and callback

It's current to see the terms callback, trigger and handler in some API documentations. It is just synonymous or each term correspond to a specific concept? I used to think that this terms are just ...
3
votes
2answers
533 views

Explanation of satellite data from a programmers perspective

I have started reading Part 2 of Introduction to Algorithms and in the section The structure of the data the author/authors says in the context of sorting a sequence of numbers: In practice, the ...
3
votes
3answers
156 views

Representational Equality versus Value Equality

I am coding a system where I have objects which represent a set of resources. These resources are identifiable (they have an ID). There can only be one resource with the same ID, and so multiple ...
3
votes
1answer
220 views

What is meant by binary compatibility? What is its importance during serialization/deserialization in a language like Java that deals in byte code?

In computing what is meant by binary compatibility? I read about it in context of serialization/deserialization that this process of serialize/deserialize should be binary compatible. What does it ...