Live data from Hacker News

Ask HN: Why don't smartphones encourage programming like early 80s computers?

news.ycombinator.com

41–50 of 235 posts

Re: Ask HN: Why don't smartphones encourage programming like early 80s computers?

#41
post #5

I'd argue that a mobile phone is not an adequate platform for coding. The touchscreen and keyboard layouts make it difficult to type needed symbols, distracting from the problem at hand. Coding requires deep thought, but phones are optimized for moving around rather than sitting in one place and thinking. As such, use cases like maps, calendars, communication and alarms get priority. The reason people buy a phone is…

Most mobile games are about manipulating symbols, and there is a significant body of work on visual programming. So this part should not be a blocker.

Re: Ask HN: Why don't smartphones encourage programming like early 80s computers?

#42
Lack of a keyboard is not the only reason. A good ad hoc/hobby programming environment needs to offer a lot nowadays:

- The IDE and language must be preinstalled or available with a one-click installer.

- The programming language must be extremely simple and easy to learn. Almost no currently popular language satisfies this requirement. Even Python is too complicated, requires learning too many libraries.

- Easy input and output, ideally with a GUI, but at least console style.

- Simple way to run a program. Just click or type "run", for example.

- Integration into the target platform. If programs are started by clicking on an icon, the deployment must provide apps with icons, of course.

- Easy deployment, either by source code or by a single file that can be run everywhere with an interpreter.

In addition to this, for modern phones there would need to be an interpreter for running programs on desktops, too, and an online library of extension packages and programs.

Not many languages/implementations/IDEs for phones satisfy these criteria. There are not even many for desktop. How many IDE/language combos do you use that are easy to learn and allow one-click deployment to all major platforms?

Re: Ask HN: Why don't smartphones encourage programming like early 80s computers?

#43
Because it's not in their best interest. Smartphone makers are big tech, big tech only wants you to learn their framework to be locked into using big tech for life. No one wants you to learn to think on your own. Learn Dashly(tm) for Pear Phone or don't program at all.

The reality is the time for tinkering and stuff is over (for pc workloads, you can tinker all you like with hardware/agri/space/radio/nuclear open-source). Computers, whether they are on your lap or in your pocket, are being controlled by big corporations. You might say "But, Linux isn't controlled by a big corporation" and you'd be wrong. All these big tech companies want to wall you into their garden to shake you down anytime they want more capital.

The best way to get that 80s tinkering feeling again is to go get a Raspberry Pi or something and start building your own thing. Don't expect any of the consumer tech to ever cater to that kind of crowd again. They may pay homage to their roots but their bottom line depends on you forking over cash on their services and app stores.

Re: Ask HN: Why don't smartphones encourage programming like early 80s computers?

#44

Earlier quoted context omitted.

There is no reason to use drag and drop.

HyperCard does though?

To quote myself with emphasis added, "Something akin to hypercard could be made to work." So something like hypercard but not hypercard and reworked to the strengths of a smartphones interface.

Re: Ask HN: Why don't smartphones encourage programming like early 80s computers?

#45
post #2

Early 80s computers were a niche market largely sold to people interested in computers and programming.

I disagree. The "killer app" of the Apple II was VisiCalc, a spreadsheet. That's why my dad bought a computer for his home office. Computers were also used in education: I was exposed to them in junior high.

Re: Ask HN: Why don't smartphones encourage programming like early 80s computers?

#46

Earlier quoted context omitted.

HyperCard does though?

To quote myself with emphasis added, "Something akin to hypercard could be made to work ." So something like hypercard but not hypercard and reworked to the strengths of a smartphones interface.

Alright, I agree. Not easy to come up with the akin though.

Re: Ask HN: Why don't smartphones encourage programming like early 80s computers?

#47
Allow me to add a bit of context (my first computer was an Apple ][, Xmas 1979).

Yes, computers at that time stsrted with a Basic prompt... because there was no appstore, and (at the start) very little in terms of apps. You were supposed to program it yourself (even by tediously copying listings from magazines) and, especially for the early generation products, storage was either very finicky (cassette tapes) or quite expensive (floppy).

In the same years, consoles also started to become a real product, like Atari 2600, Colecovision etc.

Guess what? Consoles did not start up with Basic or Assembly... because you were supposed to use cartridges to play something that had been programmed by a guy working for a company.

So I would argue that personal computers were built and sold (at least at the very start) for people who had a background in electronics and/or an interest in programming. Visicalc changed this almost overnight because after that computers became "interesting" for small business... and this in turn created a market for word processors, small inventory management systems and so on. But also a big push to make "serious" computers (CP/M) that could fit the format/size/price of Apple and TSR-80.

What I am trying to argue here is that PC were at the start mostly intended as educational devices, because there was very little in terms of shrinkwrapped sw to sustain other business cases. And if you just wanted something for your children to play with, you would buy an Atari at a fraction of the price of a Commodore PET or Apple.

Smartphones were always sold as "communication device first" and also the business infrastructure to almost immediately create a large portfolio of apps was already in place (if you remember the original idea for iPhones was not to develop for iOS but just create webapps).

TL;DR: If you bought an Apple at the end of the 70s you absolutely needed a Basic interpreter or it would have been just a very expensive paperweight. If you bought an iPhone in 2007 you wouldn't need to write your own software to get any use out of it.

Re: Ask HN: Why don't smartphones encourage programming like early 80s computers?

#48
I'd add that modern PCs don't encourage programming. Sure, potential programmer could seek out ways to rode and run javascript in the browser, which is typically included with the PC, but it would still require curiosity and determination. Without that BASIC prompt, most users will never even have the concept that THEY TOO could program this thing.

Re: Ask HN: Why don't smartphones encourage programming like early 80s computers?

#49
post #15

I often wonder how many people actually did any programming on those computers. For a very long time I assumed loads of people did - I did, my brothers and Dad did, my friends did. There were listings in magazines and books. It seemed wildly popular. But looking back now, and having met far more people from that era than I knew in my small town at the time, hardly anyone says they did too. They had computers but they…

I think, many did try themselves at code, or, at least, attempted it to some degree. But, and this is a big but, I also think that there were very few finished programs to show for all these attempts. I'm much under the impression that the era of the home computer was also the era of the unfinished project.

Re: Ask HN: Why don't smartphones encourage programming like early 80s computers?

#50

I'd add that modern PCs don't encourage programming. Sure, potential programmer could seek out ways to rode and run javascript in the browser, which is typically included with the PC, but it would still require curiosity and determination. Without that BASIC prompt, most users will never even have the concept that THEY TOO could program this thing.

The only reason I'm a professional programmer today is that my Mac came with Xcode developer tools on installer disc in the box.
Post reply on HN