Parsing Markdown in BoxLang - Take 2
Briefly

The article discusses a personal experience in enhancing a programming task, specifically adding Markdown processing to BoxLang using the Flexmark Java library. Initially, the author used the createObject function for creating Java objects, which made the code complex. However, after some feedback, they adopted the simpler native import statements for the same functionality. The author highlighted this simplification while noting a caveat regarding locating the necessary .jar files for the imports, ultimately emphasizing code clarity over encapsulation in simpler applications.
To give you an idea of the difference, let's first consider the initial version: ... this version is a heck of a lot simpler in terms of what's being done.
technically the imports there break encapsulation from the simple UDF I had written, but I would have used a class in a real application anyway.
Read at Raymondcamden
[
|
]