1,506 Answered Questions for the topic computer programming
07/18/19
What is the origin of "launch the missiles"?
In the context of functional programming, a typical example of a side effect is "launch the missiles". Where does that expression come from historically?
07/18/19
What are the main differences between the Knuth-Morris-Pratt and Boyer-Moore search algorithms?
What are the main differences between the Knuth-Morris-Pratt search algorithm and the Boyer-Moore search algorithm? What are the main differences in how they work?
How to program a fractal?
I do not have any experience with programming fractals. Of course I've seen the famous Mandelbrot images and such.Can you provide me with simple algorithms for fractals? Programming language...
more
07/18/19
Are there any O(1/n) algorithms?
Are there any O(1/n) algorithms?Or anything else which is less than O(1)?
What does it mean to compose two Functors?
Exercise 5 of the Haskell Typeclassopedia Section 3.2 asks for a proof or counterexample on the statement: *The composition of two Functors is also a Functor.* I thought at first that this was...
more
Why use two step approach to deleting multiple items with REST?
We all know the 'standard' way of deleting a single item via REST is to send a single DELETE request to a URI `example.com/Items/666`. Grand, let's move on to deleting many at once. As we do not...
more
07/16/19
What is VLSI logic design?
07/13/19
What is Relativity program?
07/13/19
Did you apply computational complexity theory in real life?
I'm taking a course in computational complexity and have so far had an impression that it won't be of much help to a developer. I might be wrong but if you have gone down this path before, could...
more
07/11/19
Interface vs Base class?
When should I use an interface and when should I use a base class? Should it always be an interface if I don't want to actually define a base implementation of the methods?
07/11/19
When is theoretical computer science useful?
In class, we learned about the halting problem, Turing machines, reductions, etc. A lot of classmates are saying these are all abstract and useless concepts, and there's no real point in knowing...
more
07/09/19
Is finding the equivalence of two functions undecidable?
Is it impossible to know if two functions are equivalent? For example, a compiler writer wants to determine if two functions that the developer has written perform the same operation, what methods...
more
07/08/19
What is a Y-combinator?
How do combinators work? What are they good for? Are they useful in procedural languages?
07/08/19
What system engineers do?
07/08/19
What's a Turing machine?
What is a Turing machine and why do people keep mentioning it? My IBM PC is all I need to do my computation! Why does anyone care about these machines?
Why can't a recursive-descent parser handle left recursion?
Could someone please explain to me why recursive-descent parsers can't work with a grammar containing left recursion?
How and when to abandon the use of arrays in C#?
Should you try to avoid using an array as much as possible when you will be adding a lot of elements? Should you use iStringMap instead? If so, what happens if you need more than two dimensions AND...
more
Still looking for help? Get the right answer, fast.
Ask a question for free
Get a free answer to a quick problem.
Most questions answered within 4 hours.
OR
Find an Online Tutor Now
Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.