simpler, more concise and more efficient code

Posted by agent_008_nl on 02-Sep-2015 12:21

(previously https://community.progress.com/community_groups/openedge_general/f/26/t/19732.aspx)

"Suddenly, OOP just didn't seem all that important. Not when we can write simpler, more concise and more efficient code by using techniques available through templates and generic programming."

http://stackoverflow.com/questions/1039853/why-is-the-c-stl-is-so-heavily-based-on-templates-and-not-on-interfaces

This looks interesting to me. No C++ plus progress expert caring to explain why this would or would not be something to look into  (in more detail). Can this be implemented in the oe language? Could it provide roi?

 

--
Kind regards,

Stefan Houtzager

Houtzager ICT consultancy & development

www.linkedin.com/in/stefanhoutzager

All Replies

Posted by Thomas Mercer-Hursh on 02-Sep-2015 16:43

Generics are supported for C# code.  They have been on the wish list for support for OOABL components for a long time.  PSC clearly understands their significance.

Posted by agent_008_nl on 03-Sep-2015 01:31

That's good, thanks for your reply. Now the templates could be a good addition. I miss a reaction from psc here. I would not be surprised if others having profound C++ knowledge do not react. Not everyone likes to hang around on the marketplace (4umi.com/.../12). Excuse me for the quasi-intellectual reference. ;-)

This thread is closed