There is no such thing as one grand unified full-stack programming language
Programming via WikiMedia Commons - https://commons.wikimedia.org/wiki/File:Programming_code.jpg

There is no such thing as one grand unified full-stack programming language

I was thinking recently about?Mel Conway's two lessons regarding programming tools:

Lesson 1. The developer's productivity is best served by a tool set whose behavior throughout the development cycle is strictly consistent with the principle that the program being executed is available without delay after every change and is identical to the source program entered by the developer. (That is, there should be no hint of the existence of a translator.)
Lesson 2. Application languages and algorithm languages are different creatures. The job of a productive application language is not to describe algorithms, but to hide them.

Conway discovered these lessons based on his experience in early computing. Nevertheless, they still hold today.

They say that software architects gravitate towards a particular specialization or a specific flavor of architecture they tend to implement, and the patterns they learn early on trend well into their late careers. In my case, be it trading systems, cloud-based CRM, ERP, or HCM, my work revolves around building one kind of SaaS or another. As a result, the architecture I gravitate to can best be described as?a microkernel.

In?microkernel architecture, the application is split into two general areas. One is what Conway describes as the?algorithms, though I prefer to call it?platform. The other is?application?implemented as?plugins?for the platform.

The role of the platform is to meet architecture requirements, such as security, scalability, deliverability, testability, reliability, and various other "-ilities". Aside from the primary goal of meeting business requirements, the plugins for the platform support developer productivity needed to evolve business processes rapidly.

In a modern SaaS, the microkernel platform provides the APIs to perform tasks in the application. The plugins are a glue that ties the APIs into meaningful and rapidly evolving business processes.?

A trading system may be implemented as a microkernel that provides the basic functionality to execute trades -- and plugins implement customizable trading algorithms. An HCM microkernel may offer a set of APIs required to manipulate HR workflows and run payroll, with pluggable components describing business processes. Amazon's Alexa architecture can be viewed as a platform offering basic functionality needed to implement and run plugins called?skills.

The toolchains, including the programming languages required to build the platform vs. the plugins, do not have to be the same. The developer skillsets needed to work on the platform vs. the plugins don't need to overlap.

As Conway would say, a productive?application language?must offer a quick turnaround. Developers should be able to execute their work without delay after every change, and the code being performed should be identical to what they've written. Conceptually, this idea tends to favor interpreted languages with REPL such as Python or JavaScript and rules out the use of any transpiler such as TypeScript1.?

In the past, I implemented two styles of the mechanisms for plugins. One was for a trading system implemented as a?Groovy-based DSL?to describe trading algorithms. Another was an ERP SaaS platform that supported JavaScript plugins, deployed as AWS Lambda functions behind the scenes. The AWS Lambda-based approach checks many architecture requirements boxes for projects I am working on these days, and it is my preferred approach.

The?platform language?must meet a different set of goals. Though developer productivity is essential, it must also meet architecture requirements. The platform language must be capable of expressing modern systems concepts such as networking, object serialization, and multi-core processing. In the past, my preference was Java. These days,?I love Go.

Meeting the architecture requirements of the platform and developer productivity does not have to be mutually exclusive. However, one should not discount the difference between?application?developer productivity and?platform?developer productivity. Whereas the goal of a platform developer is to build reliable infrastructure code, the goal of an application developer is to develop and update business process logic quickly.

Some final thoughts

There is no such thing as one grand unified full-stack programming language or a full-stack developer using a single tool. As a SaaS software architect, I certainly do not see some holy grail from my vantage point. We need to use tools that best meet the needs of the task -- and the needs and the skills of developers who use them.?

  1. When I talk about my distaste for transpilers, I do not generally include web application front-ends. Front-end development nuances are outside of the scope of this article.???

要查看或添加评论,请登录

Oleg Dulin的更多文章

  • Stop panicking. The future is bright.

    Stop panicking. The future is bright.

    Is there a future in traditional computer science? The short answer is yes. I am confident that the future is bright.

    2 条评论
  • The year of aspirational goals

    The year of aspirational goals

    They say goals should be SMART: Specific, Measurable, Achievable, Relevant, and Time-bound. When I talk to students and…

    1 条评论
  • My giant follows me wherever I go

    My giant follows me wherever I go

    In his "Self-Reliance" essay, Ralph Waldo Emerson said: "At home I dream that at Naples, at Rome, I can be intoxicated…

    1 条评论
  • The day I became an architect

    The day I became an architect

    In the fall of 2016, I accepted my current job at ADP (obligatory disclaimer: opinions expressed here do not represent…

    2 条评论
  • Are developer jobs truly in decline?

    Are developer jobs truly in decline?

    Are developer jobs in decline? A recent study showed that software developer employment peaked in 2019 and has been…

    2 条评论
  • Leadership is About "We", Not "I"

    Leadership is About "We", Not "I"

    Every now and then I hear a leader boast, "I created a multi-million revenue generating product for my company." Such a…

  • Form follows fiasco

    Form follows fiasco

    Why software architects should stick with their projects Last weekend, I took my daughter to an antique…

    3 条评论
  • Software engineering is here to stay

    Software engineering is here to stay

    No, developer jobs aren't going away Matthew Berman made a bold claim that developer jobs will be obsolete in 10 years.…

    2 条评论
  • Thanksgiving reflections

    Thanksgiving reflections

    Last year, on Thanksgiving, I wrote a reflection on the war in Ukraine that impacted my friends, family, and people…

    3 条评论
  • Safe and Secure: Seminar on Cybersecurity for Seniors and Their Families

    Safe and Secure: Seminar on Cybersecurity for Seniors and Their Families

    On November 5th, 2023, I had the privilege of hosting a seminar on cybersecurity for seniors at Anshe Emeth Memorial…

    4 条评论

社区洞察

其他会员也浏览了