Listen brahs. I have a dirty anus that needs cleaning: Java. I learned Java as my first language in school and now that I learned Scheme and am learning Haskell, I figured I may as well not let that go to waste and learn Scala. Is it simple to go from Java to Scala? Or is the syntax strange in some places. Because I looked over some code snippets and it seemed decent.
Name:
Anonymous2011-04-18 12:22
I decided to stop torturing myself and part with Haskell. Why I did that?1st I don't give a damn about its type system and Haskell was putting it in my throat.2nd I didn't learned anything new. Well beside bunch of tricks, and I wasn't looking for tricks.
Farewell Haskell, you're joining the company of languages that didn't taught me much about programming nor changed the way I'm thinking .As Alan Perlis once said: "A language that doesn't affect the way you think about programming, is not worth knowing". The rest of the crew consists of pascal, basic, delphi, php, c#, ocaml, python and sql.
Name:
Anonymous2011-04-18 12:23
I can pinpoint the exact page in Real World Haskell where I became lost. I was reading along surprisingly well until page 156, upon introduction of newtype.
At that my point my smug grin became a panicked grimace. The next dozen pages were an insane downward spiral into the dark labyrinth of Haskell's type system. I had just barely kept data and class and friends straight in my mind. type I managed to ignore completely. newtype was the straw that broke the camel's back.
As a general rule, Haskell syntax is incredibly impenetrable. => vs. -> vs. <-? I have yet to reach the chapter dealing with >>=. The index tells me I can look forward to such wonders as >>? and ==> and <|>. Who in their right mind thought up the operator named .&.? The language looks like Japanese emoticons run amuck. If and when I reach the \(^.^)/ operator I'm calling it a day.
>>44
It's better than Java, but just stick to Scheme/Haskell.
Name:
Anonymous2011-04-18 12:27
As with pretty much any given functional programming language, things are so unintuitive that, well, I can't even explain properly how BAD things are. I'm studying haskell for college and I must say, when I compare the things I can do with C (I can even use pointers well), Java (I solve problems with classes), Python (I solve problems in simpler ways than C or Java) and even Shell Scripts (and that's something!) with Haskell (I pretty much can't do a thing), I know something must have gone terribly wrong!
Haskell is a bit of a fiddly language, much more primitive than most I tend to work with no implementation of while or for loops. And also lacking the ability to use functions as variables (again, primitive language) means I can not easily implement one myself, you simply have to recall the local function from inside itself … It makes me feel … Like a caveman. Anyway. I’ve also got to pick up C# at some point … Super exciting no doubt … but i’m weeks behind.
Name:
OP2011-04-18 12:28
>>42
I might use Haskell as my main language but I agree with everything else. Honestly, you have to learn radically different languages to learn something. Seven Languages in Seven Weeks taught me that. >>42
Once you know the operators though, as long as you know what you want, the type system is damn intuitive. But for some people, its not a right fit because they think of things as they program. And that's cool too. Just don't use java. Or you are a murderer
>>46 It's something I'm not used to, it must be bad!
Name:
OP2011-04-18 12:30
>>48 >>46
Its not primitive and you can use anonymous functions and assign them to variables. And use higher order functions. So I have no idea what the fuck you are talking about. BUt if you don't like it, I honestly don't care. It has a large community of people that like it for a reason. And fuck C#
Name:
Anonymous2011-04-18 12:32
>>50
He used to JAVA, and Haskell is pretty much like JAVA (statically typed, set theory based). This means that Haskell isn't much better than JAVA for solving his problems.
>>55
What profit in this "pure functional language" buzzword?
Name:
Anonymous2011-04-18 12:36
>>56
Recursive anonymous functions? I wish I'd thought of that. Oh wait. I did. Expand that concept to include whole modules? Recursive modules? Oh that's right.