Re: Newbie seeks advice

2013-10-07 Thread Nando Breiter
Functional Thinking with Neal Ford http://www.youtube.com/watch?v=JeK979aqqqc Aria Media Sagl Via Rompada 40 6987 Caslano Switzerland +41 (0)91 600 9601 +41 (0)76 303 4477 cell skype: ariamedia On Mon, Oct 7, 2013 at 4:22 PM, vMac wrote: > Thank you very much James for that detailed advice

Re: Newbie seeks advice

2013-10-07 Thread vMac
Thank you very much James for that detailed advice. I think it will take a while to get used to that new programming style. Is there any good source of information for learning functional programming (online, book) you could recommend? I'm right now programming mostly C -stylish with a bit knowle

Re: Newbie seeks advice

2013-10-06 Thread James Reeves
The key to writing an algorithm functionally is to break it up into simple components. You're performing three calculations: (def x (myfunc x)) (def buffer (in_buffer buffer x)) (+ (nth buffer 1) (nth buffer 3)) Let's tackle each in turn. The first is a continually changing value

Newbie seeks advice

2013-10-06 Thread vMac
Hello, I'm new to closure and functional programming and need some adviec/help with my oldschool programming style. I've written the following little program and hope someone could help me to improve it. The programm computes numbers through an iterative function , put the numbers in a 'shift