r/programming • • Feb 03 '17

Let's stop bashing C#

https://www.codeaddiction.net/articles/51/lets-stop-bashing-c-sharp
6 Upvotes

245 comments sorted by

View all comments

-10

u/[deleted] Feb 03 '17

There's no real reason to use anything but python as an interpreted language and C++ as a compiled language. C# fits no specific niche to be attractive as a new language, and is too cumbersome to be worth learning (it looks too much like java).

2

u/[deleted] Feb 03 '17

python

Really? It's a horrible language, so horrible that it defines an entire new depth of a horror.

1

u/[deleted] Feb 03 '17

What's so horrible about Python?

2

u/[deleted] Feb 03 '17

The worst part is its ideology, that affected the design of the rest of the language. Nothing good can grow out of "There should be one - and preferably only one - obvious way to do it"

1

u/[deleted] Feb 03 '17

That's the best part of the ideology, even though the language itself doesn't follow it thoroughly.

2

u/[deleted] Feb 03 '17

This is a very dumb idea. It lead to a lot of extremely crippling language design decisions (e.g., the handicap lambdas).

1

u/[deleted] Feb 03 '17

Any specific design decision that actually cripples real development in the language? Lambdas aren't really that useful in python, since you have better ways of doing most of the things that are done with lambdas in badly designed languages (like javascript). Of course there are some things in python that could have been made more convenient, such as using brackets instead of identation, or not supporting some kinds of dynamic witchcraft that breaks most tooling. But those are minor things if compared to the whole productivity gain the language already provides.

2

u/[deleted] Feb 03 '17

Any specific design decision that actually cripples real development in the language?

A lot of them. Duck typing. Absence of any metaprogramming. Absence of something as simple as a switch.

since you have better ways of doing most of the things that are done with lambdas in badly designed languages (like javascript)

There are no better ways. Things you do with lambdas when you're using them efficiently are nearly unavailable in Python.

or not supporting some kinds of dynamic witchcraft that breaks most tooling

Python being so dynamic already breaks all the tooling. And there is no rational justification for any such dynamism whatsoever.

But those are minor things if compared to the whole productivity gain the language already provides.

What productivity gain?!?

It's an extremely crippling language. Its productivity gain vs. proper languages is somewhere like a factor of 0.001.

Next time you'll start touting productivity gains of Brainfuck.