r/javascript • u/sqio • Aug 23 '13
How A Coding Method From 1970s Banking Software Could Save The Sanity Of Web Developers Everywhere
http://www.fastcolabs.com/3016289/how-an-arcane-coding-method-from-1970s-banking-software-could-save-the-sanity-of-web-develop6
u/ns0 Aug 23 '13
I'm not sure how I feel about this. I saw the kickstarter for coding by designs and it seems interesting.
The one problem I have is electronic circuits used to be designed by visual reference. However for larger scale projects it became to cumbersome to organize and visualize. Things essentially become a bogged down mess for anything complex.
Now computer engineers use a VLSI design (similar to C++) to design circuits. I think computer engineers should weigh in on the pros and cons of using visual diagram/data flow programming. Or someone who's familiar with designing ETL's.
1
u/elsjaako Aug 24 '13
The idea here is similar to labview. I've used it, and labview is great for certain things. If you are working with physical inputs and want to update to the UI continuously that's great. But I've also had to use it for complexer things and while it's all possible, you really miss being able to use a normal programming language.
I ended up coding most of the program in a DLL in C++.
Also you want to be able to use source control, and this includes letting people merge. This isn't an unsolvable problem, but it means that they either coded up some kind of interface to resolve graphical merge conflicts, or the people doing the merging are going to have to know how to edit the files behind the graphical interface. So they need to be programmers after all.
1
12
3
Aug 23 '13
[removed] — view removed comment
5
3
u/ThumpingMontgomery Aug 24 '13
Nor does it mention Pd or Max/MSP or VVVV or Quartz Composer or any other dataflow language that is already in use and popular.
3
u/sqio Aug 24 '13
Looking at the comments it seems like all critique is focused on the choice of one word in the introduction. Can we move beyond that and talk about actual ideas?
I have used Quartz Composer and Pure Data, but most of my coding was in Flash and JS. Then I started http://meemoo.org/ to bridge those paradigms and experiment with hackable media. Now I'm working on NoFlo to bring the concept closer to JS for more general programming. I'm looking forward to building Meemoo components with NoFlo, making my code even more encapsulated and reusable.
My biggest issue with QC and PD is that I often wanted to dive into a component and change something. In QC this meant finding the source (if open) and figuring out Objective-C, XCode, compiling... too much friction. We are putting a lot of design into making a useful tool for coders. We'll be able to edit a component's JS or make a new component in-place, in a live graph, without changing windows and taking us out of our own coding flow.
So FBP hasn't been suppressed, and is currently only used in niche industries. The truth is that it hasn't been tried for general purpose JS, which spans server, interactive UI, canvas, WebGL, Web Audio, and all future niches that JS finds. We're inviting our early community to help us design the patterns that make sense in those contexts. The beauty of the JS ecosystem is that it will be seamless to connect them.
So FBP isn't a silver bullet that will make everybody magically understand code. But when I discovered Quartz Composer, my concept of what is possible with code was greatly expanded. My hope is that Meemoo and NoFlo will have that effect on future media hackers.