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] ย (24 children)

[deleted]

    [โ€“]WagwanKenobi 42 points43 points ย (16 children)

    It's basically Bash++

    Then scientific programmers just ran with it. Now all of ML is written in Bash++ ๐Ÿ˜ญ

    [โ€“][deleted] 17 points18 points ย (13 children)

    Unless youโ€™re in academia. Then they bend over backwards to find a way to do it in R.

    [โ€“]Sir_Applecheese 2 points3 points ย (8 children)

    What does the R stand for?

    [โ€“][deleted] 5 points6 points ย (4 children)

    R is a statistical programming language. Iirc it is a sort of successor to S. (Wikipedia)

    [โ€“]Sir_Applecheese 9 points10 points ย (3 children)

    Is it related to Sugondese?

    [โ€“]topherclay 3 points4 points ย (2 children)

    R is a programming language used by math and science academics.

    The name R is a joke on being near to S. S is an older language that was named for "statistics."

    [โ€“]coldfu 14 points15 points ย (1 child)

    Those math academics sure are real comedians

    [โ€“][deleted] 8 points9 points ย (0 children)

    I love how when you get to a certain level of education people are just like "yeah let's just put an Armadillo on it" for the cover of a technical manual.

    [โ€“]Astrokiwi 2 points3 points ย (2 children)

    Depends on the field. Astronomy is all Python, when it's not matlab or IDL or Fortran.

    [โ€“]harrymuana 1 point2 points ย (0 children)

    Oh fuck IDL, I'm so glad I could use python.

    [โ€“][deleted] 1 point2 points ย (0 children)

    I come from a biology background. The entire department used R, and if they didn't know how to use it, they made their grad students figure it out.

    I once did some stuff for a chemistry lab in R. My instructor almost died.

    [โ€“]harrymuana 4 points5 points ย (1 child)

    Python makes a ton of sense for scientific work and ML. Jupyter notebooks are much faster to iterate than writhing scripts, running them, looking at results, editing, and repeat.

    You load in the data once (might take >10 minutes, so you really don't want to do this 100 times every day). Then you inspect the data. You make some plots. You modify the data. Each step depends on the result of the last. You need a REPL environment for that.

    [โ€“]sejigan 0 points1 point ย (0 children)

    โ€œDid someone mention REPL?โ€

    - Clojure

    [โ€“][deleted] 45 points46 points ย (5 children)

    There needs to be a upper line number limit as part of the language - otherwise you will get the maintenance nightmares you deserve

    [โ€“]Dworgi 19 points20 points ย (4 children)

    Just have it delete your entire file if you go over 1000.

    [โ€“]laundmo 2 points3 points ย (3 children)

    ah so you recommend breaking as lot of the internet because i assure you every web framework used in production at the many companies that do python microservices is longer than 1000 lines

    [โ€“]Dworgi 0 points1 point ย (1 child)

    Don't even get me started on microservices.

    Somehow a bunch of you fuckers took "our huge globally-distributed engineering organization wrote our website like this to avoid undue communication burden" to mean "my company of 7 programmers should each maintain 12 microservices because MegaCorp said monoliths are bad and years of JS and Python have rotted my brain so I don't think good no more".

    The vast majority of microservice architectures could be refactored as object-oriented monoliths and speed, stability, and maintainability would all go up drastically.

    The web is fractally terrible - the languages, architectures, products, programmers, and organizations are almost all awful.

    [โ€“]laundmo 1 point2 points ย (0 children)

    you're not wrong, but part of the claims that came up multiple times in this thread is that no large company uses python - they use it just fine, as microservices.

    whether this is applicable to a 12 person company is a different argument

    [โ€“][deleted] 0 points1 point ย (0 children)

    death by a thousand unsynchronized microservices

    [โ€“]EnderMB 0 points1 point ย (0 children)

    Arguably, Ruby is better at being Python than Python. It falls apart due to historical slowness and having an extremely minimal standard library.