All Questions

37
votes
6answers
10k views

Good example of complex code using TDD [closed]

What would be a good example of the use of TDD in large, real-life, complex, projects? All the examples I've seen so far are toy projects for the purpose of a book or a paper... Can you name an ...
11
votes
3answers
6k views

Is there a good reason to use Java's Collection interface?

I've heard the argument that you should use the most generic interface available so that you're not tied to a particular implementation of that interface. Does this logic apply to interfaces like java....
2
votes
2answers
79 views

External framework to fix code growth problems

I'm currently working on a project, and there are some "code growth" problems, that need a solution for. The deadline is not very far, and it would be advisable to stay within allocated time-frame. ...
2
votes
1answer
241 views

How can I move a library inside a project's source tree and compiling static binaries?

How can I move a library inside a project's source tree and compiling static binaries? I want to use a particular tool that utilizes ANCIENT binaries without upgrading it's API usage. This way I can ...
3
votes
2answers
471 views

Is Microsoft's Entity Framework a proprietary variant of NHibernate?

I have no knowledge of Entity Framework and NHibernate but definitely want to learn. I want to know how to start. Whether to first read documentation of NHibernate or the default Visual Studio Entity ...
15
votes
9answers
15k views

When do I need to use a framework? [closed]

I am new to web programming and at this time I am learning about PHP. I would like to know when do I need to use a PHP framework such as CakePHP? What are things that this and other similar PHP ...
5
votes
6answers
1k views

Motivation for programming in a specific language [closed]

I'm 21 and didn't go to University and hence completely self-taught from tutorials, screencasts, books etc, but when it came to the decision of what languages to specifically learn, I thought, what's ...
9
votes
1answer
300 views

Micro finance in the programming industry [closed]

I've read quite a bit about the positive effects of micro finance in developing countries. Organizations exist that solicit capital from donations and then make micro loans to people for the purpose ...
9
votes
11answers
659 views

Should my colleagues review each others code from source control system?

So that's my story: one of my colleagues uses to review all the code, hosted to revision system. I'm not speaking about adequate review of changes in parts that he belongs to. He watches the code file ...
7
votes
3answers
5k views

How to improve skills in software architecture [closed]

What is the best way to improve your skills in software architecture? We were taught design patterns in university, and I see plenty of books with simple and straight forward examples, but aside from ...
6
votes
3answers
1k views

GPL Notice on Snippets

Is it ok to put a GPL notice inside a small script or a snippet? This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as ...
6
votes
5answers
3k views

How to support a product built with agile development?

Two of the functions our company provides our customers are: Our Development team of ~10 employees creates software products for businesses in a particular industry. The software is used on hundreds ...
88
votes
17answers
6k views

How do you cope with ugly code that you wrote? [closed]

So your client asks you to write some code, so you do. He then changes the specs on you, as expected, and you diligently implement his new features like a good little lad. Except... the new features ...
7
votes
4answers
1k views

Is COM truly dead?

I have previously worked on COM, however I have observed for quite sometime that hardly any company asks for COM exp. Is COM dead or reports of its demise are highly exaggerated?
1
vote
2answers
161 views

How to retain familiarity with previously worked on technology/language/feature [closed]

One problem that I have faced over the years is that when I stop using a technology (COM,QT)/language (VBScript)/feature (Templates) for development over the time I lose skill in that. What in your ...
11
votes
7answers
839 views

Best supporting argument for refactoring [duplicate]

Currently I am working on a code best described as C code living in C++ body. However I haven't been able to convince power that be to re-factor on ground of ease of maintenance. What in your ...
34
votes
14answers
2k views

What is the right level of site blocking for you as a developer? [closed]

