concepts

What was the hardest programming concept that you had to get your head around ?

Duplicate http://stackoverflow.com/questions/167849/what-is-the-single-hardest-programming-skill-or-concept-you-have-learned Mine was the fundamentals of object orientation. I had to read several books and journals before it sank in. I haven't really encountered that level of learning since. ...

Child-Parent table : where I should put the method in 2 class?

I have two table with parent child relationship and still confuse how to map it into class from tables. Simple class which encapsulate methods and not using Business Object / Value Object. The tables are category and product. When a webform list product from a category, what approach I should do? Create Category object and call GetProd...

When to use Records Vs Objects

I use Delphi, but this is a question that I think is valid for any object-oriented programming language. When should I use records over objects. I used to think that you used records when you had some simple definition of a set of related data that you wanted to store together that didn't need to be able to manipulate itself. However e...

robust and flexible 3d data structure

I'm looking for a concept to store (in 3 dimensional euclidian space) faces, edges and vertex such that information (about relation) isn't duplicated queries for adjecent and neighboring faces/edges/vertex are fast the mesh is not limited to connected faces of the same winding definitions neighbor of a face: the face that shares a...

testing an internal class

how to write unit tests to internal classes ??? ...

How much bits is a WORD and is it constant over different architectures?

Is a machine WORD always the same or does it depend on the machine architecture? And is the meaning of the word WORD context sensitive or generally applicable? ...

What's the difference between computer network and telecommunication network?

When we talk about network programming, does it means the "network" here is just the computer network? And what is the difference between the computer network and the network that not belongs to computer network? ...

Are all scripts written in scripting languages?

I'm confused by the concept of scripts. Can I say that makefile is a kind of script? Are there scripts written in C or Java? ...

What is actor model in context of a programming language?

I've seen it mentioned in several places in contexts like Erlang actor model, Groovy actors, Scala actor model etc. What does this refer to? ...

what is the difference b/w Layer and Tier ?

Duplicate: What’s the difference between “Layers” and “Tiers”? HI , i am having confusion about these two terms what does these two terms mean ? what is the difference b/w Layer and Tier ? ...

What do you know about 3 Zero (0-development 0-deployment 0-management) Concepts?

I heard about this 3 zero-* concept some time ago, and like the idea very much. Now I want to become more familiar with the concept, as well as locate the source. Neither Google nor fellow developers could provide any additional details. What do you know about the 3 zero-* concept? ...

Can someone please give an example of 1NF, 2NF and 3NF in plain english?

Hey everyone, I am trying to really wrap my head around the database normalization concept. I understand that it is used to avoid duplicate/redundant data, and it involves creating separate tables for certain things, but I'm not quite sure I understand 1NF, 2NF and 3NF fully. I have read some of the questions on here regarding normaliza...

Trying to wrap my wee brain around how threads deadlock...

First, here's a sample: public class Deadlock { static class Friend { private final String name; public Friend(String name) { this.name = name; } public String getName() { return this.name; } public synchronized void bow(Friend bower) { System.out.fo...

What is mutex and semaphore in Java ? What is the main difference ?

What is mutex and semaphore in Java ? What is the main difference ? ...

Assessment / knowledge testing questions

For all you technicians out there that ever had to assess a new collegue (e.g. a job interview or intake of contractors), what questions do you ask during such sessions in order to measure the candidates technical knowledge? For example, a common question I use is to explain the difference between an open or closed diamond in UML diagra...

Do concepts like Map and Reduce apply to all Functional Programming Languages?

I have just started delving into the world of functional programming. A lot of OOP (Object Oriented Programming) concepts such as inheritance and polymorphism apply to most modern OO languages like C#, Java and VB.NET. But how about concepts such as Map, Reduce, Tuples and Sets, do they apply to all FP (Functional Programming) language...

Inducting Fresh Computer Graduates as Programmers

What are the key practical concepts that a fresh graduate should be educated with when he starts with his first programming job and how soon should you expect him/her to be productive and actually deliver the code you expect ? ...

Three Things I Learned About Software WHILE NOT in University

Well this question is asked by Scott at Scott Hanselman's blog, but I want to introduce over here. What were the Three Things You Learned About Software WHILE NOT in University? ...

IT concepts that help/helped you in the "real" world.

Which IT concept (e.g. programming) you implement successfully outside the IT world? For example, normalizing databases are relevant to organizing my items. Understanding the real scale of information and search engine forces my to stop accumulating data (books, articles, pictures) and improve the method by which I find relevant info...

Guides on 3D Programming Concepts?

I'm trying to move my game development into the third dimension, but I'm having a bit of troubles understanding what I actually have to do. I've created a 2D MMORPG before using C and SDL, which wasn't too hard. But I can't seem to find any useful resources explaining how 3D programming actually works. I have a basic understanding of the...