|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
||||
|
||||
|
Haskel Programming Language
Has anyone ever heard of the Haskel Programming language or is it just a sham???
__________________
---Official Member Of The Itsacon Fan Club--- ![]() Give a man a fish and he will eat for a day. Teach a man to fish and he will sit in a boat all day drinking beer. |
|
#2
|
||||
|
||||
|
I've never heard of it.
After a little Google'ing, I found The Haskel Homepage. Not sure what it's purpose is though... I assume it does one thing really well...
__________________
Daryl's Homepage | My Blogroll | My Profile | Firefox supporter! DevArticles Forum Moderator "The net is a waste of time, and that's exactly what's right about it." -- William Gibson |
|
#3
|
||||
|
||||
|
Ya that's it, Thats the exact site I found. I came across that, while "Stumbling" , and I was like, well I wonder if this is even a real language and is it even Worth my time to actually read over any of this information. So, I figured if no one here has ever heard about it, than I wont waiste my time with it
![]() |
|
#4
|
||||
|
||||
|
It appears to be geniune... Wikipedia entry
It's a functional programming language, which means that if you are a serial thinker, it may throw you. It's kind of like a general purpose analog to SQL. |
|
#5
|
||||
|
||||
|
What do ya mean by a serial thinker?
I might be one of those and just dont know it yet. ![]() |
|
#6
|
||||
|
||||
|
You know-- Rice Crispies, Corn Flakes, Raisin Bran...
Oh, wait... wrong cereal... ![]() |
|
#7
|
||||
|
||||
|
I knew it, that is me!!!
![]() |
|
#8
|
||||
|
||||
|
Why couldn't you just give the rabbit some Trixx!!
Oh the childhood memories/horrors... That language seems legit... the site listed books printed in the late 80's... and even newer books printed in 2000's... I'm not sure where and why one would use it instead of a more common language though. |
|
#9
|
||||
|
||||
|
Quote:
Miranda is a precursor, apparently... that language came out in the late '80's, IIRC. As for reasons to use it-- economy of code. One can accomplish certain tasks with a good deal less source code than when using the traditional tools. |
|
#10
|
||||
|
||||
|
Quote:
I figured that much... do you happen to know what specifically it does better? An example purhaps? |
|
#11
|
||||
|
||||
|
Best explained right on their home site:
Quicksort in Haskell Code:
qsort [] = []
qsort (x:xs) = qsort elts_lt_x ++ [x] ++ qsort elts_greq_x
where
elts_lt_x = [y | y <- xs, y < x]
elts_greq_x = [y | y <- xs, y >= x]
Quicksort in C Code:
qsort( a, lo, hi ) int a[], hi, lo;
{
int h, l, p, t;
if (lo < hi) {
l = lo;
h = hi;
p = a[hi];
do {
while ((l < h) && (a[l] <= p))
l = l+1;
while ((h > l) && (a[h] >= p))
h = h-1;
if (l < h) {
t = a[l];
a[l] = a[h];
a[h] = t;
}
} while (l < h);
t = a[l];
a[l] = a[hi];
a[hi] = t;
qsort( a, lo, l-1 );
qsort( a, l+1, hi );
}
}
|
|
#12
|
||||
|
||||
|
Dngrsone, have you actually done Haskel? Or are you just reading the website?
![]() The Haskel code is more compact, but I'm curious how it runs. |
|
#13
|
||||
|
||||
|
Read the website... I closest I've come to coding lately is hacking a .conf file on one of my linux boxes for a different GUI color.
![]() |
|
#14
|
||||
|
||||
|
Wow, well that definately shows a difference in amount of code. I just never seen any job asking to know that language so I was wondering if it would even be worth my time to investigate it
: |
|
#15
|
|||
|
|||
|
Quote:
Just I thought Geo while reading that. Do you code cause you want to make money? Do you only want to code in languages that can you can make money off? Is coding something you wouldn't do if it wasn't making a impact in many companies? Just a thought hope you don't get offended by those questions. |
|
#16
|
||||
|
||||
|
No offense taken BLS. Well here's me in a nutshell. I started learning programming and it became somewhat of a passion of mine but I also want to do it for a living as well. So, I would like to learn things that are relevant to working world programming. I dont want to spend a lot of time on languages that people either dont use any more or just dont use period, because most of the commonly used languages are usually going to be usefull to me as well. So, basically I want to learn the languages that will make me valuable in the job field and use those same languages to program for my own personal use. The idea is so that I dont spread my self out mentally to accomplish one thing, that way I dont have to concentrate on learning languages that I might only use once or twice.
So no I code because I love to do for some odd reason, but the fact that you can make money doing it is an added bonus, kinda like playing sports for a living. You love to do it and you can get paid well too. I just dont want to learn how to play tennis, hockey, and basketball but only play football if you know what I mean. |
|
#17
|
|||
|
|||
|
Yeah I know what you mean. Kinda the same here but I first decided to get into programming for money purposes and I got to enjoy it.
|
|
#18
|
||||
|
||||
|
Ya, I was vise versa, but either way is cool. I just wish I would have gotten into it a lot sooner
![]() |
|
#19
|
||||
|
||||
|
I code (on those rare occasions when I do) because I enjoy hacking up and modifying stuff.
|
|
#20
|
||||
|
||||
|
Yes I like modifying games and such but not very good at it though, haven't hacked anything else yet though. Before I knew any programming languages I only used tools that were published for those games, and NOTE I only modified for the mere fun of doing it not to be the annoying people that would come and mess up other ppl's games. But, if you have ever modified games Dngrsone could you give me some small tips to get started. Because I would like to make stuff for my games. Like game trailers to give you extra ammo, and all weapons and stuff like that. I just don't know how to go about it as far as writing another program to do it. If this is not your expertise that's all right just picking is all.
Example: Do you make a program that essentially opens the .exe of the game then add in code to change or replace the game data to do what you want or can you just make it what ever you want or really how does it work, any tips is cool just wondering though. I would also like to make my own cd cracks and such so I dont have to use the cd to play the games. These are real general questions because I just want to get started but want to know the direction to get started in? Any help is appreciated and O ya side note is I only know C++ well and that is about the only language I know for know.. ![]() Links to tutorials would be great too if you gott em... |
![]() |
| Viewing: Dev Articles Community Forums > Community > The Lizard Lounge > Haskel Programming Language |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|