ardz
I agree that Haskell has some good (old) ideas and it is pleasant to Sunday programmers.
Most of you here should stop writing BS about Haskell and how it is going to save the world.
> I never said that. Your argument was that this is specific to Haskell which is not.
It is specific to lazily evaluated languages, especially Haskell. To test Haskell program you will need a real environment under heavy load - maybe Google or Amazon could afford it. Tiny unit tests which are perfect for strictly evaluated languages won't detect these kid of bugs.
How can anyone seriously code in a language which introduces new kind of bugs which cannot be detected by any test until running in production on real data when it is already too late?
So don't lie that 'it is not suited'. There are some fools that actually use it.
'knock knock!'
- Who's there?
'minute of silence'
'Knock Knock!'
- Who's there!?
'another minute of silence'
- Java
- Why did you knock twice?
- I didn't, but some other suspicious guy is standing here with raised arm and mouth open.
Based on my recent Clojure on Android experience.
It is the only language I know of which makes trivial problems hard and hard problems impossible.
Because of its syntax you have to write 10x as much documentation, as experiment shows and I can confirm this from my own experience. Haskell is full of BS.
Description is rather clear: "To get a feel for what real world Haskell looks like..."
reverse (PS x s l) = unsafeCreate l $ \p -> withForeignPtr x $ \f -> c_reverse p (f `plusPtr` s) (fromIntegral l)
form http://www.haskell.org/ghc/docs/latest/html/libraries/bytest...
People who write code like this should be banned. Code should be written in a way to be easily read by people, not a compiler. This is not a coincidence that there are 500 lines of documentation. This is how typical Haskell code looks like.
Pen and paper are my debugging tools, not a type system.
This hard fact says more than thousand committee reviews.
No if you want to write quick and dirty scripts or just learn OO-ish (OO - object oriented) programming language. OO-ish fashion is coming to an end. Im writing OO-ish because Python is not fully OO language.
Yes because of new languages like Rust, Clojure, Go. A lot of programmers moved to Clojure because of it's simple syntax and a lot of libraries which can extend language without waiting (sometimes years long) for a committee. Just look at http://www.reddit.com/r/cpp/comments/1tyawn/what_are_feature... - this shouldn't be happening. Python version: http://stackoverflow.com/questions/1017621/why-isnt-python-v...
In my opinion Python has stalled as a language and there is no future for it maybe except for some quick dirty scripts.
Lisp was and still is a safe bet. Languages come and go, fashions change, but in case of Lisp it is a matter of a few macros and a library to catch up. Other ex-fad languages need a committee and long years to evolve.
I mean:
- IDE should have an integrated compiler.
- IDE should download only necessary libaries or functions needed by a program(from central repository, local or remote).
- IDE should catch a bug and allow me to fix it while program is running.
- IDE where I am able to fix a bug on my clients phone or his wrist watch remotely without the need to download whole Haskell Platform there. No JS/HTML5 BS.
I don't know about the first two but GPL is not a good choice.