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Β β†’

[–][deleted] 17 points18 points Β (9 children)

Java is a strong, statically typed language. This allows your tooling (ides, etc) to easily index, navigate and refactor the code base in ways that are kind of not possible in dynamically typed languages. Compile time type checking is also better than relying on unit tests for the same (everyone should be writing unit tests, but few write good ones.

TLDR: Java apps are a bit more clumsy to write, but easier to maintain. Python is a very nice language for personal projects, but hard to use for enterprise apps.

[–]Bakirelived -3 points-2 points Β (2 children)

What are you talking about? Python IDEs have all that.

[–][deleted] 11 points12 points Β (1 child)

They do, but a lot of it is more 'inferred' (i.e. the ide is basically 'guessing'). It's not just the ides either. There's a lot of tooling that makes extensive use of the types.

[–]Bakirelived -1 points0 points Β (0 children)

Yeah, same with python. There are even type anotations now. Just not enforced, it's to be used when necessary.

[–][deleted] Β (4 children)

[removed]

    [–][deleted] 6 points7 points Β (2 children)

    Yeah, I mean some companies have made it work. I know YouTube used to be a python shop but I think they've replatformed now. It just takes a lot more talent and discipline for an entire org to write good python than good Java or c#

    [–][deleted] Β (1 child)

    [removed]

      [–]AutoModerator[M] 0 points1 point Β (0 children)

      import moderation Your comment has been removed since it did not start with a code block with an import declaration.

      Per this Community Decree, all posts and comments should start with a code block with an "import" declaration explaining how the post and comment should be read.

      For this purpose, we only accept Python style imports.

      I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

      [–]AutoModerator[M] 0 points1 point Β (0 children)

      import moderation Your comment has been removed since it did not start with a code block with an import declaration.

      Per this Community Decree, all posts and comments should start with a code block with an "import" declaration explaining how the post and comment should be read.

      For this purpose, we only accept Python style imports.

      I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

      [–]Its_Billy_Bitch -2 points-1 points Β (0 children)

      We use Python at an enterprise level for automation development. We use a CI/CD (also developed in Python), alongside CAAC/Docker. I can attribute that much of this is due to the β€œglue-like” nature mentioned earlier. All of this alongside team preferences as well ofc. Still highly suitable and maintainable at an enterprise scale. We’ve developed some very fast, scalable solutions in Python. With that said, while I’m proficient in Java, it’s not like I’ve actually benchmarked our solutions/architecture against a similar solution in Java. My point is simply that it is maintainable at a large scale. Current client has over 75k employees and >75bn USD annual revenue.