Click here to Skip to main content
15,892,480 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Does anyone code with LISP? Pin
Ravi Bhavnani1-Feb-14 16:49
professionalRavi Bhavnani1-Feb-14 16:49 
GeneralRe: Does anyone code with LISP? Pin
JimmyRopes2-Feb-14 4:47
professionalJimmyRopes2-Feb-14 4:47 
GeneralRe: Does anyone code with LISP? Pin
Ravi Bhavnani2-Feb-14 5:00
professionalRavi Bhavnani2-Feb-14 5:00 
GeneralRe: Does anyone code with LISP? Pin
H.Brydon1-Feb-14 17:46
professionalH.Brydon1-Feb-14 17:46 
GeneralRe: Does anyone code with LISP? Pin
JimmyRopes2-Feb-14 7:50
professionalJimmyRopes2-Feb-14 7:50 
GeneralRe: Does anyone code with LISP? Pin
Paul M Watt1-Feb-14 18:56
mentorPaul M Watt1-Feb-14 18:56 
GeneralRe: Does anyone code with LISP? Pin
JimmyRopes2-Feb-14 5:03
professionalJimmyRopes2-Feb-14 5:03 
GeneralRe: Does anyone code with LISP? Pin
Paul M Watt2-Feb-14 11:22
mentorPaul M Watt2-Feb-14 11:22 
JimmyRopes wrote:
Do you think functional programming will have relevance in market analysis?

I am sure that there is some place for it, but I do not have enough knowledge of ForEx or the market itself to make a suggestion. My instinct tells me that any of the math equations or collection of similar constructs is a good place to start.


JimmyRopes wrote:
Very interesting. Can you be coaxed into an article explaining how to implement functional programming constructs in non-functional languages?

Yes, however what I plan on doing is building up a TMP-based solution on my blog. The blog is also fed into CodeProject so you will be able to follow it as I build up the solution. I wrote an initial entry on TMP here: Template Meta-Programming[^].

The short answer, is that you think of everything like a function in math. Zero or more inputs are passed in, and only one result at most is returned. If you pass in that same set of inputs to the same function, you will get the exact same results every time. This is very valuable when you want to prove that something is working properly because there is only one possible answer for any set of inputs. Contrast this with the potential of programming with global variables, intermediate state, and potential side-effects.

It does take some practice to get used to solving problems this way. In the end, it becomes another tool in your belt to solve problems. If you keep your mind open, programming in other languages even just casually, can help you expand your approach to solving problems. The key is to not try and use every language like it is C++, or whatever your programming language of choice happens to be.

I am surprised how interested programmers have become with TMP recently. The TMP blog entry I gave you the link to has been one of my more popular entries. So, once I am done building up the solution through the series of blog entries, I could imagine writing a summary article.
To know and not do, is not yet to know

http://www.codeofthedamned.com

GeneralRe: Does anyone code with LISP? Pin
JimmyRopes2-Feb-14 18:16
professionalJimmyRopes2-Feb-14 18:16 
GeneralRe: Does anyone code with LISP? Pin
Mike Diack2-Feb-14 2:25
Mike Diack2-Feb-14 2:25 
GeneralRe: Does anyone code with LISP? Pin
JimmyRopes2-Feb-14 4:52
professionalJimmyRopes2-Feb-14 4:52 
GeneralRe: Does anyone code with LISP? Pin
Kirk 103898213-Feb-14 2:09
Kirk 103898213-Feb-14 2:09 
GeneralRe: Does anyone code with LISP? Pin
JimmyRopes3-Feb-14 8:13
professionalJimmyRopes3-Feb-14 8:13 
GeneralRe: Does anyone code with LISP? Pin
irneb3-Feb-14 2:20
irneb3-Feb-14 2:20 
GeneralRe: Does anyone code with LISP? Pin
JimmyRopes3-Feb-14 8:17
professionalJimmyRopes3-Feb-14 8:17 
GeneralRe: Does anyone code with LISP? Pin
irneb3-Feb-14 21:48
irneb3-Feb-14 21:48 
GeneralRe: Does anyone code with LISP? Pin
JimmyRopes4-Feb-14 1:57
professionalJimmyRopes4-Feb-14 1:57 
GeneralRe: Does anyone code with LISP? Pin
Reese Currie3-Feb-14 2:28
Reese Currie3-Feb-14 2:28 
GeneralRe: Does anyone code with LISP? Pin
JimmyRopes3-Feb-14 8:20
professionalJimmyRopes3-Feb-14 8:20 
GeneralRe: Does anyone code with LISP? Pin
Rowdy Raider3-Feb-14 3:00
Rowdy Raider3-Feb-14 3:00 
GeneralRe: Does anyone code with LISP? Pin
JimmyRopes3-Feb-14 8:20
professionalJimmyRopes3-Feb-14 8:20 
GeneralRe: Does anyone code with LISP? Pin
musicm1223-Feb-14 3:26
professionalmusicm1223-Feb-14 3:26 
GeneralRe: Does anyone code with LISP? Pin
JimmyRopes3-Feb-14 8:21
professionalJimmyRopes3-Feb-14 8:21 
GeneralRe: Does anyone code with LISP? Pin
Alan Balkany3-Feb-14 5:17
Alan Balkany3-Feb-14 5:17 
GeneralRe: Does anyone code with LISP? Pin
JimmyRopes3-Feb-14 8:22
professionalJimmyRopes3-Feb-14 8:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.