You are viewing a single comment's thread from:

RE: Sunset & Windmills: A 5-Minute Drone Magic Session

in Drone8 months ago

Oh how great that would be!!! A Hive-commandline version!
Would be pretty easy to do using Python or PHP for sure!!!!
!INDEED
!LOLZ
!PIZZA

Sort:  

That would be pretty !BADASS !INDEED I'd say! That's awesome! So the higher-level languages for that sort of thing? 😁 🙏 💚 ✨ 🤙

!INDEED
!PIZZA

Good question :-)
Depends on what your target audience is…
Since you say Command Line, it is not your average windows user who knows Google FB and Word. So they would not have an issue with using the command like “python3 thehivecommand parameter 1, 2, 3”
This also makes it very portable.
If you’d want to go for speed, I’d go for C++ for this one. Then you have an executable, but need a different one for each platform…
!INDEED
!HOPE
!BADASS (not yet :-D )
!HUG

Ah, OK, I understand! People really should become comfortable with the command line! I keep hearing about C++. Ah, yes, I'm familiar with the need to complile binaries for each platform, unless of course it's in Java. 😁🙏💚✨🤙

!BADASS (Hahaha!!!)
!HOPE
!INDEED
!WEIRD

!LOL @ !BADASS :-D
C++ is basically the object oriented version of C (and some more). But due to the low-levelness of both these, it’s not just only compiling a new binary for each platform, depending on what your code does, it can potentially also include quite some codechanges as well!
That’s an advantage of Java, you write 1 code, compile 1 binary (or actually an intermediate in this case), and you run it in the Java Virtual Machine, which is adjusted for every single platform.
!LUV
!HUG
!BEER

Oh, OK, I see! Oh wow, that's whole other level of which I was not aware! I was actually learning Java for a short time, and my impressions of it was that it seemed fairly consistent and logical. The Qortal core is written in Java. 😁 🙏 💚 ✨ 🤙

!HOPE
!INDEED
!WEIRD

Java is indeed quite consistent and logical, and definitely also a good language to start learning.
I would say any language that is strict is VERY good for learning, as it helps you code correctly.
The later/looser languages are easier to learn, because you don’t need to take care of typecasting and all, but by doing that it allows for many more mistakes, which will not necessarily crash your app, but will have an impact on speed and possibly security.
!HOPE
!INDEED
!WEIRD

That's really great to know! Yes, I understand what you mean about More-strict languages being good ones with which to begin learning. They lay in good coding habits! Perhaps I should start learning Java again then! What language(a) and developmental framework do you use for the bots? I want to make myself more useful, so that I can contribute more to the heavy lifting! 😁🙏💚✨🤙

!HOPE
!INDEED
!WEIRD

!INDEED and good coding habits go a long way!
The bots are written in Python, with use of the Beem & Hiveengine libraries (along with some more regular ones). Contributing is always nice of course! So get out that Python Editor! :-D
!DOOK
!ALIVE
!BBH

 8 months ago Reveal Comment
 8 months ago Reveal Comment
 8 months ago Reveal Comment