strongly typed language implementation
I know this is a long shot, but it would be great if we had an option in a strongly typed language instead of just javascript. I have looked into the documentation and tested out some code. While the structure is great, it is just asking for a type safe language. The setup of the .bxb files are really similar to variable declarations. I tried mistyping one variable name and it compiled well. It simply showed an empty result. In the long run this may make things difficult for larger codes.
There are also options for type safe languages to be compiled into .bxb formats. I was thinking of a couple of languages that could be used:
- Typescript: since it compiles natively to javascript. A simple npm tool could be able to generate and manage the .bxb files for resources and models. It also has a large community to develop apps.
- Java: its natively type safe. Most developers might be android developers and most of them might be using java. Based on the error messages, it seems to be compiling into java anyways.
- C#: Its natively type safe too. The .net cli tools can also be used to run create .bxb files via command line.
Please sign in to leave a comment.
Comments
2 comments