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?
2 odpowiedzi
0
what do you mean by arbitrary?
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.