Differences from m - BenoitKnecht/julia GitHub Wiki

Definitely change:

  • no ans
  • no semicolons
  • not "file-based", no path stuff. sane execution/namespace model.
  • no bug-compatibility
  • no "script call" syntax
  • no distinction between functions and function handles
  • one object system, not three (four?)
  • return values in functional style instead of by assignment (otherwise there's no tail position!!)
  • no implicit growing
  • keyword arguments
  • scalars and 1d arrays, things don't have to be at least 2-d
  • for loop semantics defined by a simple transformation to a while loop
  • fortran-style complex arrays (i.e. can be complex even if all imag==0)
  • express types that reflect both container and element type
  • sizes are integers
  • all array indexing is with int arrays
  • no linear indexing (at least initially)
    • possible to achieve by accessing the data directly, a.data[i]
Debatable:
  • brackets for indexing: a[i]
  • no multiple-valued expressions, e.g. a.b or a{x}. have an argument list splice operator like python instead
  • cleverly and subtly different multiple return value behavior
  • pass-by-reference
  • optional static type specification by the user
⚠️ **GitHub.com Fallback** ⚠️