Posts

Showing posts from April 30, 2019

What was the first language to use conditional keywords?

Image
9 1 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. history share | improve this question