The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
34 views

What are the benefits of using coding?

I am completely new to coding java... and I was asked to give a small presentation about coding. I just would like to ask why is coding good? I know I could search it on the internet but so far i ...
-1
votes
1answer
59 views

Garbage collector implementation tutorial / example [on hold]

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
138 views

Human Names in Programming Examples [duplicate]

In small programming examples, it is established that one will probably use foo, bar, and/or bas as variable/function names. Are there accepted human names one can use? For example, if a program is ...
1
vote
1answer
289 views

Is This A Good Example Of Open Recursion?

I understand open recursion as the process of a method on a class calling another method on a class using a keyword such as this, but whereby the method call may actually be bound to a sub class at ...
2
votes
1answer
144 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 ...
7
votes
4answers
2k views

I want a trivial example of where MongoDB can scale but a relational database will have trouble

I'm just learning to use MongoDB, and when discussing with other programmers would like a quick example of why NoSQL can be a good choice compared to a traditional RDBMS - however the scenarios I come ...
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 ...
12
votes
4answers
9k views

C++ why & how are virtual functions slower?

Can anyone explain in detail, how exactly the virtual table works & what pointers are associated when virtual functions are called. If they are actually slower, can you show the time that the ...
1
vote
4answers
13k views

How to apply verification and validation on the following example

I have been following verification and validation questions here with my colleagues, yet we are unable to see the slight differences, probably caused by language barrier in technical English. An ...
2
votes
2answers
267 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 ...
14
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
321 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
608 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 ...
8
votes
4answers
5k views

What is a Neural Network in simple words [closed]

Can you please explain neural networks in simple words with an example?
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
411 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 ...