Introduction to Expangine, a Visual Development Framework

Posted Aug 9, 2020, 6:56 PM UTC

49
[deleted]•

[deleted]

3
ClickerMonkeyOP•

Do you have an example of an abstract DSL? Also, isn't that kind of an odd way to say it - abstract domain specific language?

This is a general purpose VPL, so it can be used in any number of solutions.

I know from a programmers perspective this looks more complicated, but you trade the text-based programming that you're used to to something that is easier to test, share, learn if you don't know programming, view documentation, etc.

If you learn text-based programming first you're always going to prefer it (I do as well!), same thing for the new generation of programmers learning by VPL - they prefer that as well.

I think the future is going to be far more mixed with these sort of technologies, this kind of visual format allows for ways of organizing code that's not possible with files and folders - and adding refactoring and other things that analyze the code and assist the programmer is far easier than having to deal with a more complicated text-based language. Decades ago the people that were leaders in computer science and programming thought we would be developing in non text-based languages by now.

I would love to hear your thoughts

2
GoranM•

Decades ago the people that were leaders in computer science and programming thought we would be developing in non text-based languages by now.

I think their optimistic projections were more along the lines of talking to a computer, as implied by the popular sci-fi of the time (ie: "2001: A Space Odyssey").

Certain graphical representations can be useful in specific cases, but the system demonstrated in the video doesn't really do anything to address the overall complexity management issues that plague software development; It's still largely text, in basically the same control flow format, just with some additional graphical adornments, which are (in my opinion) of dubious merit.

There have been other attempts to "humanize" programming, by supplementing text with more graphical elements, in a more dynamic environment. Most recently (as I remember), Eve: http://witheve.com/

Like with other, similarly oriented projects, they produced some really nifty demos, but ultimately failed to make anything out of it: https://news.ycombinator.com/item?id=16227130

