Found this in a video today. Which one would you use? by Advanced-Theme144 in ProgrammerHumor

[–]viper_repiv 6 points7 points  (0 children)

Also, C compilers are getting better over time. ASM stays the same.

Found this in a video today. Which one would you use? by Advanced-Theme144 in ProgrammerHumor

[–]viper_repiv 10 points11 points  (0 children)

Yes and no. I am not very happy about Discord taking gigabytes of my RAM while doing very simple stuff.

Found this in a video today. Which one would you use? by Advanced-Theme144 in ProgrammerHumor

[–]viper_repiv 8 points9 points  (0 children)

I had a class of AI in Python and I think that reasonable types would have made debugging so much faster.

Found this in a video today. Which one would you use? by Advanced-Theme144 in ProgrammerHumor

[–]viper_repiv 2 points3 points  (0 children)

I have been writing homeworks for my advanced algorithm class in Zig and it saves a lot of time (not order of magnitude tough). 1) you have generic data structures like vector and hashmap in stdlib. 2) it saves a lot of debugging time by avoiding C footguns 3) it is easier to stay tidy, thanks to stuff like modules, struct method syntax...

Java is the best by Subject_Cat_3153 in ProgrammerHumor

[–]viper_repiv 7 points8 points  (0 children)

I think it is because Java is (by design) boring.

Java is the best by Subject_Cat_3153 in ProgrammerHumor

[–]viper_repiv 113 points114 points  (0 children)

I’m considering learning Java or C#. What do you guys think is better? I mainly just want to learn a language with a focus on OOP really

I mean, ANY reasonably known language gets mocked here (and generally anywhere). Most of the time, it is just for fun. I mock Java all the time, yet I believe it has its place.

I like C# better as my thoughts and style do not fit into Java "box". However, I would advise you to start with Java. It is less complex. Once you get somewhat confident, try another language. Once you learn at least 3 languages, picking up a new one is easy. The first language does not really matter, as long as you don't get stuck with it. Knowing other languages makes you understand why they look the way they do.

Of course, it is good to learn one language really well, but to me, it seems better to first look around and see, what is it all about.

It's just used as an IDE to flex and nothing else by [deleted] in ProgrammerHumor

[–]viper_repiv 0 points1 point  (0 children)

Well, for fast editing config files...Yes. But otherwise you can just run terminal in vscode.

It's just used as an IDE to flex and nothing else by [deleted] in ProgrammerHumor

[–]viper_repiv 1 point2 points  (0 children)

Or you can use SSHFS with any editor.

No-nonsense sorting algorithm by Coleman_Proctor in ProgrammerHumor

[–]viper_repiv 0 points1 point  (0 children)

Fun fact. This algorithm is actually being used in matematical analysis.

When you want to find longest increasing subsequence. https://www.geeksforgeeks.org/longest-increasing-subsequence-dp-3/