3 ms·
The question of programming languages used is one of the least interesting things in that article.
by scott_s 16y ago
The question of programming languages used is one of the least interesting things in that article.
- smharris65 16y agoMaybe for some, but for me I was very surprised that the top contestant would use Pascal and do so well. And when the journalist specifically lists total lines of code in his article and makes it a point to differentiate the programming languages of the two contestants it was very interesting to me.
- colomon 16y agoBut the difference (at least in the example code shown) is entirely in the choice of algorithm. The better / shorter algorithm just happens to be in Pascal...
- thisrod 16y agoActually, both programs use the same algorithm, but they represent its flow of control very differently. The Pascal program could be written elegantly in any language.
- old-gregg 16y agoThat's because Pascal was predominant programming language used in Soviet academia in the 90s and in many schools that's still the case.