News for hackers. Stuff that matters.
Re:Next-Paradigm Programming Languages: What Will They Look ... by otabdeveloper2 on Thursday May 02, 2019 @03:11AM (#19805510)
No, you don't want this. Every new generation of new programmers since the 1960's talks about this, but nobody to date has actually written any useful program using pictures and prose.

Sorry. Code is code, that's what your job entails and you can't make programming into something it isn't.

Re:Next-Paradigm Programming Languages: What Will They Look ... by a1369209993 on Thursday May 02, 2019 @03:38AM (#19805627)
To be fair, Waterluvian was talking about including pictures and tables and such in comments, while still writing actual code. It's probably still a horrible idea, but for much more subtle (and less certain) reasons than "waaah, I don't want to have to do programming in order to make a program".
Re:Next-Paradigm Programming Languages: What Will They Look ... by alkonaut on Thursday May 02, 2019 @04:48AM (#19805939)
Exactly this. Every sufficiently complex program that refers to graphs DO have those graphs. They are either in a separate document, or in the programmers head, or (poorly) added to the source code. There are plugins (e.g. for Visual Studio) that will render images refered to by file paths, in the editor. For complex graph-related stuff I imagine that can be pretty neat.
Re:Next-Paradigm Programming Languages: What Will They Look ... by theaeolist on Thursday May 02, 2019 @04:24AM (#19805834)
Would it be "a horrible idea" to include diagrams in code that implements a graph algorithm, or images in image-processing code?
Re:Next-Paradigm Programming Languages: What Will They Look ... by maxxxxx on Thursday May 02, 2019 @09:45AM (#19807822)
I would love to be able to include pictures and diagrams in comments. If it was in a text format like HTML or JSON it would source control nicely. The IDE could then display and allow editing them.
Re:Next-Paradigm Programming Languages: What Will They Look ... by flukus on Thursday May 02, 2019 @09:14PM (#19814596)
Slap a text editor into doxygen documentation and you'd basically have this.
Re:Next-Paradigm Programming Languages: What Will They Look ... by fiedzia on Thursday May 02, 2019 @05:40AM (#19806175)
Python+sphinx allows to get that (and a lot more).
Re:Next-Paradigm Programming Languages: What Will They Look ... by ken on Thursday May 02, 2019 @07:35AM (#19806769)
I've heard this said about every new generation of programming techniques. It's true about every technique for which tooling isn't yet widely available, right up until somebody writes the necessary tools.

You could replace the subject of your comment with, say, "automatic garbage collection", and it would have been equally true ("that's just what your job entails!"), right up until GC made its way into the first mainstream languages, and it very quickly became a tool used by almost everybody.

Re:Next-Paradigm Programming Languages: What Will They Look ... by pjc50 on Thursday May 02, 2019 @09:07AM (#19807460)
GC is a much older technique than it looks, though: it's described in McCarthy's 1959 Lisp paper. https://homepages.inf.ed.ac.uk/wadler/papers/papers-we-love/...

We spent about 3 decades arguing back and forth about performance until the wave of bytecode+GC languages took over and accepted those tradeoffs: Perl, Python, Java, Javascript.

Holdouts remain in the high performance, embedded, and deterministic areas of software.

Re:Next-Paradigm Programming Languages: What Will They Look ... by infinite8s on Thursday May 02, 2019 @06:35PM (#19813625)
Code as live objects is almost as old (Lisp, Smalltalk)
Re:Next-Paradigm Programming Languages: What Will They Look ... by otabdeveloper2 on Thursday May 02, 2019 @12:13PM (#19809462)
The point is that the idea of drawing diagrams instead of writing code (and/or integrating documentation text right into the source code) is a really old idea.

The idea is older than structured programming, older than the C programming language, older than the idea of object-orientation. It's probably even older than McCarthy's LISP.

Safe to say that if it hadn't caught on during this time, then it never will.

Re:Next-Paradigm Programming Languages: What Will They Look ... by dkersten on Thursday May 02, 2019 @04:51AM (#19805955)
People developing safety critical embedded systems using ANSYS’ SCADE Suite would disagree about nobody having written useful programs using pictures and prose.
Re:Next-Paradigm Programming Languages: What Will They Look ... by pauljurczak on Thursday May 02, 2019 @03:26AM (#19805572)
Code is code, but sometimes pages of code implement a simple mathematical equation or a process diagram. I would like to see it in addition to the code.
Re:Next-Paradigm Programming Languages: What Will They Look ... by v_lisivka on Thursday May 02, 2019 @05:32AM (#19806128)
Add a plugin to your IDE, to display embedded graphics from comments.
Re:Next-Paradigm Programming Languages: What Will They Look ... by mmcnl on Thursday May 02, 2019 @12:55PM (#19809918)
Isn't this more an IDE problem than a language problem?
Re:Next-Paradigm Programming Languages: What Will They Look ... by madhadron on Thursday May 02, 2019 @12:16PM (#19809500)
That isn't what he was saying, nor is what you are saying true. There isn't an intrinsic reason for code to be a text stream. There are environments that are in broad use where it is not, such as Simulink, LabView, and some of the big game engines today.

It's easy to be parochial about this when Unix like environments force everyone into a lowest common denominator of text streams, but don't take the limitations and bad ideas of Unix as laws of the universe.

Edit:

Summarizing the list of non-text mode programming languages in general use that people have mentioned in this thread:

ANSYS SCADE

Sikuli

Unity

LabView

Simulink

max/msp

SynthMaker

Kyme

LUSTRE

Re:Next-Paradigm Programming Languages: What Will They Look ... by jcelerier on Thursday May 02, 2019 @11:40AM (#19809042)
plenty of peopple are writing programs which get actual usage in visual languages - e.g. with max/msp, or the old SynthMaker, Kyma... as wells as some avionics software written in e.g. LUSTRE...
Re:Next-Paradigm Programming Languages: What Will They Look ... by dkersten on Friday May 03, 2019 @05:38AM (#19816859)
More recently, Unreal Engine's Blueprints too (and UE's Kismet before that). 3D modelling tools and texturing tools also often use visual languages for shaders, and, as you've mentioned, in audio its also relatively common. Lustre/SCADE is my favourite example though (and is used in a lot more than just avionics too, according to the ANSYS marketing material: transportation, energy, etc)
Re:Next-Paradigm Programming Languages: What Will They Look ... by tlarkworthy on Thursday May 02, 2019 @11:50AM (#19809208)
Unity definitely and effectively mixes pictures, audio and code, and has a large chunk of the mobile app market. It's automatic asset import is very good and fully customizable.
Re:Next-Paradigm Programming Languages: What Will They Look ... by nikofeyn on Friday May 03, 2019 @02:00AM (#19815928)
i guess i’m not a programmer copying all these pictures, diagrams, and comments with arrows anchored to the relevant code portions. (yes, i am able and do do this.)
Re:Next-Paradigm Programming Languages: What Will They Look ... by peterlk on Thursday May 02, 2019 @10:59AM (#19808571)
This is not true. Sikuli was a super cool language, and it was fun to write with. I'm sorry it hasn't received more attention.
Re:Next-Paradigm Programming Languages: What Will They Look ... by rezistik on Thursday May 02, 2019 @07:36AM (#19806775)
I want something like Rap Genius but in my editor.