[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: Functional programming in ABL

  • Thread starter Thread starter marian.edu
  • Start date Start date
Status
Not open for further replies.
M

marian.edu

Guest
[quote user="Lieven De Foor"] In functional programming languages, functions are first-class citizens. [/quote] Luckily the 4GL still has functions so you can pretty much go with the functional programming paradigm if that works for you although I do not see how changing state can be avoided in a business application and I would very much like to keep the 'assign' statement part of the language - regardless of how imperative it might sound - for us mortals that don't write mathematical algorithms in 4GL :) [quote user="Lieven De Foor"] The boilerplate code (Subscribe/Publish/Unsubscribe) might be able to get isolated in an include file. If anyone has any other creative ideas on how this pattern could be used, please share them here... [/quote] No other creative idea so will probably just stick to using interfaces instead.

Continue reading...
 
Status
Not open for further replies.
Back
Top