Hacker News new | ask | show | jobs
by DonaldFisk 3488 days ago
While in my optimistic moments I imagine we'll be programming visually in the not too distant future, and am doing all I can to bring this about, I still would prefer to turn on light bulbs by flicking switches, which simply close electrical circuits rather than call methods. For that, some might consider me a Luddite.
1 comments

Right, I'm totally with you on this. I only used the light bulb to illustrate the basic idea.

This need not be limited to network-connected devices either. You can define interfaces for any object even if they aren't electronic.

For example you can define the interface for a bottle as something that can be opened. You can define processes based on the interfaces of multiple objects. These process definitions can then be transferred to a robot that will then be able to interact with the real world based on those definitions.