you are viewing a single comment's thread
view the rest of the comments
[–] 3 points 2 years ago (2 children)

Just out of curiosity: which do you think is closer to Python? Kotlin or Swift?

Not knowing wither, my hunch would be to say Kotlin. But I am curious.

  • source
  • parent
  • hideshow 4 child comments
  • [–] 4 points 2 years ago

    Kotlin and Swift have similar syntax and neither are like Python to be honest. If I were to pick one, Kotlin all the way. You can do a fair amount of back-end work with itas well.

  • source
  • parent
  • [–] 1 point 2 years ago* (last edited 2 years ago) (1 child)

    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

  • source
  • parent
  • hideshow 2 child comments
  • [–] 2 points 2 years ago (1 child)

    That's a weird way to compare them...

  • source
  • parent
  • hideshow 2 child comments
  • [–] 2 points 2 years ago (1 child)

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

  • source
  • parent
  • hideshow 2 child comments
  • [–] 1 point 2 years ago (1 child)

    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.

  • source
  • parent
  • hideshow 2 child comments