addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscontroller-playcrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobegmailgooglegroupshelp-with-circleimageimagesinstagramFill 1light-bulblinklocation-pinm-swarmSearchmailmessagesminusmoremuplabelShape 3 + Rectangle 1ShapeoutlookpersonJoin Group on CardStartprice-ribbonprintShapeShapeShapeShapeImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruserwarningyahoo

Re: [ljc] Are you functional?

From: Eugene Le R.
Sent on: Tuesday, October 2, 2012 10:16 AM
How long is a piece of string? :D

Simple examples would be on demand tasks like data processing (e.g. example a spreadsheet or log file), code generation or testing a service (e.g. Google protocol buffers or simulating HTTP requests).

To code the above in Java would take much more time than what one can achieve in a functional language like Python.
Yes, you could probably do data processing in AWK/SED or bash, but when you have a specific case like an excel formatted spreadsheet, you need a module that can interpret the data and these other tools can not.
Thus having a tool like Python becomes a general all purpose tool, know it well and all tasks become easier.

Understanding the "beauty" string/data manipulation in Python is simply wonderful, see:
http://docs.python.org/release/3.1.5/tutorial/datastructures.html
http://docs.python.org/release/3.1.5/library/string.html

Disclaimer: I'm not advocating Python, it just seemed to be a best fit for me compared to other languages I've investigated (Ruby, Erlang, Haskell). Scala requires the JVM and in my opinion Python is more simple and rich in features for on demand tasks.


On 2 October[masked]:34, Giampiero Granatella <[address removed]> wrote:
I'm using groovy, but i don't use really functional programming, but probably I should do. I use it in the same way as Java
Eugene can you make me some example of your real expenrience of the tasks in wich is better to do it?

Thanks a lot,
Giampiero


2012/10/2 Eugene Le Roux <[address removed]>
Yes, of course!

I do a number of smaller tasks using functional programming (Python) because it's much more faster to implement and achieve success.

However for more long term vision tasks using Java is excellent.



On 1 October[masked]:43, Craig Silk <[address removed]> wrote:

I recently watched an interesting talk[1] from Jane Street about why they use OCaml and functional programming in general.

This got me wondering if anyone here is using functional languages at work on a daily basis and why?

[1] https://ocaml.janestreet.com/?q=node/61





--
Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by Craig Silk ([address removed]) from LJC - London Java Community.
To learn more about Craig Silk, visit his/her member profile
Set my mailing list to email me As they are sent | In one daily email | Don't send me mailing list messages

Meetup, PO Box 4668 #37895 New York, New York[masked] | [address removed]





--
Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by Eugene Le Roux ([address removed]) from LJC - London Java Community.
To learn more about Eugene Le Roux, visit his/her member profile





--
Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by Giampiero Granatella ([address removed]) from LJC - London Java Community.
To learn more about Giampiero Granatella, visit his/her member profile

Our Sponsors

  • Our Blog

    Read the latest news from the LJC

  • RecWorks Ltd

    Fixing Tech Recruitment using the Power of Community

  • jClarity

    Java/JVM Performance Analysis Tools & mentoring for Java related matters

  • LJC Aggrity

    Our LJC Aggrity site contains blog posts from our members

  • LJC Book Club

    Our Book club with book reviews from our members

  • Devoxx UK

    Java Community Conference in collaboration with the LJC, 8-10th June 16

  • SkillsMatter

    "Host, help organise, promote, film many of our meetings."

  • IBM

    Build Enterprise-grade apps at start-up speed.

  • New Relic

    New Relic makes sense of billions of metrics a day in real time.

  • Hazelcast

    Hazelcast is the leader in operating in-memory computing.

  • Java.Net

    We are an official Java User Group recognised by Oracle's JUG program

  • JRebel

    Free 3 month J-Rebel license.

  • O'Reilly

    40% discount on printed books and 50% on e-books.

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy