Earlier quoted context omitted.
Do you have an example on how to use Haxe for a cross platform API client? Eg. Develop once, use in 12 different programming languages? The first requirement seems to be a go ( https://api.haxe.org/haxe/Http.html ) but i'm not sure of other variables for implementing this Other sources: - https://github.com/tbrosman/haxe-rest-client - https://github.com/tnwinc/rehx
Not sure if it helps, but have a look at Swagger/OpenAPI if you haven't already.
OneLang – A tool to help writing code in multiple languages at the same time
41–50 of 69 posts
Re: OneLang – A tool to help writing code in multiple languages at the same time
#42Re: OneLang – A tool to help writing code in multiple languages at the same time
#43It seems like a really strange choice for the "source" language to be JS - a language without any real static typing capability (even with TS). The most limited & basic kinds of static analysis are technically possible, but why not just start with an entirely static language and translate from that to dynamic languages? Would seem much simpler...
I can't speak for the author, but I can think of several reasons I might choose JS:
1. Almost everyone working on the web knows it, so not knowing the source language won't be a roadblock right away.
2. Precisely because of the issues you mentioned, JS is a lot easier to translate with perfect (or close to perfect) fidelity. If the source were something like Haskell, every translation would be very lossy.
3. JS has no boilerplate, like setting up a class or something. You can just type statements.
4. OneLang itself is written in TS, which means working with JS as the source might be easier than, say, C#.
Re: OneLang – A tool to help writing code in multiple languages at the same time
#44Re: OneLang – A tool to help writing code in multiple languages at the same time
#45Re: OneLang – A tool to help writing code in multiple languages at the same time
#46Re: OneLang – A tool to help writing code in multiple languages at the same time
#47Re: OneLang – A tool to help writing code in multiple languages at the same time
#48Earlier quoted context omitted.
Wow, sounds real mature.
At least I am not lying... ;)
Here is _some_ of the negativity I got: https://www.reddit.com/r/programming/comments/6ori0/kira_is_...
What excites me about your project is the possibility to write core math or business logic once and then expose to multiple environments.
Re: OneLang – A tool to help writing code in multiple languages at the same time
#49Earlier quoted context omitted.
At least I am not lying... ;)
indeed, I like your project. Negativity of the community can be discouraging. I stopped a project of mine because of a combination of the negativity and from the reality of having to hiring and train people to use my language. Here is _some_ of the negativity I got: https://www.reddit.com/r/programming/comments/6ori0/kira_is_... What excites me about your project is the possibility to write core math or business logi…
I would recommend presenting projects first in person to people before putting them on the internet for debate.
Imagine how it must be for the people behind Rust. Yet, people from the team regularly show up, are polite and nice and are open to arguments in spite of all the negativity they surely face. I think it is easy to become bitter, suspicious, and unfriendly when faced with social pressure, but they seem to continuously find the arguments in even not so polite comments and patiently give good insights and own arguments.