JuliaTeachingCTU / Scientific-Programming-in-Julia

Repository for B0M36SPJ
https://juliateachingctu.github.io/Scientific-Programming-in-Julia/dev/
MIT License
76 stars 12 forks source link

Notes for lecture 3 #63

Closed pevnak closed 11 months ago

pevnak commented 2 years ago

counted_println = call_counter(println); counted_println("hello world"


But somehow the above does not trigger that
https://discourse.julialang.org/t/accessing-data-in-a-closure/54930/4
* Should we mention the issue of **Discoveribility** of Interfaces? A recently recommended way (adopted from ?Haskell?) is to isolate interface to a package defining them, example is ArrayInterfaces
* Regarding making comparison to OOP, there is now this package https://discourse.julialang.org/t/ann-objectoriented-jl-renamed-from-tyoop-jl-complete-oop-support/83911
*