java - Functional programming applied -


I have been interested in programming throughout my life, and for the last 6 years I have worked with Java almost exclusively I just finished with my university studies and the company has worked as a Java developer.

The programming of all these years has been a hobby and a favorite last time, but this has little negative impact on its meaning that I became so accustomed to Java that I never came forward as a programming language. . I tried to increase my knowledge of things by learning regular expressions, SQL and studying XML, but I could not include it adequately with a new language so that it could be used properly in the party. Because they all look alike on their origin, I have the state of learning to harass every new language. I felt like I should have gone to complete the whole process, I was introduced because I felt like I did not have to do anything else in other mandatory languages ​​(I know that this statement can start fighting, it is mine Do not intend).

So I decided to find a magical world of functional programming at one point. I started reading a book on Haskell and I found a very interesting fact from an academic approach (actually Major in Mathematics), but I could not find practical application about it so that I know enough to learn languages Could.

Now when Java is the main part of my day, since I am paying it in code (and I did as much as I did), I felt the need to re-increase my horizon. Happened and re-functional programming sounds like a good idea.

I thought I would start with Scala because I'm Java literate (make the transition easier and they can "talk" to each other) and therefore my question is: In my experience Learning a functional language "makes sense"? Is there a real life application, where can it be useful to know this paradigm? Not only for personal entertainment, but it will also be "supporter" in the industry? Learning a functional language is a big plus, even if you ever have it on your day. Do not use it in the job or not. Consider the following:

  1. One of the biggest recommendations for successful concurrent programming is that whenever possible, avoid unstable position in your threaded object. Functional programming teaches you how.
  2. Most functional programmers, once they achieve uncomfortable learning stages, claim that their technique makes them more productive in standard compulsory languages. Their code is more bug-free, and the fraction of the size like in other languages When you finally explain regular expressions, think about promoting productivity now put steroids on it He can feel like a FP.
  3. Functional techniques are rapidly making their way into compulsory programming. Closer in C # and Javascript, and soon (maybe, if we are lucky) think in Java it is very likely that two worlds will soon be one Will come along
  4. Finally, in a job interview, knowing a functional language will help you stand out from your average J2EE / .NET clone. It marks you as a starter yourself, a disciplined learner and a passionate programmer - whether you actually have any of these or not yet become another slinging scala fanboy, scolding your soon-to-be-booming boss Why is not it missing about the best programming techniques ... you get this idea. It is never good to insult a potential prospective employer.

For me, Haskell has made reading much more fun than programming. It can do the same for you well wishes!


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -