youbbs
youbbs
3066 2 0

这个程序员将要改变世界

Python 最不爽的地方就是没语句块括号,于是改变世界的人来了:

if foo=="bar" {
  print "Indentation";
print "doesn't";
    print "matter!";
}

class SampleClass {
  def __init__(self) {
    print "Hello world";
  }
}

接下来,他要干的事:把C 的语句块括号去掉,给Ruby加上语句块括号……

Python with Braces http://www.pythonb.org/

0

See Also

Nearby


Discussion (2)

先知先觉
先知先觉 2014-02-25 05:02

@ego008 请问:在自己网站中要加入上面黑色部分,怎么改代码

0
ego008
ego008 2014-02-25 08:34

@先知先觉 添加代码高亮,参见 https://www.youbbs.org/t/1363

0
Login Topics