“Every language was created for a specific purpose”

后端 未结 16 1617
轻奢々
轻奢々 2021-02-04 10:57

I was reading the post Why Language is Important (Why I prefer C#) from \'Dot Net Thoughts\' and the first paragraph of the article ends with this statement:

16条回答
  •  执念已碎
    2021-02-04 11:20

    I have to take this opportunity to mention to Piet, whose only design principle is: Program code will be in the form of abstract art. And yes, it's a real language, in the sense that there are interpreters for it, and a few working programs. Here's one that generates prime numbers:


    (source: dangermouse.net)

    I once spent probably half an hour or so trying to draw a dinky little program that could determine if a number was even or odd.

提交回复
热议问题