Half a croissant, on a plate, with a sign in front of it saying '50c'
h a l f b a k e r y
Not so much a thought experiment as a single neuron misfire.

idea: add, search, annotate, link, view, overview, recent, by name, random

meta: news, help, about, links, report a problem

account: browse anonymously, or get an account and write.

user:
pass:
register,


             

Please log in.
Before you can vote, you need to register. Please log in or create an account.

Metaphorical programming

I feel that abstractions in programming are not powerful enough. What we really want to program with is metaphors. So I imagine complicated systems visualised a network of pipes like a circuit board. And I can introduce the metaphor of cars driving around a network. A loop is a depot that produces cars around a circuit. You can have visibility and observability of a system by rendering dataflow visually.
  (+1)
(+1)
  [vote for,
against]

I could do the following experiments with my code:

A) increase the number of cars on the road at any one point. Multithreading.

B) increase the width of roads

C) increase the number of crossings (semphores)

D) motorways - algorithm fast path

E) lanes - slow path, when the fast path cannot be used

F) for multithreaded software there would be multiple cars around the roads as each car represents part of a request

G) traffic jams are blocking synchronous calls

H) asynchronous programming is represented as a delivery from a depot and a return journey

chronological, Jul 18 2022

Checking out OpenAI + GitHub Copilot https://www.youtube...watch?v=GTG_bcFdcLQ
[Voice, Jul 18 2022]

The Truth about Github Copilot https://www.youtube...watch?v=4duqI8WyfqE
[Voice, Jul 18 2022]

Leaky Abstractions https://www.joelons...leaky-abstractions/
[pertinax, Jul 19 2022]

[link]






       Visual programing languages with flow charts, including with AI support, are WKTE.
Voice, Jul 18 2022
  

       Yes but are there any flow based programming languages that feel you are playing OpenTTD or transport tycoon? And cars and pipes/roads?
chronological, Jul 18 2022
  

       Not yet. However, what already exists is subject to the Law of Leaky Abstractions, and this idea, fine and half baked though it is, would make that problem worse.
pertinax, Jul 18 2022
  
      
[annotate]
  


 

back: main index

business  computer  culture  fashion  food  halfbakery  home  other  product  public  science  sport  vehicle