Hi Friedrich, Sounds like you like Python!
In addition to what Leah said, there is an open issue about adding divmod (and a few related functions). See: https://github.com/JuliaLang/julia/issues/4437 It's usually a good practice to do a few quick searches in the google group/mailing list in addition to the github repo about suggestions or wish list items because almost always it's come up before and you can find some, oftentimes lengthy, discussions on the very issues you mentioned. Cheers, -Jacob On Thu, Apr 3, 2014 at 6:45 PM, <[email protected]> wrote: > Hi Julia users, > > Maybe you want to support me with my wish list. > Here it is: > > - end statement: remove it (ala python) and use indentation, the code will > be shorter and cleaner > > - case/switch: include it (missing in python) > > - array indexing: introduce with negative number -1,-2,... (instead of or > additionally to end, end-1) > e.g.: a[-3:-1] vs a[end-2:end] > (again shorter and cleaner). Note -1 could index the last element (not > previous last element as in python) > This would be inline with the Julia one-based indexing. (Maybe an idea > is to use braces for zero based indexing, e.g. a{0}=3.14) > > - dictionary: mydict = ["one": 1, "two": 2, "three": 3] > (i.e. colons ala pythons instead of ["one"=> 1, "two"=> 2, "three"=> 3], > shorter and cleaner) > well, it is ambiguous: [1:3] > > - provide a divmod function ala python > > - if 5: should work (ala python and c, and not the redundant "if 5>0") > > - provide an enum function (enumerate ala python) > > > - [1 2 3] .< 2 remove the dot in those scalar operations > > - elseif => elif > > - length => len > > > Ok. That's it for now. > Julia devs, you did a great job! There are many things that I like more than > in python. > > Cheers > Friedrich > > > > >
