Live data from Hacker News

Programming-language popularity by GitHub pull requests

lemire.me

71–73 of 73 posts

Re: Programming-language popularity by GitHub pull requests

#71

Earlier quoted context omitted.

Happy to see someone down-voting a comment that suggests you examine your requirements for a language because it dares to challenge the supremacy of python and suggests that adults are perfectly capable of choosing a language appropriate for the task, even if that language is COBOL. Stay classy, HN.

I didn’t vote, but your take on Python doesn’t match my experience. Do you have more context? It seems like after the transition to version 3, the lesson was learned. That was about a decade ago now.

2.3 to 2.5 - changed the syntax and semantics of the language by adding class variables. 2.5 to 2.7 - changed semantics by changing class variable to package variables.

Certainly you're not claiming Python hasn't made breaking changes in the syntax or semantics over the years?

I mean... this still compiles with my c compiler:

  ??=include 

  int main( argc, argv )
    int argc;
    char *argv[];
  ??
  
Though... gcc makes you add the -trigraph option.

Re: Programming-language popularity by GitHub pull requests

#73
post #13
post #8

Lovely last sentence: believing c# being an underrated language. Very true, also public pull request are not friendly to dark matter enterprise software :)

I recently got into c# and it seems really nice, but the "customs and traditions" of the dotNet world horrify me (eg: never write a function when you can write three classes instead)

Which customs and traditions? I work for nearly two decades in the .NET space and it seems I missed that indoctrination. What I see is a developer population moving through time, adapting the technology trends as they come and go and taking the best for the current projects. And so did also the language and platform itself. When I started I needed a Visual Studio on Windows, 3 xml files and at least 10 code classes to startup a simple app. Today, I (can) code/deploy on Linux, use Visual Studio Code (or any editor), my project has two files, zero classes and looks more like nodejs than anything else.

IMHO, there is a huge misconception regards C# regards their OOP enforcement. Most classes you ever write for business logic in C# are nothing more than namespaces/grouping containers. And that is for good. There are so little business logic object hierarchies (aka the Pattern world or OOP fantasy world). The other reason to write classes are object to transfer data (no logic). There are the sinful years of DTOs (which are an OOP abomination) but that is obsolete for some years already in favor of records.

Post reply on HN