Meaning: "Angular is what HTML **would have been had it been** designed for applications"



I was reading the Angular.js documentation when I saw this:

Angular is what HTML would have been had it been designed for applications.

I've never seen a construction like this and I can't get neither the meaning nor the structure that is been used.

Could you explain it?

Alejandro Veltri

Posted 2014-11-20T18:46:42.370

Reputation: 859

6As a developer, I will also add, this statement is marketing - not technical truth. It is designed to sell the product and does not describe a feature. It's "fluff" and it's not important that you understand what the marketing team means by this, if you're a developer. – Jasmine – 2014-11-20T20:34:00.330

@Jasmine I disagree a little bit. I find that understanding the marketing of a product is important to knowing whether or not it's likely to be suitable for what I need to do. If I look at a product and it says "Like HTML, but in 3D!" and I have no need for 3D, I will look for something else. If my goal is to publish 3D visualizations, then maybe I will give it a closer look. – ColleenV – 2014-11-20T20:46:13.953

3Sure yes, marketing messaging which describes actual features of the product is useful, but this is not such a statement. It is not important to understand it 'deeply' - I have seen this cause problems for developers who aren't native english speakers. They may put too much weight on these statements and invest in something that isn't as good as it sounds. That's the only reason I mention it - to help people understand what can be ignored and what you need to work to understand. – Jasmine – 2014-11-20T20:50:55.517

@Jasmine you're right, in that it's marketing, in that it's a little "catchier" and simple and elegant. But as a non-marketer I might say "Angular's design goal was to be what HTML would have been had it been designed for application," and I might have even said something negative like it's more like Angular was designed for lobsters. So marketing isn't quite what's going on here. – djechlin – 2014-11-20T21:05:35.387

I agree with Jasmine that this is marketing fluffery. It's not even particularly truthful marketing fluffery, because AngularJS has about a dozen competitors, so what are we to say about them? They weren't intended to be used for building applications? For an engineering field, software development sure has a lot of egomania, IMO.

Regarding the English question itself, it's been answered well by Luke Willis below. – Calphool – 2014-11-20T21:28:45.243

@Jasmine Just to play devil's advocate, how is a non-native speaker going to be able to determine if a statement is meaningful or fluff if they don't understand it? Claims like the sentence in the question aren't exactly rare. – ColleenV – 2014-11-20T22:13:07.507

That's why I mentioned it. The only way to recognize this kind of thing with a cursory understanding is to be familiar with this kind of statement, and to have knowledge in the field for which the product applies. The more examples you can familiarize yourself with, the better. So, I'm hoping people trying to learn English will read the comments and think "oh ok, another one of those" and become slightly better at recognizing it. – Jasmine – 2014-11-20T23:10:50.613

@Jasmine Ah, I misunderstood. I thought you were saying "don't waste your time on it". – ColleenV – 2014-11-21T01:03:34.513

@AAA " Angular was designed for lobsters." What do you mean with lobsters? – Alejandro Veltri – 2014-11-21T01:05:46.540



The sentence is a way of saying:

Angular is what HTML would have been if it had been designed for applications.

In general, phrases of the form "if [noun] [helping verb] [verb]" can be rewritten as "[helping verb] [noun] [verb]".

EDIT: As Colleen pointed out in her comment, helping verbs are also commonly called auxiliary verbs.


  • If I had been there, I could have stopped it. -> Had I been there, I could have stopped it.
  • If John were taller, he could play basketball. -> Were John taller, he could play basketball.
  • If the dog would jump, he could escape. -> Would the dog jump, he could escape.


Posted 2014-11-20T18:46:42.370

Reputation: 872


Very nice answer. I'm glad you addressed the construction of the sentence. You might add that "Helping verbs" are also known as "auxiliary verbs". Some references might not use both terms.

– ColleenV – 2014-11-20T19:22:06.207

@ColleenV edited and credited. :) – Luke – 2014-11-20T19:38:35.853

2And Ember is what it would have been if it had been designed by practical people ;) – Paul – 2014-11-21T01:53:18.683

3Perhaps also worth mentioning is that the use of the subjunctive is mandatory here: "If John was taller, he could play basketball." is a sentence most people will probably accept, even if "were" is better. "Was John taller, he could play basketball." is not. – hvd – 2014-11-21T10:18:59.657


There is nothing wrong with the sentence. It's perfectly grammatical.

Let's see one example

  1. A doctor is what he would have been had he had enough money to put himself through medical college. (If he had enough money to pay for the medical college fees, he would have been a doctor. Meaning he is not a doctor today.)

In your sentence (I'm not a technical person so i don't know what Angular is) it means that

If HTML had been designed for applications it would have been Angular. (It means that current HTML is not designed for applications)

We should put a comma to make that sentence more understandable like

Angular is what HTML would have been, had it been designed for applications.


Posted 2014-11-20T18:46:42.370

Reputation: 3 111

1Though I think @Luke Willis provided a sentence that flows more smoothly, & is easier to mentally process, your example is closer to the original statement. Both are excellent answers. I'm in a bit of a quandary as to how much to revise someone else's example statement without changing the meaning. Is it best to keep as close to the original sentence as one can, & let the OP figure out from there whether a rewrite is in order, or should one offer what he or she believes is optimum? – JimM – 2014-11-20T20:09:40.447

Let me apologize for the above comment. For good reasons, Stack X discourages posts that solicit opinion or provoke discussion. Still, it's important for members of a community to establish guidelines. Endless chatter? Not good. Positive, useful, & constructive contributions? Good. If Stack X provides a category where a post like this would be appropriate, please, direct me there. If my post is outright inappropriate, I'll remove it. – JimM – 2014-11-20T20:30:54.217

2I think that allowing multiple highly rated answers is one of the best features of the SE network. I don't feel compelled to just up-vote one answer as the "best". Answers can be good in different ways and I think having a diversity of answers is a good thing. All of the great teachers I've had could explain the same concept in different ways and would use the way that was easiest for each student to understand. For some learners it may help to stay close to the original meaning, and others may find a complete re-wording useful. I just try to remember that I'm explaining, not editing. – ColleenV – 2014-11-20T20:57:10.363

@Jim I have gotten into the terrible habit of treating comments like a threaded discussion and neglecting to tag the person I'm replying to - my earlier comment was a reply to yours. Also, 5 minutes to edit isn't enough for someone whose attention is as non-linear as mine is :) – ColleenV – 2014-11-20T21:25:37.363

@ColleenV I certainly can't throw the first stone for any terrible habits. I'm baffled by the superior abilities of the ELL & ELU moderators & editors. They allow the multiple highly rated answers and diversity of answers you mentioned to proliferate, yet they maintain pleasantly readable & easily navigable pages. That's talent! – JimM – 2014-11-20T22:15:24.313

@JimM - i guess ColleenV summed it up very well. Sorry couldnt reply yesterday. – Leo – 2014-11-21T04:25:08.480

@Leo No problem. There is, after all, life outside of ELL & ELU. But, when you're able to contribute, I enjoy reading your posts. – JimM – 2014-11-21T13:36:56.260