Hello there !

I want to code a little incremental game just for me and some friends, and i started prototyping this in Go (because i know how to use it) but i was thinking that maybe run it in a browser and then use typescript would be better

I have no experience in making games and in javascript, i mostly code for backend and math stuff (my favorite gui is a terminal), and when i need a real gui i use pure html page edited by backend

So i was wondering what would be easier between learning making game in Go, or learning JS/TS for an incremental game (pictures and numbers and text, maybe little animations), and if javascript is still relevant to learn

Thanks !

(Also im a student, so my knowledge of the professional dev world is quite limited, forgive my approximative wording :b)

  • JakenVeina@midwest.social
    link
    fedilink
    arrow-up
    6
    ·
    18 hours ago

    JS is rightly criticized as a language, for lending itself to… less than ideal practices. Which is largely a result of it NOT being designed as a programming language. It was designed as a dead-simple scripting language for getting the most minimal of bells-and-whistles kinda things in the browser. So, it’s worth noting that you might have to un-learn some bad habits someday, as you progress to other languages, or even just higher-level stuff in JS.

    However, it’s still an excellent choice as a starter language, on account of how dead-simple it was designed to be. And how dead-simple it is to start DOING things with it. And how is possibly the most-used language there is, ubiquitous in web development. And how MASSIVE the community around it is, and how many learning resources there are.

    So yeah, go for it. GL;HF.