Skip to main content
rephrase title for clarity (conditional keyword sounds like a token which is condtionally considered a keyword)
Source Link
user3840170
  • 25.3k
  • 4
  • 101
  • 161

What was the first language to use conditional keywords for conditional execution?

The if keyword is so prevalent in programming that it seems to just be part of it. However, with an integer value and a goto statement, one cansimulatecan simulate the functionality of an if.

Which means it's not necessary for a language to have dedicated conditional keywords in order to achieve that functionality. Which in turn makes me think that there must have been a time before somebody created the first if to be used in a language.

So, my question is: What was the first time a language offered a dedicated keyword for conditional execution?

The word itself doesn't really matter here, it could be AS_IT_OCCURS_THAT instead of if for all I care.

What was the first language to use conditional keywords?

The if keyword is so prevalent in programming that it seems to just be part of it. However, with an integer value and a goto statement, one cansimulate the functionality of an if.

Which means it's not necessary for a language to have dedicated conditional keywords in order to achieve that functionality. Which in turn makes me think that there must have been a time before somebody created the first if to be used in a language.

So, my question is: What was the first time a language offered a dedicated keyword for conditional execution?

The word itself doesn't really matter here, it could be AS_IT_OCCURS_THAT instead of if for all I care.

What was the first language to use keywords for conditional execution?

The if keyword is so prevalent in programming that it seems to just be part of it. However, with an integer value and a goto statement, one can simulate the functionality of an if.

Which means it's not necessary for a language to have dedicated conditional keywords in order to achieve that functionality. Which in turn makes me think that there must have been a time before somebody created the first if to be used in a language.

So, my question is: What was the first time a language offered a dedicated keyword for conditional execution?

The word itself doesn't really matter here, it could be AS_IT_OCCURS_THAT instead of if for all I care.

deleted 346 characters in body
Source Link
R. Schmitz
  • 393
  • 2
  • 9

The if keyword is so prevalent in programming that it seems to just be part of it. However, with an integer value and a goto statement, one cansimulate the functionality of an if.

Which means it's not necessary for a language to have dedicated conditional keywords in order to achieve that functionality. Which in turn makes me think that there must have been a time before somebody created the first if to be used in a language.

So, my question is: What was the first time a language offered a dedicated keyword for conditional execution?

The word itself doesn't really matter here, it could be AS_IT_OCCURS_THAT instead of if for all I care. What does matter is that we have a keyword with the one and only purpose of choosing the code to execute next, based on a boolean condition.

Also, to clear up an ambiguity about "a language offered a dedicated keyword", I'm talking about a working implementation of a language; so that it was an actually usable tool for a programmer.

The if keyword is so prevalent in programming that it seems to just be part of it. However, with an integer value and a goto statement, one cansimulate the functionality of an if.

Which means it's not necessary for a language to have dedicated conditional keywords in order to achieve that functionality. Which in turn makes me think that there must have been a time before somebody created the first if to be used in a language.

So, my question is: What was the first time a language offered a dedicated keyword for conditional execution?

The word itself doesn't really matter here, it could be AS_IT_OCCURS_THAT instead of if for all I care. What does matter is that we have a keyword with the one and only purpose of choosing the code to execute next, based on a boolean condition.

Also, to clear up an ambiguity about "a language offered a dedicated keyword", I'm talking about a working implementation of a language; so that it was an actually usable tool for a programmer.

The if keyword is so prevalent in programming that it seems to just be part of it. However, with an integer value and a goto statement, one cansimulate the functionality of an if.

Which means it's not necessary for a language to have dedicated conditional keywords in order to achieve that functionality. Which in turn makes me think that there must have been a time before somebody created the first if to be used in a language.

So, my question is: What was the first time a language offered a dedicated keyword for conditional execution?

The word itself doesn't really matter here, it could be AS_IT_OCCURS_THAT instead of if for all I care.

deleted 8 characters in body
Source Link
R. Schmitz
  • 393
  • 2
  • 9

The if keyword is so prevalent in programming that it seems to just be part of it. However, with an integer value and a goto statement, one can easily simulatecansimulate the functionality of an if.

Which means it's not necessary for a language to have dedicated conditional keywords in order to achieve that functionality. Which in turn makes me think that there must have been a time before somebody created the first if to be used in a language.

So, my question is: What was the first time a language offered a dedicated keyword for conditional execution?

The word itself doesn't really matter here, it could be AS_IT_OCCURS_THAT instead of if for all I care. What does matter is that we have a keyword with the one and only purpose of choosing the code to execute next, based on a boolean condition.

Also, to clear up an ambiguity about "a language offered a dedicated keyword", I'm talking about a working implementation of a language; so that it was an actually usable tool for a programmer.

The if keyword is so prevalent in programming that it seems to just be part of it. However, with an integer value and a goto statement, one can easily simulate the functionality of an if.

Which means it's not necessary for a language to have dedicated conditional keywords in order to achieve that functionality. Which in turn makes me think that there must have been a time before somebody created the first if to be used in a language.

So, my question is: What was the first time a language offered a dedicated keyword for conditional execution?

The word itself doesn't really matter here, it could be AS_IT_OCCURS_THAT instead of if for all I care. What does matter is that we have a keyword with the one and only purpose of choosing the code to execute next, based on a boolean condition.

Also, to clear up an ambiguity about "a language offered a dedicated keyword", I'm talking about a working implementation of a language; so that it was an actually usable tool for a programmer.

The if keyword is so prevalent in programming that it seems to just be part of it. However, with an integer value and a goto statement, one cansimulate the functionality of an if.

Which means it's not necessary for a language to have dedicated conditional keywords in order to achieve that functionality. Which in turn makes me think that there must have been a time before somebody created the first if to be used in a language.

So, my question is: What was the first time a language offered a dedicated keyword for conditional execution?

The word itself doesn't really matter here, it could be AS_IT_OCCURS_THAT instead of if for all I care. What does matter is that we have a keyword with the one and only purpose of choosing the code to execute next, based on a boolean condition.

Also, to clear up an ambiguity about "a language offered a dedicated keyword", I'm talking about a working implementation of a language; so that it was an actually usable tool for a programmer.

added 199 characters in body
Source Link
R. Schmitz
  • 393
  • 2
  • 9
Loading
added 147 characters in body
Source Link
R. Schmitz
  • 393
  • 2
  • 9
Loading
Became Hot Network Question
Post Migrated Here from softwareengineering.stackexchange.com (revisions)
Source Link
R. Schmitz
  • 393
  • 2
  • 9
Loading