+ 4
Which language is the smartest?
Which language is closer to English language and what is that?
6 odpowiedzi
0
"FizzBuzz example program (tilt you screen horizontally for better readability) "
1 to: 100 do: [ :num |
num isDivisibleBy: 3 ifTrue: [Transcript show: 'Fizz'].
num isDivisibleBy: 5 ifTrue: [Transcript show: 'Buzz'].
(num isDivisibleBy: 3 or: [num isDivisibleBy: 5] ) ifFalse: [Transcript show: num].
Transcript cr. "cr is line break"
]
+ 2
think about next 20 years, how are the languages?
+ 2
If you liked it , upvote please!
+ 1
Smalltalk. I'll post an example some time later.
+ 1
If you ask me, Cobol is the most english like
0
It's coding it's all about logic not grammar. And basicly every big coding language uses English as base.