1,475 Answered Questions for the topic computer programming
07/21/19
Does Presenter in Model-View-Presenter create views?
How are Views created in MVP? Does the Presenter always create them (in addition to View in case of subviews)? Or is it a separate third-party component or App or something that creates them?
Simple basic explanation of a Distributed Hash Table (DHT)?
Could any one give an explanation on how a DHT works?
Storing Images in DB - Yea or Nay?
So I'm using an app that stores images heavily in the DB. What's your outlook on this? I'm more of a type to store the location in the filesystem, than store it directly in the DB.What do you think...
more
07/19/19
Partially Overriding a Virtual Auto-Property in a Child Class?
Time for a theoretical question I just ran across.The following code is valid and compiles: public class Parent { public virtual object TestProperty { get; set; } } public class...
more
07/19/19
What does it mean to "program to an interface"?
I have seen this mentioned a few times and I am not clear on what it means. When and why would you do this? I know what interfaces do, but the fact I am not clear on this makes me think I am...
more
07/19/19
Explaining computational complexity theory?
Assuming some background in mathematics, how would you give a general overview of computational complexity theory to the naive? I am looking for an explanation of the P = NP question. What is P? ...
more
How a RegEx engine works?
In learning Regular Expressions it had me wondering how the underlying engine works. Probably more specifically, I'd like to know more about how it evalutates, prioritizies and parses the...
more
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?
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?
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.