LoginLogin
Nintendo shutting down 3DS + Wii U online services, see our post

Preferred programming language?

Root / Programming Questions / [.]

ProKukuCreated:
I was wondering what game development programming language everyone on here prefers to use. I only have experience with SB, so I'm going to have to say that. I swear, if everyone says c++ without thinking about the question...jk

This is a weird question without any really valid answers. People use different programming languages for different purposes. Sure, I like Lua, but it's impractical as a web development language. Perhaps you should specify your question a bit further. Maybe "preferred game development programming language?", as that seems to better fit what you're going for.

(I've written this like 3 times but I keep closing the tab lol) It really depends on what you're using it for, since most of the time you don't have a choice. You HAVE to use JS for websites, and if a game uses Lua for modding, then that's the language you're going to use. Anyway, I think my favorite languages to write code in are probably SB and Lua SB is nice since it has lots of useful built in features, like sprites and MML, and input/output is generally a lot simpler and easier than other languages. (Though adding features that SB has to other languages wouldn't be practical since SB only has to work one ONE type of system). You can start writing a game and have it mostly finished in a few hours, since you don't have to spend so much time on things like graphics. Lua is nice because it's simple, but the features it has are really useful. I had some nice examples but they're gone now and I don't feel like typing any more lol.

I prefer JavaScript and SB. Like 12Me21 said, SmileBASIC development is really fast, and if I get an idea, I can have a working prototype within minutes. JavaScript is my favorite because of the fact it works on literally any device that has a web browser. Also the graphics functions for a canvas in JavaScript are really powerful and easy to use. Preferred by the programmer is not always the best language. The easiest language is usually a programmer's favorite language, while the bigger languages like C++ and Java can be used for serious development which is sometimes more important than a preferred programming language.

Huh, i never thought about different languages being used for different things. But all-in-all, I can agree with 12me and Simeon for SB easily. I don't think anyone else is going to comment on this thread so I'll probably close it soon, (first of my threads that I've actually closed myself)

SmileBASIC is my preferred language. lol

I honestly prefer to use either SmileBASIC or C++, I don't really like languages in between those difficulty levels just because I feel limited because they most of the time don't have stuff which I find essential in C++ such as pointers. I as well like the power that C++ gives me, but I also love how simple and easy SmileBASIC is, plus I get to use it in the environment of a handheld gaming console.

i only know basic.

TLDR I prefer Java or C# over Smilebasic. I only use Smilebasic as a hobby because I can program on 3DS and when I travel.
Spoiler Well, I prefer Java or C# over smilebasic. Things that I don't like about smilebasic are: - The lack of struct or classes. - Doesn't support namespace or tree structure for files (like a real project). - Cannot modularize code (Unless you use lowerdash or N#) and doesn't allow proper code reuse. - Doesn't has a default code structure (Kinda like Javascript). I only use Smilebasic because I can make games on 3DS and anywhere if I want (Mostly, when I travel). However, I've a lot of troubles on some ambitious games( A top-down action RPG and a MMBN clone) because I had to make the foundations to handle all the structure of the code(Basically, make a framework that acts as an upper layer over lowerdash to handle the game life cycle, events, entities, etc) and graphic allocation. Also, the IDE lacks a lot of features that are commonly used: - Code comparison. (user "actorbug" made a program for this on miiverse) - Debugger. (user "actorbug" made a program for this on miiverse) - Javadoc(See documentation of a function made by other user). - Error highlight. - Variable/Function usage. I know that the last 3 could use a lot of ram due to indexation but, regardless of that, those feature help a lot on development.
Currently, I haven't got too much time to work on my projects but I want to improve SmileIde so I could have a better tool to develop my projects.