37 ms·
Doesn't it? The Fibonacci diagram isn't any clearer than the code. The Petri net animation seems as likely to obscure as it is to enlighten. I think there's s
by lmm 8y ago
Doesn't it?
The Fibonacci diagram isn't any clearer than the code. The Petri net animation seems as likely to obscure as it is to enlighten.
I think there's space for making better use of graphical environments, and modern IDEs are already stepping up this kind of capability - code folding, mouseover hints, small automatic parameter annotations. I still haven't seen any case for visual programming.
- arethuza 8y agoI've been pleasantly surprised with Microsoft Flow and the related Azure Logic Apps services - for certain classes of problems they seem to work really well. The trick seems to be recognising when this class of tool are applicable and when they aren't. In particular, I've seen some horrific things built in "visual" integration tools that apparently "didn't need developers" but were far more complex than some normal code would have been.
- deleted 8y ago[deleted]
- radiorental 8y ago> I still haven't seen any case for visual programming. Aerodef, automotive, etc all use some form of visual programming. Controls engineers rarely write code, the systems are way too complex. E.g. I highly recommend watching this video from JPL to give you an understanding of where such tools excel. It's about simulating, iterating and then having scientists and engineers autogenerate the code they couldn't possibly write or test https://www.youtube.com/watch?v=Ki_Af_o9Q9s https://www.youtube.com/watch?v=Ki_Af_o9Q9s
- adrianN 8y agoIMHO, if you can't test the hypothetical code equivalent, you can't trust whatever you clicked together using visual tools either.
- radiorental 8y agoValidation of autogenerated code is a well established field. E.g. https://www.mathworks.com/products/transitioned/simverification.html https://www.mathworks.com/products/transitioned/simverificat...
- lioeters 8y agoI'm curious to see what you mean, but the link goes to "The Challenges of Getting to Mars" which doesn't show any example of visual programming by controls engineers?
- radiorental 8y agoI don't have access to JPL's models obviously, but here's a simple student project 'reverse engineering' the rovers in some of the same tools JPL uses. Note the control diagrams towards the end. These are the very same languages that are used to design & program in all but a handful of cars, are used by every plane manufacturer, to name a few applications http://www.multibody.net/teaching/msms/students-projects-2012/mars-rover/ http://www.multibody.net/teaching/msms/students-projects-201... E.g. cruise control http://www.cds.caltech.edu/~murray/amwiki/index.php/Cruise_control http://www.cds.caltech.edu/~murray/amwiki/index.php/Cruise_c...
- dmitriid 8y ago> I still haven't seen any case for visual programming. Unreal 4 blueprints I guess :) For low-level code such as "add two and two together" they are pain. But for expressing "get complex entities, retrieve, mix and match required components, and output a set of complex entities as a result", it's surprisingly good. If used correctly :) Disclaimer: only judging from Youtube videos and tutorials
- gmueckl 8y agoThat is pretty much correct. Even with the pretty good workflow in the UI, creating the nodes for the baby steps that mathematical expressions need can be very tedious. But I find it faster than digging through the C++ reference when I need to call some complex high level function to get some game logic going. Casting a ray for a hit test is a nice example for a functuon that is easier to use from a blueprint with its ~10 different parameters that you need to provide.
- zaphar 8y agoFrankly the Fibonacci diagram looked way less clear than the code because much of the important details seemed to be invisible. I think much of what makes VP fail at some point is in the details. Programming is often mostly about the details which is why abstractions seem to leak all the time. When you have think about the details then a denser representation is extremely helpful. Visual Languages don't generally do good at showing enough of the details at once.
- thedeepself 8y agoThe Petri net seemed very clear. The Fibonacci example did not.