SHOP from amazon

Shop Arts Crafts Sewing from Amazon

Algorithmic Programming

Generic selectors
Exact matches only
Search in title
Search in content
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages
Search in posts
Search in pages

Search Just What's on Your Mind ? . . .

*this search pane is awesome, also enhanced by google, you won't h'v to leave MCB for your regular google search, thanks to magical power of ajax & jquery.


Hi Viewer,

*Please scroll down for your Story, Meanwhile as a MCB user please be noted: We do not allow typical good-bad-foul comment culture in this platform, rather if you want, you may post a counter-constructive story to this story by copy/paste this post link in your next Publish screen. Moreover MCB is an open platform where anybody can moderate anybody's post.

You may add your Story ;

Visit & Add: SocialStory

Add your News,
Views,
Consciences,
Etc.
as mcbStory

How to Post on MCB ?
No SignUp,
Just LogIn with our open credentials:

Publish News, Views, Consciences, Etc. 

Pick any one to Publish:

# 1 mcb

# 2 MyCtgBangla

# 3 MyStory

# 4 PEOPLEPRESS

# 5 WerMCBzen

WerMCBzen

Power to Edit/Add/Improve any Post ! 

Visit  MCB Policy

:) Citizen Journalism :)

mcb post icon


MCB is an Open Online Platform with a unique, one & only Open Online Profile – ‘WerMCBzen(wermcbzen)’ where you Possess the Power to Edit/Add/Improve any post or anybody’s content, but you should keep in mind, that Power always comes with some sort of responsibilities. So please be responsible by yourself to your Power.  It is made with Love for Lovable & Sensible People Only.

Story starts  hereThis image has an empty alt attribute; its file name is mcb-mversion-logo.png

করোনার দ্বিতীয় ধাক্কা মোকাবেলায় সরকার প্রস্তুত: স্বাস্থ্যমন্ত্রী | 2nd Wave Enjoy and stay connected with us: Subscribe to Jamuna Television
MTB TopTalk MCB Love to Mention : ) Content Courtesy → MTB TopTalkHave A Views ?Pay A Visit : MCB-ProthomAlo
AstraZeneca's antibody therapy prevents COVID-19 AstraZeneca's new antibody therapy reduced the risk of people developing COVID-19 symptoms by 77% in
play Nintendo 8-bit (NES) games online (no download required) Nintendo8.com - play Nintendo 8-bit (NES) games online (no download required)
Rain Games Announces Teslagrad 2, A Sequel To Its Critically Acclaimed Metroidvania More of the same sounds good to us.Rain
কান্তা'র খোঁজ কি মিলল?: আসছে ২য় পর্ব | Somoyer Osonggoti | Somoy TV #SomoyerOsonggoti #MarjiaAkterKanta #Kanta চোখরাখুন ৩১শে ডিসেম্বর, সন্ধ্যা
করোনা বিস্তার রোধে ‘করোনা ট্রেসার বিডি’ অ্যাপ চালু করোনাভাইরাস (কোভিড-১৯) মহামারির বিস্তার রোধে দেশের নাগরিকদের জন্য পরীক্ষামূলকভাবে একটি স্মার্টফোন অ্যাপ
Is Saudi Arabia softening its Israel stance? A recent sermon from one of Saudi Arabia's leading clerics called for Muslims
Social, political, and cultural changes The years from the 8th century bce to 221 bce witnessed the painful birth of
Feature: Tomorrow Corporation Turns Publisher With Star Trek-Style Adventure 'The Captain' "Sysiac Games has built such a gorgeous, funny, sci-fi
mcb post icon

Your Story here :

0
(0)
46 views

Algorithmic Programming

It’s 2020 and we have a plethora of programming languages each having it’s own USP. For business programming, this means the business logic has to be re-written using a new programming language almost every decade to benefit from the advances. Few months back, I had started on a goal of converting an algorithm to executable code with focus on easy maintenance, code re-usability and language independence. I’m glad to share an approach that might just work. Let me know if you find it useful.

When one starts on a program, one writes the algorithm as a sequence of steps. Wouldn’t it be nice if a program could convert an algorithm into program and execute it? My approach maintains a one-to-one correspondence of the initial draft with the final program. The name kind of highlights that fact. People familiar with the subject might see similarities with Flow Based Programming (FBP). Though there have been many iterations and improvements on the basic theme, I’ll let the reader decide if my approach is an improvement. This discussion provides a comparison between the two approaches.

To test the feasibility of this approach, I wrote some code to generate the runtime/ orchestrator (index.js) from FBP definition (init.fbp). The code is available here https://gitlab.com/atamariya/fbp .

network.fbp (Sample FBP program)

Read line from network.fbp,lineReader,network.fbp Parse nodes,parseNodes Append nodes,append Generate code,genCode Execute code,vmscript

This is a simple CSV file with two mandatory fields:

  1. Comment explaining the step
  2. Identifier from a component implemented in a programming language
  3. Init parameters for the component (optional)

You can run network.fbp (default) as

node index.js

You can also provide an FBP file without suffix as an argument

node index.js init

index.js (Sample NodeJS implementation)

var packages = [“lineReader”, “parseNodes”, “append”, “genCode”, “vmscript”, ]; var vars = []; var initargs = []; initargs[0] = [“network.fbp”]; var core = require(“./core”)(); var res; res = core.init(packages, initargs, vars); res = res.then(() => core.execute(e)); res = res.then((e) => { console.log(e); // Additional code to process res // Returned value is the value of res return e; }); return res;

Advantages

  • Inline comment makes it very clear what’s happening in that particular step. So one need not look into the component to understand the flow.
  • It’s easier to edit with or without a GUI tool. Hence, it’s beginner friendly.
  • For business logic, this seems to be a good balance between complexity and maintainability. More complex idioms are better suited for a programming language which can be implemented within a component.
  • Components are simply pieces of code to be executed by the orchestrator.
  • Algorithm remains totally independent of the runtime programming language.


MCB Love to Mention : )

Content Courtesy →

Algorithmic Programming

Have A Views ?

Pay A Visit :

MCB-Rhythm Of Algorithm

How useful was this post?

Click on a star to rate it!

We're also Responding To Pandemic


*please keep in mind your post/page is always editable by the open online profile: WerMCBzen.

MCB is an Open Online Platform with a unique, one & only Open Online Profile – ‘WerMCBzen(wermcbzen)’ where you Possess the Power to Edit/Add/Improve any post or anybody’s content, but you should keep in mind, that Power always comes with some sort of responsibilities. So please be responsible by yourself to your Power.  It is made with Love for Lovable & Sensible People Only.

Edit: You're Empowered for Excellence !

SHOP from amazon | All Amazon Best Sellers