Ir al contenido principal

The Promises of Functional Programming thoughts

The Promises of Functional Programming

Functional programming, although existing for quite some time now, haven´t grown up as much as the other languages (imperative and object-oriented) so to start learning a functional language when all your life has been around the other two languages can be confusing and difficult.

The differences are evident from the beginning, the syntax in Clojure for example, with all those parentheses, are frustrating to handle in the beginning, however, this text shows the benefits that the functional programming has and that make it worth to learn a new language with a completely different "way" of coding.

The main advantage that I agree with the reading is the benefits of concurrency and parallelism, functional programming doesn't use variables, so the main problems with these two things can be, in theory, be solved easily or avoided, however, like I said at the beginning of this entry, functional programming isn't as mature and developed to handle this, it is capable in theory, but, until now, there appears that no one has managed to develop a program that fully uses this potential, soon that program may come but considering that functional languages are not something new, I'm thinking that when that program comes it may be to late, quantic computing is rising and I think that it shall beat what functional programming might do.

Whether functional programming matures, or quantum computing gets popularized, there is still some time for that to happen so, in the meantime, it may be useful to fully exploit what functional programming can do.

From the main differences that I managed to spot and understand is the recursion and the meaning that a function has on this kind of programming, I liked and personally prefer the approach of recursion instead of loops, to call again the function instead of just repeating a part I think is easier to implement, may sound contradictory but depending on the approach used for the function it may be a good thing and simplify everything or do more more complex what on other languages may be easier.

Comentarios

Entradas más populares de este blog

Language as the Ultimate Weapon

Language as the Ultimate Weapon Regarding the question about "Why is the Nineteen Eighty-Four novel by George Orwell relevant to a student taking the Programming Language course?" I'm not entirely sure how it can be related but I'll do my best. On programming languages it is fairly common to hear a lot of names, Java, C#, Swift, among others; each person has it favorite and when we found that favorite we begin to have a sort of disgust against the others, we may see the pros of them but we focus more on their cons, we wish that our favorite language were the only one in existence and this may be good or bad, depending on each one. As the reading said, some people is more susceptible to some things than others, one may understand a programming language as if it were born with it but to other it may never get the hang of it but no because is dumb, his mind behaves different thanks to the language he chose. This variety in languages is good in which it allows for...

The Roots of Lisp

The Roots of Lisp Lisp as the main root of functional languages has a rather confusing way of working, it is as basic as it can be so to write a function without the need for it to be complex can quite confusing like the eval functions presented on the document. Is funny that on this paper I read about interpreters and on my SW Design and Architecture I also learn about interpreters. I have to thank that newer and improved versions of Lisp have emerged like Clojure that make simple to write functions that are interpreted into all this complex code that was explained just to do something relatively simple. Enough from complaining about, on the bright side, the benefits from having a simple and basic language is that it can be molded to whatever we want from the ground up (basically like how Clojure or any "upgraded" version of any language came to be) and that is why Lisp is still being so functional and useful even today. The simple notation that Lisp uses is what giv...

Hey! Listen!!! It's a me Marco

Hello buddies! I´m Marco Antonio Ríos Gutiérrez (the shy guy with freckles) and I have 21 years old. What I mostly like up to this point on my university career is networking and as you may be guessing I plan to work at Cisco Systems, although there's still plenty of courses and thing to learn at school so I hope that on this class I'll find another interest for my further professional development (maybe programming will be again, an option). Actually from this course I expect to regain my strength (if it can be called like that) in programming since, right now, I don't feel confident with my overall level and skills, that't my main goal/expectation for the course. What I most like to do (like most ISC students) is gaming, love The Legend of Zelda and Pokémon since I have memory; recently I received an Xbox One and also began to do some PC gaming with what my little laptop can support :( so I divide my time among those 3 platforms. I really like movie...