Generated code issues - first round
koczkatamas opened this issue · comments
Tamás Koczka commented
- Go: non-primitive fields should be pointer types
- Java: one public class per file
- Java: fix fast compilation's loading issue
- Java:
import java.util.ArrayList
&import java.util.Arrays
- Java / Generic: use converted type:
Onearray arr
->ArrayList<Integer>
- Java:
arr[i]
->arr.get(i)
- Perl: arrays should be prefixed with
@
and not$
- Swift: set field type
- Swift: find out how to handle optional values
- Swift: non-mutated fields should be
let
and notvar
(or disable warning?) - Swift:
i++
->i += 1
- Swift: remove semicolons (
;
)? - TS/JS: non-mutated fields should be
const
and notlet
(low prio) - C++: non-primitive fields should be pointer types
- C++:
auto arr = std::make_shared<std::vector<int>>(std::vector<int>({ 1, 2 }));
- C++: item access:
(*arr)[i]
- Fix double semicolon (
;
) issues - Perl, Python, Ruby: convert comments to
#
-type ones