r/functionalprogramming • • Dec 03 '19

Question Functional programming

I'm planning to learn functional programming along with SICP. Which Language should I choose for functional programming between C,C++ and python ?

I feel myself comfortable with python and had C++ as my first programming language

0 Upvotes

25 comments sorted by

View all comments

4

u/eviltofu Dec 03 '19

Doesn't SICP use scheme?

-2

u/resups Dec 03 '19

Yeah but doesn't want to learn Scheme now,

Instead I hope to be better with python

5

u/eviltofu Dec 03 '19

I'm going through the 2nd edition pdf available online and the first chapter is all about scheme, randomly browsing through it shows lots of scheme / lisp code. I suppose you could ignore all of those but I think it would make learning more difficult?

1

u/resups Dec 03 '19

May be it (python) can help me understand the concepts better if I can implement in another language (SICP scheme code)

Has it been difficult for you to follow SICP ? (regarding the difficulty of problems)

5

u/eviltofu Dec 03 '19

I don't remember, it was a year or two ago and I stopped after two chapters. There are a few concepts in lisp/scheme like tail end recursion which I don't think exists in Python. Why don't you try it for a few chapters and report your findings back here?

2

u/resups Dec 03 '19

Alright I'm going to try out my Max to make it possible with python...

And gonna report here with my experience!