# My wishlist for the next version of Julia

**URL:** <https://discourse.julialang.org/t/my-wishlist-for-the-next-version-of-julia/69987>\
**Category:** General Usage\
**Tags:** question, matlab\
**Created:** [October 18, 2021, 4:28pm UTC](https://discourse.julialang.org/t/my-wishlist-for-the-next-version-of-julia/69987 "2021-10-18T16:28:46Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![GunnarFarneback](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gunnarfarneback/32/1827_2.png) [@GunnarFarneback](https://discourse.julialang.org/u/GunnarFarneback)\
**Post date:** [October 18, 2021, 6:21pm UTC](https://discourse.julialang.org/t/my-wishlist-for-the-next-version-of-julia/69987/5 "2021-10-18T18:21:28Z")

</div>

Some additional comments which haven’t been covered already. For what it’s worth I have in the past used Matlab extensively, although I switched away many years ago.

> [@leon](#):
>
> 1. I should be able to initialize an array as `A=[]` , and then append to it as simple as `A = [A; b];` Right now, Julia will complain that I can not append a 0 sized array with a m x n sized array.

You can concatenate an empty matrix if the other dimensions match, e.g. `[zeros(0, 5); zeros(4, 5)]`. But when it comes to the general pattern of repeatedly concatenating to a matrix, that is a pattern which is frequently used in Matlab in lack of better options. Chances are that you will find functions like `push!`, `append!`, and `reduce` to provide satisfactory alternatives.

> [@leon](#):
>
> 1. Function should allow us to define the outcome of the function like: `function [A, B] = f1(x, y, z)` , instead of requiring us to use `return` at the end of the function to return the results.

That is something of an oddball syntax in Matlab, which is different from any other programming language I’ve used and one I’ve never understood the attraction of. Naturally tastes vary but I’m confident that this is never going to be considered based on [PSA: Julia is not at that stage of development anymore](https://discourse.julialang.org/t/psa-julia-is-not-at-that-stage-of-development-anymore/44872).

---

_[View the full topic](https://discourse.julialang.org/t/my-wishlist-for-the-next-version-of-julia/69987)._
