News for hackers. Stuff that matters.
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).