Earlier quoted context omitted.
That's an argument for starting at 1, not at 0. At age 0, you have no elements in your array of years. So the first year is also element 1. If you want code to reflect the way you've done counting and arithmetic your whole life, you'd want it to start at 1.
That would be defining it as a time span and using the time since start as index. Which to me is one step away from using the timepoint as the index iteself (zero as start), verus (1 year from zero). How would you index the time before the first birthday?
Why data scientists should start learning Swift
61–67 of 67 posts
Re: Why data scientists should start learning Swift
#62Python seems a lot more "fun" than Swift IMO
How do you mean? I'm a big fan of Python, so I'm just curious what you mean here. Swift has a lot of great language features that Python lacks, in my opinion. (My first favorite: native option types. Second favorite: internal and external function parameter names. There are more, but these are my top two.)
Re: Why data scientists should start learning Swift
#63Earlier quoted context omitted.
> But contrary to this Fortran code, in order to understand my code, you first have to learn this library Do you ? I've used Eigen and boost a lot of times and didn't ever need to "learn how the sausage is made", just looking at examples is enough to get stuff to work.
Whether you look up examples or a reference documentation does not change the fact that ontop of a given language, you learn new concepts of a library. In contrast, domain specific languages have exclusive support for certain data types built right into the heart. There is a need for that.
Re: Why data scientists should start learning Swift
#64Why would you use Swift as your new data science language when Julia was made for that purpose and Swift was not? Julia's data structures, functions, syntax and libraries were all designed with scientific computing in mind. Swift was designed for general purpose app development.
Personally, I’m not aware of the ability to write mobile apps in Julia.
If I’m wrong, please post links, as that would certainly open up the conversation.
Re: Why data scientists should start learning Swift
#65Correct title: Why TensorFlow developers should start learning Swift Why on earth should data scientists ditch the IPython/Jupyter/SciPy/etc. ecosystem?
Obviously he may be wrong, but it’s certainly reasonable prediction.
Re: Why data scientists should start learning Swift
#66I hope swift gets serious about serving the needs of data scientists tool — it would not take that much work to improve swift playgrounds to the point to enable a far better dx than can be had with Jupyter notebooks or matlab ...
So far, no Swift. :(
Re: Why data scientists should start learning Swift
#67I hope swift gets serious about serving the needs of data scientists tool — it would not take that much work to improve swift playgrounds to the point to enable a far better dx than can be had with Jupyter notebooks or matlab ...
Agreed. I monitor this page [1]. So far, no Swift. :( [1] https://github.com/jupyter/jupyter/wiki/Jupyter-kernels