News for hackers. Stuff that matters.
Re:The Julia Programming Language for Number Crunching by ced on Monday October 10, 2016 @04:16PM (#12679515)
I'm intrigued, could you give an example of the Matlab way?
Re:The Julia Programming Language for Number Crunching by syntaxing on Tuesday October 11, 2016 @09:17AM (#12684067)
Most of MATLAB toolboxes and functions send most of their data between function this way. For instance, the GUIDE toolbox puts everything between handle functions and structure variables. If you wanted the button to look a certain way, all the information can be stored in one variable. For example (this is just an dummy example, I can't recall the exact syntax right now for GUIDE), the button variable will be: button1.color = 'blue', button1.size= [150,200], button1.position = [200,325], etc... Therefore when you only need to input and return one variable (Button1) for each element. It's a really convenient way to keep track of your variables.
Re:The Julia Programming Language for Number Crunching by ced on Wednesday October 12, 2016 @09:15AM (#12692475)
Interesting. Maybe dictionaries would fill that role? Julia has macros, so you can usually implement other languages' syntactic convenience.