• @Solemarc
    link
    1
    edit-2
    10 months ago

    I’ve never used swift myself, but as far as I’m aware swift doesn’t need to have a main function so I’d say it’s closer

    • @themusicman
      link
      210 months ago

      That’s a weird way to compare them…

      • @Solemarc
        link
        210 months ago

        Sure, but how else should I compare a language I’ve never used to python?

        • @themusicman
          link
          110 months ago

          Even in python, writing code at the top level is not recommended for any non-trivial project. I mean, you might as well say “kotlin is closer to python because they both end with N”. Neither method of comparison offers any value to OP.

          • @Solemarc
            link
            110 months ago

            And I said, if op doesn’t want to learn a new language, here are some python mobile frameworks. And was explicitly asked which of kotlin/swift I would recommend for a python dev.