News for hackers. Stuff that matters.
Re:Show HN: Python to C++14 transpiler by marvy on Monday January 18, 2016 @12:02PM (#10925436)
Python:

    x = 2
    if stringy: x = '2'
    print x+x # 4 or 22???
C++:

    int x = 2;
    if(stringy) string x = "2";
    print x+x; // 4 (string x is out of scope)

There are no comments on this comment yet.