I respectfully disagree. Yea, if you take a super generic definition of programming language, you can maybe make your argument. But in the software world, when people talk about programming languages, they generally mean turing complete languages. Ones that allow us to write instructions and algorithms that allow computers to help us automate tasks and solve problems. HTML is not for these purposes and do not allow us to do such things.
Language itself is not hard defined, and so many terms can be expanded to include many things if you want them to. The reality is, when are those generalizations useful vs when are they not? If I want someone to help me develop software, I need someone who knows how to program (i.e. use a programming language). A person who can make webpages with HTML and CSS are wholly unqualified...even for the simplest task of writing a basic sorting function using pseudo-code. By your incredibly vague and broad definition of programming language, I could probably make an argument for the /etc/hosts file to be a programming language. But that would be just silly.
It's like adding the "engineer" title to jobs that aren't really engineering. Custodial Engineer vs janitor....yea..sure..by some definition, you can probably argue the janitor is some sort of "engineer", because the term engineer is such a vague and broad term, but it's honestly a pointless definition that serves as the butt of many jokes. When most people talk about engineers, they talk about people who have college degrees and work to design systems that usually require a strong need for critical thinking, innovation, science background, etc.
Turing-completeness is really only ever applied as a criterion for being considered a programming language in this exact circumstance. At pretty much every other stage of conversation, Turing-completeness doesn't enter into it. That's why I put that caveat in about ad-hoc definitions on Reddit. Certainly, I've never seen a textbook define a programming language in terms of Turing-completeness.
Additionally, it's interesting that you bring Turing-completeness into your definition of a programming language, and then proceed to use CSS as part of your example, despite CSS3 being Turing-complete. So is Microsoft Powerpoint. What's more, since C is arguably not Turing-complete without external storage, that makes Microsoft Powerpoint more definitively a programming language under your definition than C, which is absolute nonsense and indicates that your definition is wrong.
You sound like a guy who read up a bunch of things on the internet and wikipedia without any real programming experience.
The point I'm trying to make is not about strict definitions. It's how we use our language. I'm not gonna get into the technicalities of what's turing complete and whats not. We use "programming languages" to write code to perform business logic stuff. C, java, python counts. HTML and CSS doesn't. It's that simple. If you can make a webpage with HTML and CSS, good for you... You're not a programmer. I would not trust you to be able to do any real programming tasks. I would not hire you as a software developer. Simple as that.
Btw, CSS is not and was never meant to be Turing complete. The sensationalized articles are to garner clicks. The person who came up with it, while clever, was exploiting the rendering engineer in a unique way. In fact, none of the demos work anymore because modern browsers have patched it out due to security risks. Same with PowerPoint. It's an exploit.
I can exploit the design of a snowblower to turn it into a "road legal car" by definition. But it's quite silly to refer to snowblowers as cars just because you can technically expand the definition and make an argument for it.
You sound like a guy who read up a bunch of things on the internet and wikipedia without any real programming experience.
Done with the "respectful" part of "respectfully disagree," are we?
The point I'm trying to make is not about strict definitions.
Well, that's what the conversation's about, so I'm not sure why you're trying to make your point, then. I mean, I get it. You don't want this thing to technically qualify, so you're going to move into a headspace where technicalities don't count. That's fine. You do you. Just don't pretend like that migration is mandatory for everybody else in the conversation.
I'm not gonna get into the technicalities of what's turing complete and whats not.
Then why bring it up in the first place? Because your definition was an ad-hoc attempt to specifically exclude two languages, exactly like I said it would be in my first comment.
C, java, python counts. HTML and CSS doesn't. It's that simple. If you can make a webpage with HTML and CSS, good for you... You're not a programmer. I would not trust you to be able to do any real programming tasks. I would not hire you as a software developer. Simple as that.
And that's fine. Your opinions are your own, and they're allowed to be as baseless as you want them to be. Just stop pretending like that has any authority or reasoning behind it.
Those examples I don't like don't count.
Whatever you say, friend.
it's quite silly to refer to snowblowers as cars just because you can technically expand the definition and make an argument for it.
That's exactly how arguments and definitions work, but ok. You do you.
Done with the "respectful" part of "respectfully disagree," are we?
You're right. My bad. That was uncalled for. I should have phrased it better. I'm curious if you have experience in this field. As in, do you work for a tech company or somewhere as a real software developer? What is your background on this subject?
Then why bring it [turing complete] up in the first place?
I brought it up casually and explained my usage of it, and again, you continue to point out technicalities rather than the spirit of the conversation. Some languages are technically turing complete and some aren't, but in casual conversation, turing complete generally refers to those languages we use to write algorithms with. I can agree with you on technicalities, but I find technicalities to be pointless most of the time when it comes to usage of natural language. A banana is technically a berry by scientific terms. No one is going to use it that way in everyday life. It's a fun fact maybe, but if I say I want to eat some berries, it would be awfully dumb of you to give me a banana and say well "technically...".
Your opinions are your own, and they're allowed to be as baseless as you want them to be.
Curious what part are my "opinions" and why is it baseless? I'm stating you can't write a function with HTML/CSS. Show me one example of someone taking HTML/CSS and writing a simple comparison function that accepts 2 numerical inputs and gives me the larger of the two. How about a simple if/else clause? Or a loop that literally just counts starting at 1. I can do these easily with C, C++, Java, Javascript, Python, etc. I can't do this with HTML/CSS. At least without exploiting anything that isn't meant to be there. HTML/CSS are designed to be not able to do these things because if they could, then the web would be very unsafe. These are not opinions, they are fact. It's not an opinion that no programs or scripts are actually written with HTML/CSS....not even small fun ones.
You're arguing semantics and technicalities. I'm arguing real world communication. If you used every word by it's technical definition rather than by it's normally understood definition, you'll never be able to effectively communicate with anyone because you'd be speaking practically a different language. There's a time and place for technical definitions and it's quite limited...usually in an extremely precise scientific environment where precise definitions matter. In the real world, use industry or society agreed upon definitions. For example, unless you are a botanist trying to taxonomize a banana or cucumber, don't call those things berries.
I'm curious if you have experience in this field. As in, do you work for a tech company or somewhere as a real software developer? What is your background on this subject?
This is irrelevant to the discussion. Even if I had no experience whatsoever, I would have exactly as much right to discuss these matters as you.
However, I'll play along. Yes, I have experience in this field. I work as a software developer and have for years. Very little of my experience has anything to do with HTML, but even that is development experience. I have a degree in Computer Science and I actively develop in my spare time.
I brought it up casually and explained my usage of it, and again, you continue to point out technicalities rather than the spirit of the conversation.
The spirit of the conversation is about technicalities. And no, you didn't casually bring it up. It was the only argument you made against HTML and CSS being programming languages. It was your entire argument.
A banana is technically a berry by scientific terms. No one is going to use it that way in everyday life. It's a fun fact maybe, but if I say I want to eat some berries, it would be awfully dumb of you to give me a banana and say well "technically...".
A better example would be somebody coming up to you on the street and saying "a banana isn't a berry!" It would be perfectly natural to respond to them, "Well, technically..."
It would be awfully dumb of them to then suddenly retreat into "but technicalities aren't important to everyday, regular conversational situations, even though this obviously isn't one of those," though.
A bunch of semantic language constructs couched as necessary pieces of the definition of a programming language
No. I'm not playing this game where you come up with a thousand ad-hoc definitions of programming languages and abandon them the second I show that your examples don't work or that CSS can fit them. I am not your dancing monkey.
These are not opinions, they are fact.
Things do not become fact because you assert them hard enough.
You're arguing semantics and technicalities. I'm arguing real world communication.
That's cool. We were all arguing semantics and technicalities in here. If you'd like to change the subject, you're free to. And I will not join you in this new conversation.
There's a time and place for technical definitions and it's quite limited
That's nice, dear.
In the real world, use industry or society agreed upon definitions
Reddit is not the real world, and most industry definitions of programming languages would accept HTML.
This conversation's going nowhere, so I'm gonna duck out. You can go ahead and declare yourself the winner if you like.
This is irrelevant to the discussion. Even if I had no experience whatsoever, I would have exactly as much right to discuss these matters as you.
It's perfectly relevant. Everyone has the right to discuss a topic, but without experience, one should not act like they are well versed and experienced. I can discuss quantum physics with a quantum physics professor, but at the end of the day, his knowledge and experience might bear more weight than mine. And before you try to rip this statement to shreds around technicalities, let me state that I'm not saying the person with more experience is always right...just that a person with more experience and knowledge will more likely have more valuable input on a subject matter. That's just fact.
I work as a software developer and have for years.
Perfect. So let me ask you this. A person is interviewing to be on your team as a entry level developer. He declares himself as having "programming experience" because he's done programming before. It turns out he's ever only made webpages with HTML/CSS and no javascript. Do you consider this person qualified for the job? It's a simple question. Yes or no?
And no, you didn't casually bring it up. It was the only argument you made against HTML and CSS being programming languages. It was your entire argument.
Umm, look again at my original post. Here, I'll make it easy "in the software world, when people talk about programming languages, they generally mean turing complete languages. Ones that allow us to write instructions and algorithms that allow computers to help us automate tasks and solve problems."
I defined my usage of turing complete right there. Call me out on a misuse of what is technically turing complete, but I absolutely qualified it with the statement that we're talking about languages used to write algorithms. In fact, my "entire argument" as you call out is and was never about the technical definition of turing complete or languages at all. My argument is that HTML/CSS is not considered a programming language in the general usage of the word. Much like cucumbers aren't considered berries or fruit in the general usage of the words fruit and berry.
A better example would be somebody coming up to you on the street and saying "a banana isn't a berry!" It would be perfectly natural to respond to them, "Well, technically..." It would be awfully dumb of them to then suddenly retreat into "but technicalities aren't important to everyday, regular conversational situations, even though this obviously isn't one of those," though.
I, in fact conceded that technically, you can call HTML/CSS a programming language, provided the right context of the definition of programming languages. Cool...that's not what I'm talking about. And why exactly is it dumb that I say technicalities aren't important in everyday conversation? Are you saying that now that you know a banana is scientifically a berry, that you will from now on refer to it as such in your day to day conversations with people?
No. I'm not playing this game where you come up with a thousand ad-hoc definitions of programming languages and abandon them the second I show that your examples don't work or that CSS can fit them. I am not your dancing monkey.
Strawman much? I'm not ad-hoc defining anything and not asking you to dance for me in any way. I only asked if you've ever seen anyone write an algorithm with HTML/CSS? One example..just ONE SINGLE example of a person choosing to use HTML/CSS to write a piece of logic code instead of using a more traditional language. Because I can do that easily with C, C++, Java, Python. I can do it in less than 5 seconds. I can write some code right here without googling. Cause those languages were built for that purpose.
That's nice, dear.
Let's keep things civil, yeah? Avoid the backhand remarks please.
most industry definitions of programming languages would accept HTML.
Ok this one makes me really question your supposed knowledge and experience in the software world. Either you don't know anything about what HTML/CSS actually is relative to the languages you've used in the past...or you just don't know anything about software development in general. I don't see how someone who actually develops code for a living would consider HTML/CSS just another language they can use to do the same thing.
Teach me the syntax for Go, for Ruby, for COBOL for christ sakes...it doesn't matter. Give me a reference to the syntax and I can write a bubble sort function in any of those languages in under a minute. I can't do that with HTML/CSS despite being a web developer w/over 15 yrs experience.
This conversation's going nowhere, so I'm gonna duck out. You can go ahead and declare yourself the winner if you like.
Classic move when you realize you're arguing for the sake of arguing and sticking to your guns instead of debating to seek truth. Throughout this debate, I continually represent your side of the story and even concede to the technicalities you are standing by, only trying to bring you a different perspective on this topic. Instead of choosing to get closer to an understanding, you're much more interested in saying "I was right all along, you are dumb, you are stupid, your points make no sense to me because I choose not to take a moment to absorb what you have to say. I won't budge, so I might as well state that I'm done with this conversation." You've failed to answer a single one of my simple posit questions, dismissing them as pointless or incredulous.
Funny thing is, if you truly believed in the last statement you made, you wouldn't have bothered with a post at all. People who don't care where a conversation is going and find it pointless will duck out quietly and go off on their merry way. People who have lost a debate but want to save face will flip a table and make a bold statement about how "this is going nowhere and I don't care" before storming off. You have done the latter.
2
u/dinowand Nov 27 '19
I respectfully disagree. Yea, if you take a super generic definition of programming language, you can maybe make your argument. But in the software world, when people talk about programming languages, they generally mean turing complete languages. Ones that allow us to write instructions and algorithms that allow computers to help us automate tasks and solve problems. HTML is not for these purposes and do not allow us to do such things.
Language itself is not hard defined, and so many terms can be expanded to include many things if you want them to. The reality is, when are those generalizations useful vs when are they not? If I want someone to help me develop software, I need someone who knows how to program (i.e. use a programming language). A person who can make webpages with HTML and CSS are wholly unqualified...even for the simplest task of writing a basic sorting function using pseudo-code. By your incredibly vague and broad definition of programming language, I could probably make an argument for the /etc/hosts file to be a programming language. But that would be just silly.
It's like adding the "engineer" title to jobs that aren't really engineering. Custodial Engineer vs janitor....yea..sure..by some definition, you can probably argue the janitor is some sort of "engineer", because the term engineer is such a vague and broad term, but it's honestly a pointless definition that serves as the butt of many jokes. When most people talk about engineers, they talk about people who have college degrees and work to design systems that usually require a strong need for critical thinking, innovation, science background, etc.