Skip to main content

Questions tagged [implementations]

101 votes
3 answers
140k views

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 ...
Piotr Dobrogost's user avatar
96 votes
13 answers
13k views

I'm writing classes that "must be used in a specific way" (I guess all classes must...). For example, I create the fooManager class, which requires a call to, say, Initialize(string,string). ...
Gil Sand's user avatar
  • 2,193
73 votes
5 answers
31k views

C is one of the most widely-used languages in the world. It accounts for a huge proportion of existing code and continues to be used for a vast amount of new code. It's beloved by its users, it's so ...
user avatar
63 votes
6 answers
29k views

In Java there are no virtual, new, override keywords for method definition. So the working of a method is easy to understand. Cause if DerivedClass extends BaseClass and has a method with same name ...
Anirban Nag 'tintinmj''s user avatar
57 votes
3 answers
33k views

I see a lot of source code that uses PImpl idiom in C++. I assume Its purpose is to hide the private data/type/implementation, so it can remove dependence, and then reduce compile time and header ...
ZijingWu's user avatar
  • 1,077
48 votes
2 answers
22k views

There seems to be an immediate problem with starting to develop in Common Lisp: choosing an implementation. What should one take into account, and how much weight should it bear when considering a CL ...
anonymous's user avatar
  • 597
39 votes
5 answers
30k views

Pretty straight-forward. I'm implementing an interface, but there's one property that is unnecessary for this class and, in fact, shouldn't be used. My initial idea was to just do something like: int ...
Chris Pratt's user avatar
  • 6,422
39 votes
3 answers
33k views

I am working on a small application trying to grasp the principles of domain-driven design. If successful, this might be a pilot for a larger project. I'm trying to follow the book "Implementing ...
LittlePilgrim's user avatar
36 votes
2 answers
5k views

Everybody nowadays does SOA, even if some don't actually understand what is all about. So they do it wrong. Using that as an analogy I know what REST is (or at least I think I do) and want to do some ...
JohnDoDo's user avatar
  • 2,319
22 votes
11 answers
9k views

I know one of the differences between Agile and Waterfall is to do with more customer and user feedback, but I'm trying to wrap my head around what makes the Agile/XP model more adaptable to change. ...
mantot123's user avatar
  • 337
20 votes
6 answers
4k views

This is a known pitfall for people who are getting their feet wet using LINQ: public class Program { public static void Main() { IEnumerable<Record> originalCollection = ...
Panzercrisis's user avatar
  • 3,223
17 votes
6 answers
9k views

I am currently in the process of trying to master C#, so I am reading Adaptive Code via C# by Gary McLean Hall. He writes about patterns and anti-patterns. In the implementations versus interfaces ...
Marshall's user avatar
  • 289
16 votes
1 answer
7k views

This is a general topic, How do Event Handlers work? This means behind the scenes - what happens when they are created. I have a rough idea - but would like to have it confirmed.
JHarley1's user avatar
  • 701
15 votes
3 answers
2k views

C# provides the ref and the out keyword to make arguments to be passed by reference. The semantic of the two is very similar. The only difference is in the initialization of the flaged variable: ref ...
Gabor Angyal's user avatar
  • 1,079
14 votes
10 answers
4k views

Dependecy Injection makes mostly sense when using interfaces, since one of DI's strengths is to switch out implementations. It also decouples classes, since the consumer of the dependency does not ...
Hans's user avatar
  • 572

15 30 50 per page
1
2 3 4 5
8