My favorite language is clearly the best and all others are horrible because

And when you have libs like numpy, there isn’t a whole lot standing in the way of performant code!

1 Like

Betting for P==NP is like betting for a non-trivial zero of ζ(s). It ain’t gonna happen, but I’d be happy to take that bet against you any day :stuck_out_tongue_winking_eye:

4 Likes

My native language English is a giant meme.

2 Likes

Not a programmer, I have no idea what this is about. But I guess some people in here will understand. ^^

8 Likes

Hahaha chaotic evil. I don’t use mpl enough to understand the neutral and good rows though. What a niche meme!

4 Likes

It’s more about the different ways to import a package in python. There is nothing pyplot specific in there, “plt” is just the most common shorthand for pyplot.

2 Likes

Haha! This was made for me. I use pyplot every day. In chaotic evil, np is common shorthand for a completely different module (numpy). I nearly spat out my drink when I read that :laughing:

3 Likes

There are way less distinct problems flagged NP complete than it feels like. Loads of them are proven to be equivalent in computation time to others.

1 Like

I’m not sure what really counts as a lot, but I find this list to be pretty long, myself. What I mean with that there are a lot of distinct problems is that the range of areas that the problems originate from is so wide: there’s things from graph theory, logic, topology, algebra, number theory, operations research, etc. As such, these problems have been studied from many different angles.

All of them are proven to be equivalent in computation time to each other (as far as polynomial / non-polynomial is concerned), that’s the whole point of being NP-complete: that there is a polynomial-time way to translate any NP-complete problem to any other NP-complete problem.

4 Likes

Even though Scheme is slow and garbage collected, I think it is pretty elegant, much like weiqi in its simplicity and emerging complexity.

Most other programming languages are ugly and you only use them reluctantly because you want to get something done. Even Haskell is just a bunch of piled up hacks. But Scheme is beautiful.

Why don’t people use it? It’s not even difficult. It’s as easy to learn as weiqi. Probably the easiest of them all for someone with no prior experience.

1 Like

image

Belongs in here I think.

8 Likes

https://senseis.xmp.net/?ComputerGoLanguageQuestion

1 Like

I’m thinking of improving my skills a bit.

My background is mainly in Python, C, Common Lisp and some web stuff like Javascript and PHP.

I don’t really like Python, for a number of reasons. I think I’m going to research Ruby, since that had some features I preferred to Python’s. I might well learn some Scheme as well.

PS. caught this on South Park:

10 PRINT “THE RUSSIANS ARE NUKING US”
20 GOTO 10

“We can’t stop it! It’s some kind of ancient technology!”

PS. I remember now that I also wanted to learn Perl.

I’ll likely look into solving some Project Euler problems, like I used to do seven–ten years ago.

2 Likes

For me it changed over the years:

20+ years ago: C++
~10 years ago: Python
5 years ago: CoffeeScript
now: my own language.

Similar with editors:
20+ years ago: Emacs
5 years: Atom
now: my own editor.

1 Like

I don’t have a favorite language, but I want to mention TypeScript.

2 Likes

I think what language to learn is decided by what you want to accomplish and what projects you want to create or participate in. Or perhaps even what frameworks or platforms you want to use. Just languages on their own aren’t valuable I think, because they can be acquired in weeks with very few exceptions.
But maybe that’s just my snobby “professional” opinion. I don’t find coding fun, me.

Funny how that works. I do find coding fun, but I find that enjoying code doesn’t actually help a whole lot professionally :laughing:

I think professional coding just makes you result-oriented from a process-oriented “enthusiast”. And then as you progress it only amplifies, with the “results” needing planning, estimation, quality assurance, integration, etc. The results become an implied part of you spending time “coding” so you go even farther from thinking about the process.
I somewhat enjoy having results but I don’t really enjoy the process.

2 Likes

What do you guys think to a Project Euler problem solving thread?

I’d probably be doing it in C, Python, Ruby, Perl, Common Lisp and Scheme.

We’d do one problem a day and spoiler our solutions.

2 Likes

Another fun source of programming exercises is Programming Praxis

I feel like Project Euler is ultimately more math puzzles rather the programming. You generally can’t solve them reasonably well without figuring out a bit of math first.

2 Likes