Live data from Hacker News

DRAKON – An algorithmic visual programming language

en.wikipedia.org

21–30 of 55 posts

Re: DRAKON – An algorithmic visual programming language

#22

As a tangentaly related point... Has any visual programming language ever been successful? The guys at Epic are really pushing their blueprint system, and a lot of people like it... but its inherantly tied to the engine.

Grasshopper (Rhino) is quite successful for architecture and 3D modeling, but its also tied to the engine. Also see https://news.ycombinator.com/item?id=7274674 for an exhaustive list.

Re: DRAKON – An algorithmic visual programming language

#23
post #19

As a tangentaly related point... Has any visual programming language ever been successful? The guys at Epic are really pushing their blueprint system, and a lot of people like it... but its inherantly tied to the engine.

Max/MSP is pretty widely used for music and audio: https://cycling74.com/products/max/

And VVVV http://vvvv.org

> vvvv is a hybrid visual/textual live-programming environment for easy prototyping and development. It is designed to facilitate the handling of large media environments with physical interfaces, real-time motion graphics, audio and video that can interact with many users simultaneously.

Re: DRAKON – An algorithmic visual programming language

#24

what are some advantages/disadvantages of visual programming languages compared to text based ones?

I did a fair amount of work with LabVIEW long ago. I also played with another visual language for the Mac that was floating around in the 90s. This isn't a slam against LabVIEW, which would be unfair in any event since it's been that long and their product has changed a lot. Advantage: It seemed easy for beginners to learn how to do simple things, such as sequencing the operations and measurement in a lab experiment…

1) I think although LabView is quite useful, it's interaction design is terrible (that users play along only attests to it's utility!)

3) It's essentially a way of displaying code, so perhaps any new languages could reuse the same graph/flowchart environment. But inherently visual languages are designed either towards people who don't want to learn a language or who are performing specific tasks where the graphic flow improves their reasoning. I'd say for the vast majority of 'coding' those are not the case, since the "concept density" is very low (but visual UIs may help a lot of get started programming people anyway).

Having a graphical environment also helps remove a lot of cruft from languages that newcomers shouldn't really have to deal with.

For example, if I want to make a C program to computer the distance between tow points on a plane, I have in my head something like "d=sqrt((x1-x2)^2+(y1-y2)^2); output d", and actually programming I'm going to have to import a couple of libraries to take care of both floating point arithmetic and IO. The only way a novice can know that is looking at an online reference basically; while a decent UI could easily provide a searchable list of math/IO functions and include libraries automatically. Those are always taken care of in visual programming languages. The syntax itself of languages is arbitrary in many ways you have to learn on a case by case basis (in the example, how exactly do you use printf to "output d"?), while in an UI you are forced to use the correct syntax, because it's the only option.

When you are programming an operating system or low level application none of those really matter, but for a newbie making a simple Mobile app it's going to involve googling a lot and copious amounts of copy-pasting templates for getting trivial things done.

Re: DRAKON – An algorithmic visual programming language

#25
post #14

The editor: http://drakon-editor.sourceforge.net/ (it is at the bottom of Wiki page but added it here for quicker access). Also Stepan Mitkin gave an Erlang Factory talk this year about the Erlang backend for DRAKON: http://www.erlang-factory.com/euc2015/stepan-mitkin

Watching the video one of the approaches that is interesting is only straight lines are allowed. The visual languages I have come across (Max/MSP and VVVV) allow diagonal lines.

I would reckon the strictness of the straight line has positive side effects – or avoids a class of negative side effects.

Re: DRAKON – An algorithmic visual programming language

#26

As a tangentaly related point... Has any visual programming language ever been successful? The guys at Epic are really pushing their blueprint system, and a lot of people like it... but its inherantly tied to the engine.

> The guys at Epic

The people at Epic. Sorry, I know it's annoying, but sexism in computing isn't going to change if we don't pay attention to the language we use.

Re: DRAKON – An algorithmic visual programming language

#27
post #26

As a tangentaly related point... Has any visual programming language ever been successful? The guys at Epic are really pushing their blueprint system, and a lot of people like it... but its inherantly tied to the engine.

> The guys at Epic The people at Epic. Sorry, I know it's annoying, but sexism in computing isn't going to change if we don't pay attention to the language we use.

I don't think 'guys' just refers to males.

Re: DRAKON – An algorithmic visual programming language

#28
Interesting how this could tie into the diagrams coming out of the dataflow paradigm (flumejava, flink, millwheel, naiad, and Frank McSherry's rust timely-dataflow). All of which can be succinctly diagrammed out, but I like the rigor of this. People in this thread have mentioned Max/MSP (it's precursor puredata/pd) are really interesting visually, but they often feel write only. Some of the rules of drakon could be attempted in a max patch, but the shortest path nature and lack of jump labels could foil the idea.

At any rate, some food for thought when it comes to trying to ideate programs away from a computer or at least away from a repl or IDE.

Re: DRAKON – An algorithmic visual programming language

#29
Interesting how this could tie into the diagrams coming out of the dataflow paradigm (flumejava, flink, millwheel, naiad, and Frank McSherry's rust timely-dataflow). All of which can be succinctly diagrammed out, but I like the rigor of this. People in this thread have mentioned Max/MSP (it's precursor puredata/pd) are really interesting visually, but they often feel write only. Some of the rules of drakon could be attempted in a max patch, but the shortest path nature and lack of jump labels could foil the idea.

At any rate, some food for thought when it comes to trying to ideate programs away from a computer or at least away from a repl or IDE.

Re: DRAKON – An algorithmic visual programming language

#30
post #10

Can't we make text-based programming visual with some IDE/plugins? It would be interesting to drag functions around (and so forth) in blocks.

Some of the data flow representation software enables us to do this, I guess. From UML diagrams, we could create classes etc
Post reply on HN