Almost all developers who work for a large corporation find themselves on the wrong side of site blocking software. It can be both frustrating ("Just let me read that damn blog!") and helpful ("Woah! ...
6
votes
2answers
301 views

Does anyone use Ceiling and *not* immediately cast it to an integer?

I think every single time I've used Math.Ceiling or its language variant, I've always had to cast it to an integer. I mean... that's the whole point, isn't it? To get a whole number. So why doesn't it ...
2
votes
1answer
2k views

Differences between Software Quality certification levels? [closed]

First off, thanks for reading the question. I understand that this would theoretically be best asked in the SQA stack area - but - seeing as how that doesn't officially exist yet, maybe this was the ...
28
votes
12answers
5k views

How to keep your third party libraries up to date?

Let's say that I have a project that depends on 10 libraries, and within my project's trunk I'm free to use any versions of those libraries. So I start with the most recent versions. Then, each of ...
7
votes
8answers
1k views

Examples of Java APIs that demand an action sequence

As part of a research I'm working on, I'm looking for public APIs that only work correctly when you apply a certain sequence of actions on them. For example, the java.nio.channels.SocketChannel class,...
6
votes
7answers
1k views

UI design and confirmation paradigm

I just saw this lecture by Spolsky, where he questions the need for choices and confirmation dialogs. At some point he has a MacOS settings window and he mentions that "now some are getting rid of the ...
36
votes
11answers
5k views

Writing the minimum code to pass a unit test - without cheating!

When doing TDD and writing a unit test, how does one resist the urge to "cheat" when writing the first iteration of "implementation" code that you're testing? For example: Let's I need to calculate ...
22
votes
8answers
6k views

Emacs-as-OS: obsolete? [closed]

In an attempt to reach at least beginner status with such a legendary editor, I have been coding in Emacs for the last two months. I try to keep an open heart, but I find myself continally ...
8
votes
4answers
2k views

Managing Production Issues during a Scrum Sprint

The question of managing bugs in production has been a large feature in my mind of late. Sprint's are not meant to have any items added into them, but for critical bugs, this is simply unavoidable. ...
10
votes
9answers
5k views

Why I'm not selected in an interview? [closed]

I'm working in development for 4 years, and 3.5 in PHP - why I don't seem to be able to be selected in an interview. I want to know what special things the interviewer wants to see in candidates - ...
33
votes
21answers
6k views

Why do large IT projects tend to fail or have big cost/schedule overruns? [closed]

I always read about large scale transformation or integration project that are total or almost total disaster. Even if they somehow manage to succeed the cost and schedule blow out is enormous. What ...
26
votes
14answers
4k views

How large non-OO code bases are managed?

I always see abstraction is a very useful feature the OO provides for managing the code-base. But how are large non-OO code bases are managed? Or do those just become a "Big Ball of Mud" eventually? ...
10
votes
3answers
9k views

What's the recommended control naming convention for XAML markup?

When working with WPF or Silverlight, how should one use control naming conventions? Do you name the controls in XAML markup? I have seen samples of projects at codeplex with control names such as "...
12
votes
18answers
5k views

How to read thousands lines of code without any documentation? [closed]

Previously I was searching for a good TimeLine control for a WPF project. I found an answer in Here which direct me to this CodePlex project. Now I want to change code to feed my culture needs. But ...
15
votes
2answers
4k views

Which http response do you return to a hit from a blacklisted ip?

I have been using the http:BL to block bad IP's from accessing my site. If a malicious IP (comment spammer) trys to hit the site I just exit the web script which implicitly returns a 200 OK response. ...
2
votes
3answers
2k views

How do you organize your local development environment? [duplicate]

Possible Duplicate: How do you organize your projects folders? I'm interested to learn how everyone keeps their local development projects organized in a logical manner. What do you do to keep ...
10
votes
7answers
7k views

The Agile process: how and what should be documented?

A while ago the company I work for had outsourced a development project to a third party. They employed agile practices in developing the solution. However when asked for documentation they would just ...
20
votes
7answers
8k views

What imperative programming languages do not support recursion?

To my knowledge, all modern imperative programming languages support recursion in the sense that a procedure can call itself. This was not always the case, but I cannot find any hard facts with a ...
8
votes
2answers
915 views

What is the role of a Software Architect in the Test-Driven Development process?

As I understand it, Test-Driven Development is about writing tests to define the program specifications (you can correct me if I'm wrong). If there is someone responsible for writing the ...
0
votes
5answers
399 views

Is it ok to learn from C# 2002 materials? [closed]

I've found some videos that explain C# but it back to C#.NET when it is first appeared, if I learn from these videos will I learn something that has been removed from the language? will I miss alot?
25
votes
14answers
12k views

Why do we study Java at university? [closed]

Java is often found in academia. What is the reason behind that?
16
votes
14answers
3k views

What are the pros and cons for the employer of code questions during an interview? [closed]

The Joel Test question #11 is: "Do new candidates write code during their interview?". What are arguments for and against to ask new candidates to write code during the interview and to make a ...
13
votes
4answers
2k views

Functional Programming - Does Knowing It Help Job Prospects? [closed]

The main language that I use at the moment is C# and I am the most comfortable with it. However, I have started dabbling in F# and Haskell and really enjoy those langauges. I would love to improve my ...
10
votes
2answers
19k views

Microsoft SDE Interview vs Microsoft SDET Interview and Resources to Study [closed]

I have always heard that SDE interviews are much harder to crack than SDET. Is it really true? I have also heard that if candidate doesnt do well in SDE interview he is also sometimes offered SDET ...
2
votes
2answers
5k views

What are the responsibilities of a Manager and of the Dao Layers

In several projects we have been using the following layers: Action (has 1 or more managers) Manager(has 1 or more Daos) Dao But most of the time the manager only calls the dao. We do use the ...
61
votes
9answers
20k views

How to write “good” unit tests?

Triggered by this thread, I (again) am thinking about finally using unit tests in my projects. A few posters there say something like "Tests are cool, if they are good tests". My question now: What ...
9
votes
6answers
890 views

When does it become overkill?

First off, I apologize cause I don't know how to make a community thread; so someone help me out please. As a developer, across many platforms, technologies and even on an infrastructure level; I ...
20
votes
22answers
29k views

What is the general tech news website every programmer should read? [closed]

A link and a quick explanation why would be very helpful. General tech news, I mean not like InfoQ which is too technical. Probably much more like P.SE than SO. EDIT: site should help developers ...
4
votes
8answers
15k views

Object Oriented Programming Concepts and Interviews [closed]

I'm an Object Oriented Programming fanatic. I have always believed in modelling solutions in terms of objects. It is something that comes to me naturally. I work with a services start up that ...
22
votes
14answers
9k views

What is the most obscure sorting algorithm you know? [closed]

I just read about cyclesort via a sortvis.org blog post. This is probably the most obscure one I have heard of so far, since it uses maths that I am not familiar with (detecting cycles in permutations ...
1
vote
1answer
574 views

Help me construct a list of best approaches for new C and C++ developers [closed]

Not specific code writing practices. Please also include reasoning. My start: use GCC or Clang gcc because it is unchallenged in the amount of static checking it can do (both against standards and ...
66
votes
3answers
66k views

Why is Python written in C and not in C++? [closed]

In Python's tutorial one can read that Python's original implementation is in C; On the other hand, the Python implementation, written in C, (...) I'm very curious why was Python written in C and ...
2
votes
6answers
322 views

things to think of when moving into C-land [closed]

Hello Over the years have I made a programming journey from C in 1990 to Pascal, C++ with I programmed commercially, java VHDL, C# and now I'm taking a look on F#. In the spring I will go back to ...
38
votes
16answers
54k views

What justifies the use of an IDE versus a standard editor? [closed]

I find myself using my text editor of choice (vim, nano, gedit, pick your poison) much more often than any IDE as of late. After noticing my ide shortcuts getting dusty I started to think about ...

15 30 50 per page