Profile cover photo
Profile photo
Yishai Feldman
About
Posts

Post has attachment
Robopsychology, Part 1: What Goes on in the Mind of a Cognitive System?
Dr Susan Calvin in Asimov’s I, Robot is a
robopsychologist.   As Asimov explains in
the preface, this means a psychologist of robots, and is not to be
misunderstood as a robot who is also a psychologist.   Robopsychology should perhaps be a
sub-discipline o...

Post has attachment
Programming by Thinking
In my second post ( Programmers as Children) I complained about the fact that programmers work with their fingers instead of using their brains.  This is gradually getting worse instead of better, with growing academic research concentrating on the use of e...

Post has attachment
Functional Programming in Mainstream Languages, Part 6: Higher-Order Functions in Haskell
I will finish the survey of higher-order functions in mainstream languages with Haskell, a fully-functional language.  (There's a lot of talk about the imperative features of Haskell, but don't let that mislead you; Haskell is truly functional.)  Haskell co...

Post has attachment
Functional Programming in Mainstream Languages, Part 6: Higher-Order Functions in Xtend
I introduced the Xtend programming language in a previous post .  Xtend is similar to Java, and compiles to Java (not to bytecode), but is much more pleasant to use.  In particular, it supports functional programming in various ways, both in the language it...

Post has attachment
Functional Programming in Mainstream Languages, Part 5: Higher-Order Functions in Scala
Scala is a relatively new language; it belongs to the bigger-is-better school of programming languages, and includes many kinds of object-oriented features as well as a functional subset.  Scala captured a lot of interest in the academic community, and for ...

Post has attachment
Functional Programming in Mainstream Languages, Part 4: Higher-Order Functions in JavaScript
JavaScript is the only universal language for client-side programming for web applications.  If you need to write anything that will run in the browser, JavaScript is currently your only option.  That is unfortunate, since JavaScript is an amalgam of some g...

Post has attachment
Functional Programming in Mainstream Languages, Part 3: Higher-Order Functions in Java 7 and 8
Having seen (in the part 2 of this series ) the basic syntax for expressing functions in Java 8, we will now explore some functional-programming techniques and compare how they are expressed in Scheme, Java 7, and Java 8.  The examples are adapted from the ...

Post has attachment
Functional Programming in Mainstream Languages, Part 2: Introduction to Higher-Order Functions in Java 8
If immutability is the primary principle of functional programming, higher-order functions are its most important technique.  Higher-order functions, also called lambas, are now part of many mainstream languages.  In particular, they have been added to Java...
Wait while more posts are being loaded