If I have an array foo: byte[100], I need to do &foo[0] to pass it to a function like strcmp(), strcpy(), snprintf(), printf(), ...
This means that Jou code contains a LOT of &foo[0] compared to C. I don't like it. It would be better if the array automatically converted into a pointer to its first argument, just like in C.
If I have an array
foo: byte[100]
, I need to do&foo[0]
to pass it to a function likestrcmp()
,strcpy()
,snprintf()
,printf()
, ...This means that Jou code contains a LOT of
&foo[0]
compared to C. I don't like it. It would be better if the array automatically converted into a pointer to its first argument, just like in C.