scharf_2x40

joined 1 year ago
[–] scharf_2x40 2 points 8 months ago* (last edited 8 months ago)

I found this, which dives deeper into the impact of inefficient software.

https://eco.kde.org/handbook/#look-to-the-software

[–] scharf_2x40 7 points 8 months ago* (last edited 8 months ago) (5 children)

Isn't that only microsoft exclusive and closed source? Also does compiling it really yield the same speed as C, it is garbage collected isn't it?

[–] scharf_2x40 5 points 8 months ago

I don't know, I used gnome for a while and I just felt like I was using toy apps. But I think that comes down to personal preference. KDE definitly has the bigger apps like Kdenlive and Krita.

[–] scharf_2x40 3 points 9 months ago (2 children)

Yes, using them is probably the closest one can get to the macos ecosystem on Linux.

[–] scharf_2x40 2 points 9 months ago

Yeah that point was not entirely accurate. What I meant was, that a np.array and a list don't work together. Coming from julia and matlab it just does not make sense to me, why I can't use a function written for a list for a np.array even if they basically represent the exaxt same thing.

Julia for example hast linalg as a module but functions work on lists with no problem.

[–] scharf_2x40 2 points 9 months ago (1 children)

But I took your advice to heart and installed a Linter

[–] scharf_2x40 2 points 9 months ago

Python is strongly typed, but dynamically checked. Working with other languages I just found, that the type errors in python are the hardest to catch and to debug, but maybe I am just more used to othet languages

I see it's use as language to write small scripts, I just don't see much use besides that.

Here is a article talking about the speed of compiled python vs Julia. I don't see why it is better to go to all these extra steps just to end up with something slower. https://www.matecdev.com/posts/julia-python-numba-cython.html

[–] scharf_2x40 2 points 9 months ago (2 children)

No I mean, Python is definitely the most used language in scientific computing, but yeah, I would use something else if I could.

[–] scharf_2x40 5 points 9 months ago (5 children)

Julia, R, Matlab, Mathematica and Fortran.

[–] scharf_2x40 2 points 9 months ago (4 children)

Yeah, ofc every language must have a type system, the problem is, that this is not enforced. I.e 3 == '3' throws no error, when working with dataframes for example this can be a pain in the ass. But yeah, I don't say that nobody should use Python (although the title is a bit dramatic) I just think that there are better alternatives out there.

[–] scharf_2x40 2 points 9 months ago (1 children)

I mean others don't seem to have the same problem with Python as me, so if it is right for them, I can't really complain, but I would use the following languages for the following tasks

Scientific Computing (my main area): I prefer Julia, it is faster, feels more intuitive and feels like a modern python for scientific computing

Web: there are many great frameworks out there, i am intrigued by phoenix for elixir

Game Developement: Nobody use python in games to distribute for anything heavy I hope, but for scripting I would use Lua

Learning: Python is often the first language, that people learn, and I guess that also explains it's widespread use to some degree. I would teach something less high-level like C as a first language, although I think writing "high-level code" also has a learning curve to it.

Scripting: Fine, I guess python is great for small scripts, although one could also use Ruby

8
Python is overrated and overused. (self.unpopularopinion)
submitted 9 months ago* (last edited 9 months ago) by scharf_2x40 to c/unpopularopinion
 

Python is the most popular programming language and beloved by many. However I can't understand why (this is still the case in 2024).

Here are my main gripes with it:

  • It is slow, performance intensive tasks have to be offloaded to other languages, which makes it complicated to analyse. Moreover I wonder how many kwH could have been saved if programms were written in more performant languages. (and there are better alternatives out there)
  • The missing type system makes it easy to make errors, and the missing compiler makes it hard to catch them
  • It has no linear algebra built in, so you always have to convert things to numpy arrays, which is quite annoying
  • Managing virtual environments and pip packages feels overly complicated

I guess much comes down to personal, but I just can't understand the love for python.

[–] scharf_2x40 30 points 9 months ago (2 children)

It let's you find a users profile on different social media services based on their username.

 
view more: next ›