Speaking as a Fancy Computer Science Professor at a Fancy Institution of Higher Education who teaches the course on Programming Languages:
-
Paul Cantrellreplied to Krzysztof Sakrejda last edited by [email protected]
@wronglang ¯\_(ツ)_/¯ If you’re looking for output that hews to norms, then it’s no surprise that pattern-matched plagiarism from a broad database of human inputs can provide it! And since that’s something that computers were recently bad at doing, then it does qualify as AI. For now.
-
@inthehands orchestral scores / sheet music / guitar tabs, definitely programming… I’m a flawed machine when running those programs, but that’s not the programmer / composer’s fault
-
@grwster
We're wandering now, but heck with it:I have a whole soapbox about how we sometimes misinterpret musical scores as being programming when they’re not. There’s a whole spectrum of •how a score carries meaning• that depends on the types and degree of interpretive liberty the score affords within its musical-cultural context. Some scores are basically MIDI by other means; some are only the loosest framework for improvisation.
-
@grwster The classical world I come from has IMO erred since the mid 20th century much to far toward seeing scores toward the “MIDI by other means” end of the spectrum, particularly with pre-20C music. I’m pretty sure that if we could hear a recording of, say, Chopin or Bach playing their own music, a modern classical musician’s immediate reaction would be “No! That's wrong!!”
-
@inthehands point taken, but circling back to HTML, a certain amount of interpretation by the rendering engine is allowed… so, are programming languages by definition always tightly specified?
-
Oliver Jensenreplied to Paul Cantrell last edited by [email protected]
@inthehands people like to think programming is while loops and if conditionals. I like to remind people of their programmable TV remotes.
"But that's not real programming" my brother you co-opted the word.
-
@grwster
If so, then C is not a programming language! -
@wronglang @inthehands How your computer works under the hood is pretty wild. Branch prediction blew my mind, makes determinism an interesting notion.
-
@inthehands @vkc
For me, it comes down to two questions:
A) does it have a syntax?
B) does it describe intended behavior within a computed system?- Non credentialed senior developer
-
Paul Cantrellreplied to RyeNCode last edited by [email protected]
@RyeNCode If you’ll allow (a) to be broad enough to include visual languages like MAX/MSP and Labview, and extend the “describe” of (b) to say that the description must be interpretable by a machine, then I think our definitions are pretty close.
-
@padraigd @wronglang
Yeah, the “don't use abstractions” people really crack me up. Like…do you push electrons around by hand with a little pin? -
@inthehands
Light 3s of research...
Yes, obviously
Skimming MAX' wikipedia entry, the structure of the visual layout, linkage etc is all syntax. It's not textual, but so what?
Symbols and their representations and context all contribute to how a language can be interpreted by the receiver (in this case a computing system, such as a runtime, compiler or whatever) -
@RyeNCode
Agreed. I mentioned it because people get sticky about "syntax" sometimes. -
dataramareplied to Paul Cantrell last edited by [email protected]
@inthehands I used to draw the distinction between programming and not-programming exactly at Turing completeness.
Then I realized that this would imply that total functional languages are not programming languages, but Conway's Game of Life (or Minecraft) is. This is obviously silly.
-
@inthehands I understand what you're saying and I don't have any real argument - I just have a problem equivocating formatting to programming. Boldface, italics, type size, typeface, punctuation - all programming.
At some point it's not just gatekeeping - it's trying to give words actual meaning.
Writing Excel is programming - no argument. Fiber arts - weaving, knitting, crocheting - all programming.
What I get hung up on is that I expect programming to be defining an intentional sequence of commands above some arbitrary level of complexity. I know that's not satisfying but without some complexity threshold, pretty much any activity with some sort of physical manifestation is programming.
I don't argue with people about this because it's an unresolvable philosophical issue like "how much hair can you have and still be considered bald?" plus the accusations of gatekeeping. It's rarely a productive conversation. I don't find such an expansive definition of programming to be particularly useful.
Also: guys who abuse and harass women on the internet should not be allowed on the internet.
-
Paul Cantrellreplied to arclight last edited by [email protected]
@arclight Yes, of course there’s a continuum.
HTML that <i>merely</i> adds formatting markup to text is at most “little atoms of programming.” But modern HTML is hardly just that. The DOM, the box model, HTTP, forms, etc etc have intricacies that at this point are vast and overwhelming. And…
Per the point of the post you’re replying to: these things have surprising results. Human reader + machine reader + surprise = programming. And and…
-
@arclight
…let's be honest: a •lot• of the code that we write in things that are •clearly• programming languages is in fact not that complicated. As one reply pointed out, you can create DOM elements from literals in JS or in HTML; is one programming and the other not?These line-drawing questions are always an express train to Stupidtown. Instead of “Is it programming, YES OR NO?,” a better question to ask is “In what ways is this programming? What problems does that imply?”
-
-
An addendum, a useful word:
An ••ostensive definition•• is a definition by example. No bright line that distinguishes “is” from “isn’t;” instead, we have a set of examples we agree clearly fit the word, then ask, “How does this other thing resemble the examples?”
Some words are best defined ostensively. “Sandwich” is a great example. You can have silly fun playing with the boundary conditions — A quesadilla is a sandwich!! A hot dog is a taco!! — but to get pendantic about that fun is foolish.
-
Paul Cantrellreplied to Paul Cantrell last edited by [email protected]
With a word like sandwich that’s defined ostensively, instead of asking “Is it a sandwich or not? Binary yes or no!!,” it’s better to ask, “•How• is it a sandwich?”
Similarly: “How is ____ a programming language?”
How does it resemble the pattern? How does it depart from it? Which lessons we’ve learned about programming apply here? Which don’t? Will it need…technical learning? precision? testing? debugging? version control? docs? knowledge sharing? curiosity? resilience to frustration? etc.
-
@inthehands My take is that this fits into the same category of whether something is art, or music, or a game, or a sport, or drug paraphernalia, or a toy, or a tool, or a vacation. None of these are intrinsic properties of the object or activity, they're ways of engaging with it.
The reason this is even a topic to talk about arises because one can totally use a WSIWYG editor and treat HTML as "text with some parts in italics” which is _not_ a programming type interaction, but you can also do more complex stuff that has to account for a bunch of different situations both today and tomorrow, which is not materially different from the sorts of things what someone writing C++ has to do.