Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-4041-

I want to learn functional programming

Name: Anonymous 2009-07-17 1:38

What should I start with? Haskell looks weird, lisp has so many parentheses I want to ((((()))()())))((()))(((())))))))(())))()()
and erlang appears to be useless and weird.

With that said, I am willing to learn them since I know FUCK ALL about them.

go ahead, hax my anus...

Name: Anonymous 2009-07-17 1:42

>>1
Of those three, you thought Erlang was useless?
Bahahaha.

Name: Anonymous 2009-07-17 3:24

Haha, do you think you'll accomplish anything without actually trying?

Haskell/ML looks weird? Because it's something new which you don't understand yet, and you don't have the mindset to understand yet!

Lisp has parens? Lisp coders don't even notice them, all they see is the crystal clear structure and shape of the code. Get a good editor which can handle indentation and paren-matching, and you'll be coding and understanding lisp programs in no time, as long as you learn it at the same time.

Erlang useless? It was made to solve important real-world problems which other languages struggle to solve properly. If you see no use for it, is because you are thinking only in your limited programming worldview.

You could take the step and learn something new and open your eyes to new programming paradigms, or you could continue as you are, solving your problems using redundand imperative idioms.

Name: Anonymous 2009-07-17 3:37

Haskell/ML
He didn't mention ML.

Name: Anonymous 2009-07-17 4:16

Ilike python

Name: Anonymous 2009-07-17 5:21

Perl6 will be the best functional language.

Name: !ScHeMErirI 2009-07-17 9:31

You will find a lot of help available for Scheme and Haskell, I don't know about Erlang, though I'm sure it has a positively thriving community. The first four video lectures from SICP will help get you going a lot in Scheme/Lisp.

PS -- parentheses really do disappear after a while

Name: Joe 2009-07-17 10:15

Hello, Anonymous.

Start with Erlang, the functional programming language.

Name: Anonymous 2009-07-17 11:49

Thanks guys I appreciate the input. I think I am going to learn scheme. It seems like it is geared toward beginners.

Name: Anonymous 2009-07-17 11:52

>>9
Why do you care if it seems to be geared towards beginners? I can assure you, that language is intended to be algorithmic.

Name: Anonymous 2009-07-17 11:58

>>10
It was a poor choice of words. What I meant was "There are a lot of resources for beginners to learn from with Scheme."

Name: Anonymous 2009-07-17 12:17

