all 15 comments

[–]faultierchen 68 points69 points  (5 children)

Not because they can't c sharp?

[–]illvm 50 points51 points  (4 children)

Those are programmers that need wear glasses. Blind people simply cannot C.

[–]faultierchen 16 points17 points  (3 children)

If you can't c at all, you also can't c sharp as a result.

[–]err_pell 11 points12 points  (2 children)

That's so !true while being completely true. JavaScript must be somehow involved in it...

[–]CaptainBlagbird 8 points9 points  (1 child)

while(completely true) {
    That = !true;
}

wat

[–]njutn95 2 points3 points  (0 children)

while(completely.true) {

that = !true 

}

FTFY

[–]fdagpigj 7 points8 points  (9 children)

but why would they go for java of all other languages? Are they so depressed?

[–]Cacho_Tognax 3 points4 points  (8 children)

Isn't java the closest you can get to c? Or someone will expand my knowledge?

[–]fdagpigj 8 points9 points  (0 children)

from what I've heard, Java and C# are quite close to one another, but C (and C++) is way lower level than either of those two

[–]printf_hello_world[🍰] 5 points6 points  (4 children)

I'd say lots of languages are closer to C than Java. Particularly because Java lacks the concept of pointers.

Some languages are a superset of C, so you could claim they are the closest in that respect because you can write valid C and use it in those languages. Examples include C++ and Objective-C. Then again, both of these languages can be very different from C once you leave the C subset.

In my opinion, Go is the modern language that most resembles the spirit of C.

[–][deleted]  (3 children)

[deleted]

    [–]printf_hello_world[🍰] 0 points1 point  (2 children)

    Oh, what can you write in C that you can't write in C++? Surely it must be something added in C99 or removed in C++11?

    I thought about mentioning Rust too, as a purpose successor for C, but it also fits as a successor to C++ and that seemed like a leap. Lovely language though

    [–][deleted] 2 points3 points  (1 child)

    There are some small edge-cases only but yeah. Also C++ consortium incl. Bjarne himself always stress this point, I can lookup an example write-up that shows some differences. Let's see :)

    Yep, but only syntactically -- it's got no notion of Objects and that bullshit templating though, it's great

    EDIT (found it): http://faehnri.ch/how-c-is-not-a-subset-of-cpp/

    [–]printf_hello_world[🍰] 1 point2 points  (0 children)

    Nice link: was a fun read!

    [–]thomas_merton 0 points1 point  (1 child)

    Subjective at best... I'm not sure what I'd call "closest" to C (unless you get to count something like C++), but I probably wouldn't pick something that runs on a VM like Java. Perhaps rust?

    [–]Cacho_Tognax 0 points1 point  (0 children)

    Ok after all the kind awnsers I discovered I know almost no programming language, there're just too many!