Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re: pissed off about functional programming

by freegnu (Initiate)
on Aug 12, 2014 at 11:13 UTC ( #1097099=note: print w/replies, xml ) Need Help??

in reply to pissed off about functional programming

Python automatically switches to unlimited number size internal storage for numbers bigger than the registers of the CPU as any good object oriented programming language should.

J let's you specify the precision you want or full precision which is probably what you mean.

You may want to introduce yourself to the tacit programming of the functional programming language J at Tacit programming infers the variables based on the position of the functions so that the input can be the result of another function or the original input based on positioning. It's a bit more complicated than that but Haskell as the type constricted mess it is right now is a poor representative of what functional programming is. Haskell makes the simple verbose. I'm currently trying to get my head around Gerunds in J as a way of performing all the operations before the branching logic or refactoring the logic flow to find the use case to use Gerunds. I think I have to step up my J to using adverbs and performing my actions on verbs first. Verbs = functions.

At it's root functional programming is y = f(x) where x can be an array or a single item. Some programming languages like R simplify this by allowing the use of mathematical notation and forcing single items to be 1 dimensional arrays of length 1.

  • Comment on Re: pissed off about functional programming

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1097099]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (8)
As of 2019-10-22 21:31 GMT
Find Nodes?
    Voting Booth?