Closed Moelf closed 10 months ago
https://github.com/JuliaHEP/JuliaHEP-2023/blob/292dd63319e8100c0012984e51ce7650606f4d20/julia-intro/docs/julia-intro-broadcasting.ipynb#L153-L158
This doesn't seem like idiomatic Julia to me, maybe just broadcast iseven() or isodd(). Since you already demonstrated docstring before
iseven()
isodd()
Hm, true, I didn't really think about it - the perils of still sometimes translating code into Julia from a different internal model. I don't object to iseven() at all
https://github.com/JuliaHEP/JuliaHEP-2023/blob/292dd63319e8100c0012984e51ce7650606f4d20/julia-intro/docs/julia-intro-broadcasting.ipynb#L153-L158
This doesn't seem like idiomatic Julia to me, maybe just broadcast
iseven()
orisodd()
. Since you already demonstrated docstring before