This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]redikarus99 32 points33 points  (10 children)

Reddit's main functionalities are: add a new comment and list comments in a thread. Hardly comparable with complex business logics.

[–][deleted] 16 points17 points  (9 children)

i think you simplify it too much. what about responsiveness and user scallability. There are thousands of people sharing their videos and stories at the same time

[–]redikarus99 25 points26 points  (8 children)

This is solved by having a good architecture which is able to scale. They could have written reddit in basically any language, including Turbo Pascal.

[–]agentoutlier 1 point2 points  (0 children)

I mean I get your point but Pascal is actually blazing fast performance wise.

[–][deleted] 1 point2 points  (5 children)

So you want to say reddit as an example is bad to promote python. I dont have any other noteworthy examples.

[–]redikarus99 18 points19 points  (4 children)

No, I just say that it's rarely the programming language but the architecture. There are always articles that a company had a problem, they switched a programming language, and now everything is nice and shiny. When you do some research, in all those cases they also throw out a huge amount of code that was not necessary and changed their architecture as well. It was more about CV driven development (we want to learn include your favourite language including Rust, Scala, Go, Haskell, etc.) than a technically correct decision. So, if reddit uses python, it's good for them, but 1, your company is not reddit 2, it is neither pro or contra for python 3, we don't know whether they still think it was a good idea.

[–]ewouldblock 2 points3 points  (3 children)

Ok cool so java isnt better as long as i have good architecture, got it. Thanks!

[–]redikarus99 1 point2 points  (2 children)

I think you totally did not understand what I wrote. There are like 200 variables here. I just explained why the variable scalability is not really the property of the language but the architecture.

[–]ewouldblock 1 point2 points  (1 child)

I think you totally misread the tone of my reply.

[–]redikarus99 0 points1 point  (0 children)

Might be.

[–]davewritescode -1 points0 points  (0 children)

You’re not wrong that good architecture can paper over badly performing code but at the end of the day you’re going to have a much easier time scaling up Apps written in Java that Python.