The tag has no wiki summary.

learn more… | top users | synonyms

-1
votes
1answer
62 views

Garbage collector implementation tutorial / example [closed]

Is there any sample (not production!) implementation of a garbage collector that I could use for learning purposes? My priority is concpetual clarity, not runtime efficiency. In particular, I want to ...
1
vote
1answer
148 views

Non-trivial functions that operate on any monad [closed]

I'm looking for examples of interesting methods that take an arbitrary monad and do something useful with it. Monads are extremely general, so methods that operate on monads are widely applicable. On ...
1
vote
2answers
167 views

What is the real point of an “oracle” in the SW testing?

I know the definition of an testing oracle but to me, it seems to be overrated. I have a specification, why should I bother with thinking about oracles? I just compare what the spec wants and what the ...
2
votes
2answers
268 views

Putting it all together

I've been reading a few books on c# development over the last few months (clr via c#, architecting applications for the enterprise, c# 4 in nutshell just to give you an idea). I really feel it's been ...
13
votes
10answers
1k views

Inspiring problems to show off the importance of regular expressions? [closed]

I am planning to give a presentation/demonstration on regular expressions at work to encourage young developers to add this powerful and important tool in their toolbox. Just teaching syntax doesn't ...
1
vote
4answers
322 views

What are good examples of using assertions to detect bugs? [closed]

Most examples of using assertions that I find seem to be about dealing with runtime errors, such as out of memory conditions. That's not what I'm after. One good example of using assertions to detect ...
14
votes
14answers
6k views

What would be the best real example to explain the usefulness of Inheritance ? [closed]

When trying to explain the concept of Inheritance in OOP, the common example is often the mammals example. IMHO, this is really a bad example, because it will lead the newbies to use this concept the ...
2
votes
8answers
610 views

about database design [closed]

My question consists of three parts: When to be sure that your database design is perfect? Is returning to the data base design to change some issues (like adding new column, delete a column or ...
9
votes
5answers
5k views

How do I safely write code in my own 'words' and not plagiarize?

I understand plagiarism and paraphrasing fairly well when it comes to writing a research paper, but those equivalent areas in programming seem foreign to me. I've looked up the topics online, and ...
13
votes
3answers
8k views

Good unit test examples for embedded C developers [closed]

I'm going to be giving a talk to my department next week about unit testing and test-driven development. As part of this, I'm going to show some real-world examples from some code I've written ...
0
votes
3answers
4k views

What are examples of small/medium and large applications? [closed]

My question is associated with the accepted answer to this question. It says that the language should be based on the fact whther the application is small,medium or large. What popular applications ...
9
votes
1answer
339 views

Software Transactional Memory - Composability Example

One of the major advantages of software transactional memory that always gets mentioned is composability and modularity. Different fragments can be combined to produce larger components. In ...
4
votes
1answer
415 views

Where can I read exemplary Scheme code? [closed]

Edi Weitz's libraries are often brought up when people ask for exemplary code in Common Lisp, the kind to read and learn from. Are there any open-source Scheme projects or libraries that you can ...
13
votes
10answers
18k views

Examples of Finite State Machines [closed]

I'm looking for good examples of finite state machines, language isn't particularly important, just good examples. Code implementations are useful (generalized pseudo-code), but it's also very useful ...