Stop comparing programming languages

  • Python is versatile
  • JavaScript is powerful
  • Ruby is elegant
  • C is essential
  • C++
  • Java is robust
    • dohpaz42@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      3 months ago

      PHP is old

      Same age as Ruby, Java and JavaScript, but younger than Python, C, and C++. 😛

    • chraebsli@programming.devOP
      link
      fedilink
      arrow-up
      1
      ·
      3 months ago

      Actual definitions (my opinion):

      • HTML is website
      • CSS is style
      • JS is everywhere
      • SQL is data
      • Python is simple
      • PHP is backend
      • Markdown is README
      • YAML is config
  • Xylight@lemdro.id
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    3 months ago
    • Python is NameError: name 'term_to_describe_python' is not defined

    • JavaScript is [object Object]

    • Ruby is TypeError: Int can't be coerced into String

    • C is segmentation fault

    • C++

    • Java is

    Exception in thread "main" java.lang.NullPointerException: Cannot read the termToDescribeJava because is null at ThrowNullExcep.main(ThrowNullExcep.java:7)
    Exec.main(ThrowNullExcep.java:7) 
    
    • CSS j ust # sucks
    • <HTML />
    • Kotlin is type inference failed. The value of the type parameter K should be mentioned in input types
    • Go is unused variable
    • Rust is Compiling term v0.1.0 (/home/james/projects/Term)
    • sus@programming.dev
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      3 months ago

      C++ is std::__cxx11::list<std::__shared_ptr<table, (__gnu_cxx::_Lock_policy)0>, std::allocator<std::__shared_ptr<table, (__gnu_cxx::_Lock_policy)0> > >::erase(std::_List_const_iterator<std::__shared_ptr<table, (__gnu_cxx::_Lock_policy)0> >) /usr/include/c++/12/bits/list.tcc:158

      • LordKitsuna@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        3 months ago

        I’ll happily download 63928 depends so long as it continues to work. And it does, unlike python projects that also download 2352 depends but in the process brick every other python program on your system

  • umbraroze@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    3 months ago

    JavaScript is powerful

    Old joke (yes, you can tell):

    “JavaScript: You shoot yourself in the foot. If using Netscape, your arm falls off. If using Internet Explorer, your head explodes.”

      • barsoap@lemm.ee
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        3 months ago

        Calling Terry racist is ableist. He was very much equal opportunity, applying the hard r to pale white CIA agents (imagined or otherwise).

        • Linkerbaan@lemmy.world
          link
          fedilink
          arrow-up
          0
          arrow-down
          1
          ·
          3 months ago

          You are right he was egalitarian in that.

          I also have it on good authority that he had a black friend which gave him the N word pass.

  • SatouKazuma@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    3 months ago

    Mfw Rustaceans don’t exist :(

    Also, JavaScript…why are you the way you are? Does anyone have advice for learning it so it makes sense? I can’t even get tutorial projects to run properly…

  • tiredofsametab@kbin.run
    link
    fedilink
    arrow-up
    0
    ·
    3 months ago
    • Rust has safety and efficiency close to C
    • Perl is processing most of your healthcare records
    • Ada is doing space stuff
    • Go is going places
  • reillypascal@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    3 months ago

    The only reason I use C++ is because that’s what all the main audio plugin tools use. It’s warty and annoying, although I’m confused why Java would rank higher

      • John Richard@lemmy.world
        link
        fedilink
        arrow-up
        0
        arrow-down
        1
        ·
        3 months ago

        I shit on JavaScript for years… but Deno (built around Rust) is honestly one of the most pleasant tools I’ve used for development, and you get all the completion in VS Code.

    • sparkle@lemm.ee
      link
      fedilink
      Cymraeg
      arrow-up
      0
      arrow-down
      1
      ·
      3 months ago

      C++ is inferior to Rust and should be used in no new projects unless it is absolutely necessary