You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Composability: use the using DifferentialEquations: ODE... instead of plain using DifferentialEquations. So it is clear that we compose functions from packages.
Add comparison to Python or Matlab code in the beginning.
Expand "Functions can be combined by composition" example. Reason: f(g(3)) is not remarkable, since it looks like it is calling two plain functions. but perhaps if you add a step h(x) = f(g(x)) it could be?
Add the term multiple dispatch around Additional methods . However it was not clear to me why f(x::Int64, y::Int64). should allow a floating point input with f(3.0, 4.0).
In Working with files, can we use something other than f so we don't give an impression that it is a function? Also add the term do-block.
After showing throw, show an example of Stacktrace. And explain how to read it. It looks very different from Python's Tracebacks.
Style conventions: change upper camel case with Pascal case? camelCase and PascalCase.
Syntax
https://enccs.github.io/julia-intro/syntax-intro/
using DifferentialEquations: ODE...instead of plainusing DifferentialEquations. So it is clear that we compose functions from packages.f(g(3))is not remarkable, since it looks like it is calling two plain functions. but perhaps if you add a steph(x) = f(g(x))it could be?f(x::Int64, y::Int64). should allow a floating point input withf(3.0, 4.0).fso we don't give an impression that it is a function? Also add the term do-block.throw, show an example of Stacktrace. And explain how to read it. It looks very different from Python's Tracebacks.camelCaseandPascalCase.