>>11
There are really good books available online. How To Design Programs, old version of The Scheme Programming Language (terse), and of course SICP (which uses scheme but isn't a scheme tutorial). Also, Teach Yourself Scheme in Fixnum Days.

Have fun.

Name: Anonymous 2009-07-17 12:54

>>11
No, it was a perfectly fine wording.

Name: Anonymous 2009-07-17 14:32

javascript
read the butterfly book

Name: Anonymous 2009-07-18 1:09

I have The Little Schemer. Have any of you worked through that?

Name: Anonymous 2009-07-18 1:17

>>3
IHBT.

Name: Anonymous 2009-07-18 1:20

>>3
Like if your functional bullshit didn't run atop imperative machines.

Name: Anonymous 2009-07-18 2:19

>>17
Of course. Functional programming is a way of describing programs. In the end, the functional program still has to run on real systems and so, it has to be translated into something the machine will understand."

Name: Anonymous 2009-07-18 11:46

>>18
"
novice Wikipedia copypaster

Name: Anonymous 2009-07-18 12:02

>Functional programming

C

/thread

Name: Anonymous 2009-07-18 12:05

>>20
>Functional programming

Name: Anonymous 2009-07-18 12:06

>>20
It's useless because I can't work with higher order functions, referential integrity and loeb easily. It's also strictly evaluated.

Name: =+=*=F=R=O=Z=E=N==V=O=I=D=*=+= !frozEn/KIg 2009-07-18 12:10

C preprocessor has excellent functional programming component(#define)
You should write a program which consists of preprocessor macros to get a good look of the paradigm.


_______________________________________________
http://xs135.xs.to/xs135/09042/av922.jpg
Writing is not a profession but a vocation of unhappiness. I don't think an artist can ever be happy.

Name: Anonymous 2009-07-18 12:33

>>17
Like that has anything to do with anything.

Name: =+=*=F=R=O=Z=E=N==V=O=I=D=*=+= !frozEn/KIg 2009-07-18 12:53

Name: Anonymous 2009-07-18 13:26

I want to rock.

Name: =+=*=F=R=O=Z=E=N==V=O=I=D=*=+= !frozEn/KIg 2009-07-18 13:58

>>26 http://www.stlyrics.com/lyrics/roadtrip/iwannarock.htm

__________________________________
http://xs135.xs.to/xs135/09042/av922.jpg
The great moral question of the twenty-first century is this: if all knowing, all culture, all art, all useful information can be costlessly given to everyone at the same price that it is given to anyone; if everyone can have everything, anywhere, all the time, why is it ever moral to exclude anyone?

Name: Anonymous 2009-07-18 14:23

>>25
http://okmij.org/ftp/c++-digest/Lambda-CPP-more.html
This idiot has no idea what currying is.

IHBT

Name: Anonymous 2009-07-18 16:25

Am I the only one that thinks that the revenue/ticket price exercise in HTDP is fucking retarded?

Name: =+=*=F=R=O=Z=E=N==V=O=I=D=*=+= !frozEn/KIg 2009-07-18 16:56

>>29 HTDP(like SICP) is meant to teach with examples, the dumber the better, since all these books cater to the lowest common denominator.



_____________________________________________
http://xs135.xs.to/xs135/09042/av922.jpg
When despotism has established itself for ages in a country, as in France, it is not in the person of the king only that it resides. It has the appearance of being so in show, and in nominal authority; but it is not so in practice and in fact. It has its standard everywhere. Every office and department has its despotism, founded upon custom and usage. Every place has its Bastille, and every Bastille its despot. The original hereditary despotism resident in the person of the king, divides and sub-divides itself into a thousand shapes and forms, till at last the whole of it is acted by deputation. This was the case in France; and against this species of despotism, proceeding on through an endless labyrinth of office till the source of it is scarcely perceptible, there is no mode of redress. It strengthens itself by assuming the appearance of duty, and tyrannises under the pretence of obeying.

Name: Anonymous 2009-07-18 17:02

JAVASCRIPT BIBLE

Name: Anonymous 2009-07-18 17:04

>>30
I bet you haven't read your SICP today.

Name: =+=*=F=R=O=Z=E=N==V=O=I=D=*=+= !frozEn/KIg 2009-07-18 17:15

>>31 Try these links:
http://www.w3schools.com/jsref/default.asp  
http://www.quirksmode.org/js/contents.html
https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference

________________________________________________
http://xs135.xs.to/xs135/09042/av922.jpg
What actually transpires beneath the veil of an event horizon? Decent people shouldn't think too much about that.

Name: Anonymous 2009-07-18 17:51

>>33
try some other language

Name: Anonymous 2009-07-18 23:54

I am working through HTDP and posting shit on 4-ch.net/code.

There is a poster on that board that reminds me of RMS in how pedantic they are. The person is a fucking clown, they recommend books they have not read and doesn't afraid of fucking anything.

I like scheme. It is fun times. Thanks my friends.

Name: Anonymous 2009-07-19 0:12

>>35
and doesn't afraid of fucking anything.
Back to /b/, please.

Name: Anonymous 2009-07-19 0:37

>>36
No, thanks. I am staying. The stupidity here is much worse than that which is on /b/ at anytime.

Name: Anonymous 2009-07-19 1:10

>>35
When you're wrong, you're wrong. When you're confused, you're confused. You cannot have a conclusive debate when there is confusion in the premises or logic.

Name: Anonymous 2009-07-19 2:48

>>38
Frozen Void is going to put that in her sig.

Name: =+=*=F=R=O=Z=E=N==V=O=I=D=*=+= !frozEn/KIg 2009-07-19 2:52

>>39 Thank you for suggestion. I find the quote insightful.



_________________________________________________
http://xs135.xs.to/xs135/09042/av922.jpg
When you're wrong, you're wrong. When you're confused, you're confused. You cannot have a conclusive debate when there is confusion in the premises or logic.

Name: FrozenVoid 2009-07-19 5:41

>>39
no i would never put something so silly in my sig. it is reserved for deep and meaningful quotes like those taken from fightclub not this crap.
besides, it goes completely against my debate philosophy: argue nomatter how stupid or crazy you sound until the other person gets frustrated and gives up, then declare yourself the winner

Name: =+=*=F=R=O=Z=E=N==V=O=I=D=*=+= !frozEn/KIg 2009-07-19 5:47

>>41 Thats just a cool sig which would complement my signature pool with content from /prog/ and i'm not having any static "debate philosophy"(what you describe is a method or a character flaw, depending on perspective).


_____________________________________________
http://xs135.xs.to/xs135/09042/av922.jpg
Well, a blockaded bishop is of little value, but I think you're referring to a pawn.

Name: Anonymous 2009-07-19 8:10


puts "Learn Ruby!"

Don't change these.
Name: Email:
Entire Thread Thread List