How is Julia Like Python?

@jasheldo

  1. things in Julia can be written many different ways, I’ve learned to write things that are more convenient for me.
    Specific examples (MWEs) are the best way we can have a productive conversation.
    I bet if you had MWEs of a few scripts we can find a lot of different ways to code it.
    As others have explained, many things are optional:
    if you don’t like unicode, you don’t have to use it
    if you don’t like pipeline notation |>, no need to
  2. Give it time:
    I’ve come to appreciate & love some features of Julia syntax I wasn’t comfortable with at first (such as |>)
  3. My background is in Matlab where I had to avoid loops like the plague & learned to vectorize as much of my code as possible. Often this resulted in ugly, awkward code that difficult to read/write/debug.
    See: Julia slower than Matlab & Python? No - #91 by Albert_Zevelev. See the codes in that post & decide for yourself.
    I was able to replace awkward vectorizations in numpy/Matlab w/ simple loops in Julia & got better performance.
    I concluded:
4 Likes