I'm back!


LowRes Oranges are good 2020-03-15 20:33

Hey im back. Holy moly Timo you added a reset password to nx in like 3 months. That is fantastic! Thank you. Also i was wondering what programing language nx was programmed in? I assume it was C. But you know what they say about assuming :) i have been learning python. And i realized that language doesn't have a goto statement. Why is this? The goto statement is the best control structure ever! ;) I have also started building that basic interpreter, but it's much more ambiguous that i thought.0

Timo 2020-03-15 20:46

Hi again! The core of LowRes NX is made in C. The core includes the interpreter and the virtual machine (graphics and sound system). Also the additional stuff for the Mac and Windows versions are made in C and use the SDL2 library (https://www.libsdl.org).

The iOS app has several screens with native user interfaces. Most of them are written in Swift, but there are some left-overs from the original LowRes Coder, which was completely written in Objective-C.

GOTO... It can be very handy and simplify things, but in bigger projects it makes code hard to understand. Large programs with lots of GOTOs are called "spaghetti code", because you don't see, where your spaghettis end ;)

LowRes Oranges are good 2020-03-15 23:46

Ok thanks for explaining the goto. I always wondered why people mocked it alot. I have always wanted to learn c. Do you think that learning c would be better than python?

Timo 2020-03-16 07:22

I think it really depends on what you want to make before you decide which language you want to learn.
C can be interesting but also very complicated and frustrating. There are many alternatives which are easier to learn and more modern.

Log in to reply.