joaomilho / Enterprise

šŸ¦„ The Enterpriseā„¢ programming language

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lack of verbosity is a problem

sizer99 opened this issue Ā· comments

While I am in awe of this transformative (and resume enhancing) breakthrough, I feel it is not verbose enough to be properly Enterprise Safe. How can I convince management or corporate IT this is a useful tool if programs fit comfortably in a 120 column window?

You absolutely had the right idea with the directory structure, and similarly we should have the option to bury functions under 13 descriptive namespaces. For instance, existing code:
log("Fizz");;;
This is far too compact and confusing. What is log? It could be logarithm. It could be timber. It could be putting an entry in my personnel file. For Enterprise Safety, this should be (just an example):
System.Console.Output.Text.Line.WithNewLine.NoTemplate.Final("Fizz");;;
The exact path can be easily determined with 6-12 working meetings.

Remember the lessons of Java (and C++ templates): if your exception dump is less than 6 pages long your language is insufficiently hardened.

Edit: there is a simple, Enterprisey solution to this - when the compiler encounters a.b.c.d.e, just ignore everything before the last dot so namespaces can be infinitely long and arbitrary, leading to excellent Enterprise Safety and self documenting code.

Sounds like a winner.

instead of final, use licensed, because every command should check for a valid license, first.