- #36
Xezlec
- 318
- 0
Crosson said:The ability to recognize complex patterns (with our eyes) is an NP problem. You can write a polynomial algorithm to check if you have a match with a given memory. No one has an algorithm to search for a match to the pattern in less than an exponential number of steps in the size of the problem.
I'm well aware of that. But what makes you think the brain is solving this problem in polynomial time? I'm pretty sure it isn't. Neural networks which can solve problems of this general type have certainly been built. They require more than polynomial time. But if you have 30 billion processors working on a relatively small NP-hard problem, things go pretty fast.
These features are not amazing, but they do show how the idea of type checking parameters has evolved since the 1980s.
Sure, I'll grant you that. But this is just a way of making a tradeoff easier. You still have to actually make the tradeoff. You aren't getting both the reliability and the looseness/ease at the same time. You still have to choose one or the other when you write the code. Things are a little better because you can make this tradeoff per-function rather than per-program.
This reminds me of some C arguments I've had with some people. C gives you the same kind of freedom in some areas (I am certainly NOT trying to claim that C is on the level of a high-level language like Matlab or Mathematica, so don't even start down that path). It allows you to do some things the comparatively easy, loose, quick way or the more rigorous way. But where I work, we're required to do everything the rigorous way all the time! D'oh!
Xezlec said:I'm going to have to create an example syntax that you can't figure out. Give me some time to work on it.
Given the direction this thread has taken, and my general lack of time (note how long it's been since last I posted), I'm abandoning this. It's not directly relevant to any of my points anyway. I'm not actually going to argue that Mathematica's syntax might be "too hard for the human mind". That would be obviously false since it's regularly used by lots of people.
AlphaNumeric said:Maybe I'm just weird but I'm suprised people are saying MatLab is easier to use off the bat than Mathematica. I had to learn to use one of the two of them at the beginning of the year and I tried MatLab first. Didn't have a clue WTF was going on.
Weird. I got it almost immediately. I guess it depends on the person, or something. Maybe it helps if you used to code in BASIC back in the day.
Well, as a final note, I would really like to try out Mathematica. Unfortunately, I'm no longer a student, and $2500 is a lot of cash to scrape together. So it might not happen.