addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscontroller-playcredit-cardcrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobe--smallglobegmailgooglegroupshelp-with-circleimageimagesinstagramFill 1launch-new-window--smalllight-bulblinklocation-pinm-swarmSearchmailmessagesminusmoremuplabelShape 3 + Rectangle 1ShapeoutlookpersonJoin Group on CardStartprice-ribbonprintShapeShapeShapeShapeImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruserwarningyahoo

Re: [ljc] How to think as "functional language programer"

From: Adam R.
Sent on: Wednesday, October 2, 2013 10:41 AM
It can perhaps help to force yourself in Java to declare every variable final, in this way you will be working with immutable data and you will also start to write your Java code in a more functional style.


On 2 October[masked]:38, Sivaji <[address removed]> wrote:
Hi all,
recently I have started learning Scala course offered by coursera (by martin odersky) but I am still not getting the crux of it by writing programs in functional way. Most of the time I am thinking like a imperative prog language developer and all examples/exercises are given in the course need to be solved with out mutation (complete functional).

so my question is, Is this quite normal for a developer from java background or you have any learning resources to tune my mind to write programs in functional programming language as well... I am loosing confidence for the first time as I am struggling to write a simple dummy tweeter application,.Scala language syntax/constructs/concepts are not a problem to understand but thinking everything in recursion and thinking very abstraction is nightmare for me now. Anybody faced similar issue (may not be with scala but other functional prog language) and want to share their experiences, it is highly appreciated??

thanks
sivaji k




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

Meetup, POB 4668 #37895 NY NY USA 10163 | [address removed]



--
Adam Retter

skype: adam.retter
tweet: adamretter
http://www.adamretter.org.uk

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