> On Dec 22, 2017, at 1:44 AM, Don Lapin via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Do the difficulties of a functional approach apply to almost any > database-type application, or is it more the issues with error handling in > 4D?
Difficulties implementing a functional approach arise from only being able to do certain things with mutable data structures. Programming languages that support a functional approach usually support both mutable and immutable data structures. A database is inherently mutable, so I suppose that part makes it difficult to begin with. > > Are there other circumstances where a functional approach works well, or is > it simply an ideal? Do object-oriented languages (Python/Java/Apex?) work > better in this regard, or is language unrelated to functional programming? It works well for highly parallel systems and some newer languages were designed with functional support features specifically for this purpose. For example see Clojure, Haskell, and Erlang. John DeSoi, Ph.D. ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **********************************************************************