4,482 karma · joined Sep 28, 2012 (14y ago) · 2,101 submissions
I hope the spam filter will respect it!
comment 9y ago · link · parent
Because usability professionals typically don't know how to code.
> The GUI tool is just to aid with rapidly building stuff, not as a replacement.
My point in this thread is that, with a tool like this, it could be.
I said elsewhere that mockup tools used by UI designers already have a development environment very close to this one, and only a good code generator is missing.
A mockup environment which can communicate logic to the devs, and not just visuals, is everything these professionals need to create specifications fully in software without resorting to natural language that the developer needs to interpret.
comment 9y ago · link · parent
> With a tool like this, you could easily create an interaction that updates the UI immediately. It would look correct, but it would be wrong.
This also happens if you build the component in code, no? I fail to see how this is specific to a visual tool. A professional should take care of all cases, regarding of the medium of the tool.
> That's fine, but I don't count that as an interaction.
That was just the simplest example I came up with in ten seconds. For more complex examples of what interactions you can build purely with a visual tool that then spits code, see Apparatus [1] or Stop drawing dead fish. [2]
I can imagine building components easily in an environment like that. We already could do that in the Flash/ActionScript environment in a limited fashion, but the results were very limited (state could only be represented as a video timeline), and the platform itself was terrible.
comment 9y ago · link · parent
A UI designer should be able to develop the interactions over a single component isolated. For example they could define a "Send form" event and tie it to the button and the "Enter" keypress all from the visual designer, just like you would do it in code.
In reactive programming, the effects of each interaction don't need to be represented as side-effects, but as output of events over a functional and composable "stream". UI designers can learn to think in that programming model, which is way saner than callback hell.
comment 9y ago · link · parent
With reactive programming being primarily functional, it should be relatively easy to refactor the output of a tool like this. You could split the states into its common components, maybe even using visual tools in the designer itself without having to touch the generated code.
I don't know if this tool will be able to do that, but I've seen that approach used in mockup tools for rapid prototyping. The only part missing in those tools to allow the interface designer to build the interaction logic by themselves was a sane code generator. With a language like React, I believe the generated code will resemble something usable, which was impossible when UI designers generated imperative or object-oriented code.
comment 9y ago · link · parent
The idea is to have both. Finally this is possible thanks to reactive programming.
UI designers make mockup tools that basically support that kind of rule-making with drag and drop, but that logic cannot be exported to the development environment, only the visual components.
With a tool like the one in the article, this will be possible, and UI designers will be able to create the basic user interactions by themselves in the prototyping tool, rather than having to write them down in English in a specification document for developers to re-write them in a proper language.
comment 9y ago · link · parent
comment 9y ago · link · parent
The hope is that using Reactive programming, you won't need to wrestle what comes out of the tool, since the underlying language and programming model is finally capable of truly supporting components without lots of glue code, boilerplate and exceptions.
comment 9y ago · link · parent
That's only good if your text happen to be raw text; I guess it won't work so well if it's rich text with needs to be converted to lightweight objects before being processed, where you'll want every object to be memory-aligned. And I wonder how well that approach works if your virtual memory space is paginated, which wasn't common in the 90's, but is practically everywhere nowadays.
comment 9y ago · link · parent
Theoretically it's just all the same, but in practice having reduced interfaces does wonders to reduce the complexity and being able to reason about what brings problems, and what doesn't.
comment 9y ago · link · parent
Yes, well, being theoretically possible is not the same as being viable and having solved the chicken-and-egg problem. I think webasm has nowadays more possibilities to become adopted as the standard for a common platform.
comment 9y ago · link · parent
The good thing of web development today is that you can deploy the client side of any application to any smartphone, since all of them have been built with strong web browser support - and the browser is a fairly complete platform, with mayor browser being available and relatively compatible in all mobile and desktop systems. I don't know of any VM that shares those qualities.
comment 9y ago · link · parent
comment 9y ago · link · parent
Sometimes, taking the literal meaning might even distort the original message, like in this case changing the mosquito with a goose - if that had been the original expression, everyone would have wondered why the author chose such strange comparison.
comment 9y ago · link · parent
> ... Another perspective is thinking about building large scale systems and coupling of modules
Both models have been proven formally equivalent, so it doesn't matter which one you use as the base computation model "all the way down"; you can always transform one into the other.
So in practice you end using the one which best represents the problem domain that you're solving. State-based object-orientation works best to represent simulations of the world where previous states are not needed. Functional is best when you need to reason about the properties of the system, since it allows you to access any present or past state of the computation.
comment 9y ago · link · parent
The thing is, not all tasks that users engage with need a formal sspecification. For those, the ability to iterate and refine quickly is more valuable than having a precise description of every machine behaviour; I'm thing of things like page structure on Wikipedia (optional, and done with simple text markup); or the structure of documents in outlets like OneNote or Evernote, or attributes in Excel tables, which are all easy to re-arrange on the fly without needing a data schema.
All my examples refer to data structure. What's missing is that kind of lightweight, optional structure for behaviour. All current software, except debuggers and unit tests, expect a fully defined program to be defined before execution.
Power users need a top level loop that could execute partially specified functions over any DSL, prompting user input for the parts of the procedure not yet specified, and the capability to expand the DSLs themselves. There's nothing in the status quo like that, although environments like Hypertalk, Squeak and Excel are close, yet limited to a single DSL each.
comment 9y ago · link · parent
This.
Why is it so hard for developers to understand this simple idea?
Life in computing would be so much easier if the people building the system understood what part of their job is essential (finding out the best way to arrange hardware and software to satisfy a requirement) and which part is circumstancial, gathering a set of precise requirements to begin with.
The last part wouldn't be needed if end users were able to build their own working prototypes to solve their needs, and engineers were simply called to rebuild the prototype with best engineering practices.
comment 9y ago · link · parent
For most people, using computers means being force-feed a selection of existing applications; and most applications are pro- consumption, which is favoured by the media companies.
App stores (and the Linux repositories that preceded them) were a significant advance for the public, as they allowed common people top be able to find tools to cover their needs; previous to that, only power users were able to tune the computer to their needs.
However, non-developers still depend on the capabilities put in there by the developers, and can't fine-tune their behaviour.
comment 9y ago · link · parent
comment 9y ago · link · parent
Sure, you shouldn't be designing an interface with those sizes, but it may be something to consider for some zooming interfaces (primarily maps with lots of tags: street names, POIs, etc.)
comment 9y ago · link · parent
Look at the chairs' legs, where it's transforming the flat base of the rotating chair into something that looks as wheels, and where it's completely missing the bars connecting the legs in the second tall chair.