There are also meta approaches, like those championed by Alan Kay (most notably in his STEPS program: https://www.youtube.com/watch?v=ubaX1Smg6pY). I used to think that those would have a lot of potential, but considering that they gained virtually no traction in the passing years, I'm starting to have my doubts.

2
ClickerMonkeyOP•

talking to a computer

Yeah, from what I recall this is true

complexity management issues that plague software development

Agreed, this editor definitely doesn't try to address this. This editor, which is an example of something you can create with Expangine, is most useful for relatively small tools. But I agree, there are many issues that plague software development and you probably need to address them all to transform the industry. I'm not pretending that Expangine will do that, well maybe I alluded to what you could do with it - not saying you should. You should always pick the best tool for the job and workers.

There have been other attempts to "humanize" programming

I'm not really trying to humanize it, just make it more accessible with a lower barrier of entry for non-programmers. I'm familiar with Eve, haven't used it but I watched a video on it by the creator.

There is no doubt momentum with Visual programming though, especially in the world of game development. There's nothing special about game development that makes that unique - and eventually these website building websites will allow a person with programming experience to modify the logic of the website with a VPL.

Thanks for your input, I know posting something like this to r/programming is going to get a lot of negative response, but it is definitely not a natural fit. I welcome the information and I will definitely be adding rethinking code organization/complexity management to my list of todos.

1
wwmag•

Decades ago the people that were leaders in computer science and programming thought we would be developing in non text-based languages by now.

There are definitely good uses for visual programming but honestly 22 minutes is a very long video and I still don't really have any idea what this tool does. Most people will bounce if the video doesn't show something compelling in the first 10 seconds.

Another issue is that, even after watching the video, I have no idea how your tool solves any of my development problems. Here's a problem I had today. I had to read a .h file from disk and find lines with a certain piece of text in them. Then, for each of these lines I had to do some fairly simple text replacement with a tiny bit of parsing so I could turn some of the lines of the header file into a .CSV file with a #define in the left column and a hex value on the right column. Then I saved the .CSV file to disk.

What if I wanted to do this with your tool? Say I look at your tool or even install it. How would I get started? Where would I even begin? More importantly, why would I want to do this with your tool?

Text-based programming is popular because it is extremely expressive, and it's expressive for the same reasons that written language is expressive. This is a little problematic for tools like yours because the switching costs are insanely high. To this point, even if I do switch, I will be much less productive for a long time because the cognitive burden of tools like this is very high.

Are you familiar with tools like Zapier or Airtable? These are popular visual programming and workflow tools. They have succeeded by reducing the cognitive burden required by most visual programming tools.

Last. I think the visual programming model that most people know looks like things like Unreal Engine Blueprints. If you're not familiar with this, then do a quick search. I think this is the model that most people know for visual programming.

You could probably make this a success if you can make a super great library of prefabs so that someone could do something real right away rather than just toys. But as it is, I think the cognitive burden is way too high. For example: at 15:16 there is some kind of diagram on screen. This not simpler than looking at or using source code. It's not only not simpler, it's more complicated and worse than text because I don't know your visual language / metaphors and I have been using text for 40+ years starting with learning to read and write. How would I step through and debug something?

2
ClickerMonkeyOP•

I still don't really have any idea what this tool does I have no idea how your tool solves any of my development problems

Yeah I could see that. I tried to aim for a wide audience with the intro video. This particular tool is not going to help 99% of programmers, it's not something aimed at improving your development workflow. Expangine is a few things - and from a developers perspective it's a component library that would be useful if you have dynamic data and input in your projects and need a UI to build that. Or if you need to open up simple business logic to a non-programmer in an administrative panel. From a non-developer perspective it's a tool that can help you process data you might have that's hard to process otherwise.

I personally used it for a woodworking cutting calculator because I knew defining the input and generating a UI to reuse any number of times would take a few minutes with the editor. The actual algorithm probably took longer compared to a text-based programming language solution, but the output was in a friendlier format. Now I can easily share that tool with someone right now - either by giving them a JSON project file or a URL. I've created a bunch of tools/calculators that myself and others have used and I nor them had to install or configure anything (which is good, many of them were non-technical).

Are you familiar with tools like Zapier

I've interacted with their API once, but I find their UI lacking for detailed workflow development. That's why I made one of the future projects something like Zapier except with more control. My goals with a lot of this is to fit between traditional development and the interfaces like Zapier which are focused on completely non-programmers. Odd perhaps, but with the type of work I find myself doing it's either we're restricted with some tool that was picked and someone is not happy or it takes custom development which costs more and under those conditions rarely ends up being as user friendly as the original tool.

Unreal Engine Blueprints

Yeah, I definitely plan on adding alternative views. When you're in edit mode in the pill-based view it can definitely be hard to follow. The pill-based view would probably be a fallback view if you want to look at it in a more natural programming language view. The read-only mode for the current editor reads like text-based code.

You could probably make this a success if you can make a super great library of prefabs so that someone could do something real right away rather than just toys

Yeah it's still pretty early. This is a general purpose tool created with the framework, so it's pretty raw.

How would I step through and debug something?

I didn't show debugging in the video since it was just a brief introduction, but definitely will be covered.

I think the best way to think about it is a transitional tool between programmers and non programmers. Something that you might not need, but I know people who want the power of programming but don't have the time to learn it traditionally.

1
ClickerMonkeyOP•

Here's a problem I had today...

You don't need to install it, just go to expangine.com. The investment of time necessary to solve your problem in Expangine pays itself over time by repeatedly using your solution. One off problems might not fit Expangine depending on what you're trying to do.

1
crabmatic•

For me, there's a few ways you're missing the mark here.

What's your goal with this video?

Is this a teaching tool? If so you should probably pick some concrete examples and work through them in detail.

Is this intended to generate interest in your tool? It needs a hook, something up front that says hey see "this cool thing" if you use this tool you can do this and more.

Right now it feels a little bit like a student talking about something that they made to their Uni class.

Also, your content doesn't align with your stated audience. When you say that the audience is intended for everyone then you almost immediately start listing off programming types and talking about code. You're already losing a lot people up front. Programming types are not for everyone so they don't belong here if that's the audience.

Still kudos to you man. Good on you for getting out there and doing something. Looks like you've put a good bit of work into it too.

1
ClickerMonkeyOP•

Thanks for the input. You're right, I should've had two different intro videos. Because I wanted one I had stuff that bored programmers and confused non-programmers.

I'm not sure what the right amount of explanation is to a non-programmer, I don't want them to open the editor and think "what's that word mean" every 4 seconds. Maybe I just need an intro course for non programmers to gently introduce them to programming. I'm probably treating this stuff more like video documentation and that's not helping.

I should probably work on an alternative programming UI first...

1
crabmatic•

No worries mate, keep at it. Those things stood out to me because they remind me of similar things I've done in the past.

2