LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 07-09-2014, 02:07 AM   #1
Aquarius_Girl
Senior Member
 
Registered: Dec 2008
Posts: 4,731
Blog Entries: 29

Rep: Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940
Haskell vs Lisp vs Assembly - Which one should be choosen for brain enlightenment?


From what I've read on the net, it seemed to me that Lisp
is the parent of Haskell, I am not quite sure though!

I may seek to learn either of these languages just for
enlightening the brain, not as a homework or anything.

Which one out of the following
(Haskell OR Lisp)
AND
(Assembly)

should be preferred for what
reasons?

Last edited by Aquarius_Girl; 07-09-2014 at 02:12 AM.
 
Old 07-09-2014, 04:15 AM   #2
NevemTeve
Senior Member
 
Registered: Oct 2011
Location: Budapest
Distribution: Debian/GNU/Linux, AIX
Posts: 4,862
Blog Entries: 1

Rep: Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869
Why did you pick these three? There are countless programming languages to learn for fun... Anyways, comparing LISP an Assembly is like comparing apples and swimming: there is nothing to compare.
 
1 members found this post helpful.
Old 07-09-2014, 04:29 AM   #3
Aquarius_Girl
Senior Member
 
Registered: Dec 2008
Posts: 4,731

Original Poster
Blog Entries: 29

Rep: Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940
I am not intending to learn these for "fun".
I said "brain enlightenment" - read rigourous brain exercise.
 
Old 07-09-2014, 05:59 AM   #4
a4z
Senior Member
 
Registered: Feb 2009
Posts: 1,727

Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
than take C++
 
Old 07-09-2014, 07:05 AM   #5
AnanthaP
Member
 
Registered: Jul 2004
Location: Chennai, India
Posts: 952

Rep: Reputation: 217Reputation: 217Reputation: 217
People who use LISP are supposed to believe that it increases productively exponentially. Certainly it should fit what you have in mind.

You could also try PROLOG if you are interested in AI.

OK
 
1 members found this post helpful.
Old 07-09-2014, 08:24 AM   #6
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,659
Blog Entries: 4

Rep: Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940
The short-answer to your question is: "Yes!"

Learn programming languages – all of the above, and Prolog, and more. Spend some serious time looking at each of these, then move on to another. Look at haXe. The list never ends.

On the one hand, all of these tools are built to do the same thing: to cause a digital computer to do something useful, and to cause you to pull-out all of your hair in the process. Yet, they are all different. Different in their approach to the problem, different both in their strengths and in their weaknesses. Most of them were the product of someone else's conclusion that all of the tools that were at that time "out there" were rubbish, and that the world of computing therefore obviously needed another one which would fix all of those problems and finally usher in Nirvana. So, you will learn a lot from this study – and, at least for me, have fun doing it. You will view the same tasks from many different points of view.

I once was presented with a Geocaching-like puzzle which involved multiple stages. One was a "sudoku puzzle from Hell," and another was a logic problem ("The lady wearing the red dress is not holding a pineapple.") with 21 clues. I used GNU Prolog ("gprolog") to solve both of these, and, just out of curiosity, to determine that one of the 21 clues could be omitted. I learned a lot by doing this, and later on I was able to use the same ideas in the context of paying $work, to come up with a very-elegant solution to a difficult business problem. Luck favors the well-prepared.
 
1 members found this post helpful.
Old 07-09-2014, 09:24 AM   #7
PrinceCruise
Member
 
Registered: Aug 2009
Location: /Universe/Earth/India/Pune
Distribution: Slackware64 -Current
Posts: 890

Rep: Reputation: 186Reputation: 186
Programming language for brain enlightenment? Wow!
I've been reading somewhere that people who have written assembly code for MIPS architecture got so enlightened that they found writing assembly for other architectures, especially x86 and IA a brainf*ck.(?) You should try that.

Jokes apart, the only cross reference of programming language and enlightenment I found was reading Eric S. Raymond's commentary regrading LISP somewhere.

Regards.
 
Old 07-09-2014, 09:33 AM   #8
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,223

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
This is a good time to get into assembler because a Coursera course on it started a week and a half ago. It's still early enough to start and not be permanently behind:

https://www.coursera.org/course/hwswinterface

I'm taking it.

