0

The arbitrariness of computer code

If, class, function, for, array, string: all of these and more help us tell computers what to do and how to behave, but for me they seem a bit arbitrary. Like you could create computer code that worked 100% differently. Yet outputed the same stuff as if you would code it in a normal script language. So how do you guys feel about this? do you think it has become extremely arbitrary? or is it the only way to make the things that we programmers do?

28th Oct 2017, 9:17 PM
TheLegend27
TheLegend27 - avatar
2 Respuestas
0
what do you mean by arbitrary?
28th Oct 2017, 10:41 PM
Adam
Adam - avatar
0
i mean you could create a language that uses the keyword "fish" instead of "class" and maybe "weddingcake" instead of "if" and "text" instead of "int" but it wouldnt make sense. high level languages are designed to be readable for humans thats why we have these keywords. The closer you come to machine language (0,1) the worse the readability. You coul write all your code in binary but thats what we have compiler and interpreters and so on for.
28th Oct 2017, 11:18 PM
Jeremy
Jeremy - avatar