Last edited by dugan; 07-09-2014 at 11:14 AM.
 
1 members found this post helpful.
Old 07-09-2014, 10:31 AM   #9
metaschima
Senior Member
 
Registered: Dec 2013
Distribution: Slackware
Posts: 1,982

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
C/C++ will enlighten your brain and be much more useful than any of these.
 
Old 07-09-2014, 11:15 AM   #10
NevemTeve
Senior Member
 
Registered: Oct 2011
Location: Budapest
Distribution: Debian/GNU/Linux, AIX
Posts: 4,862
Blog Entries: 1

Rep: Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869
(Well, C++ is a union of two (or more) very different concepts, so I would say it's easier to learn both C and Java first, and C++ only after those.)
 
Old 07-10-2014, 12:30 AM   #11
Aquarius_Girl
Senior Member
 
Registered: Dec 2008
Posts: 4,731

Original Poster
Blog Entries: 29

Rep: Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940
Thanks to all for their time.

Quote:
Originally Posted by metaschima View Post
C/C++ will enlighten your brain and be much more useful than any of these.
C/C++ haven't made me "pull my hair out" yet.
 
Old 07-10-2014, 10:13 AM   #12
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,659
Blog Entries: 4

Rep: Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940
I'll disagree, politely, with the notion that "C/C++ is the One Ring To Rule Them All.™" It isn't.

Language implementations are usually done in either C or C++, but the languages differ from one another in at least three useful ways:
  • The tools and facilities that they provide to the programmer, such that the programmer can happily forget about them.
  • The "metaphors." The ways that the languges encourage the programmer to think about the problem. For instance, "functional programming."
  • In the case of languages such as Prolog, the outright ability to describe a problem in an abstract way so that a pre-supplied engine that is part of the language will solve it for you.
You ultimately get to the same destination: syntax errors uhh head-banging frustration uhh "getting to watch the computer solve your problem and do your bidding." But they all do it differently. Since you're in the business of creating computer software, it is useful to explore the vast toolbox. You don't have to stuff your cranium full of any of them; not yet. But it will help you to, as Apple once said, "Think Different.™"
 
1 members found this post helpful.
Old 07-10-2014, 11:21 AM   #13
Soderlund
Member
 
Registered: Aug 2012
Posts: 185

Rep: Reputation: 81
I was also thinking about learning Haskell or Lisp recently (just for "fun"). I like C but I don't particularly like languages like Java (slow execution, simplified, garbage collection instead of memory management, runs in a JVM which is wasteful and an unreasonable dependency). Haskell and Lisp have some of those features, so I decided to learn Fortran77 instead.

This is a good starting point: http://web.stanford.edu/class/me200c/tutorial_77
 
1 members found this post helpful.
Old 07-15-2014, 01:58 AM   #14
bigearsbilly
Senior Member
 
Registered: Mar 2004
Location: england
Distribution: Mint, Armbian, NetBSD, Puppy, Raspbian
Posts: 3,515

Rep: Reputation: 239Reputation: 239Reputation: 239
I'm with Linus, C++ will turn your brain into mud.

Try all 3 I would say. lisp is fantastic for brain exercise. Haskell is similar.
I never assembled but I daresay it won't be time wasted.
 
1 members found this post helpful.
Old 07-18-2014, 12:11 PM   #15
psionl0
Member
 
Registered: Jan 2011
Distribution: slackware_64 14.1
Posts: 722
Blog Entries: 2

Rep: Reputation: 124Reputation: 124
I'm not sure what "enlightening the brain" means but for sheer challenge, assembler has no equal. FORTH with its "stackrobatics" is also a great brain developer.

Higher level languages will mask a lot of the lower level challenging details but introduce new challenges of their own.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
First brain-to-brain interface mjolnir General 6 03-25-2013 09:47 PM
Haskell, Lisp, Clisp, Scala, Erlang jokar.mohsen Programming 14 02-03-2013 06:42 AM
LXer: Lisp Coding Bounty (get a copy of Land of Lisp) LXer Syndicated Linux News 0 10-23-2011 06:41 PM
Terminals choosen randomly? hondo Linux - General 1 07-23-2007 04:45 AM
LISP or COMON LISP Compiler for Debian carspidey Programming 3 04-19-2006 07:46 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration