theogiraudet / IsticBot

2 stars 1 forks source link

Why that choice for the coding language #2

Open nazimboudeffa opened 3 years ago

nazimboudeffa commented 3 years ago

Hi,

Thanks for our discussion in the ISTIC Discord, as I said I have a bot running that is coded in Javascript and deployed on Heroku, it was really easy to code

My first question is why have you choosen to code the ISTIC bot in JAVA, because as I have seen on your GitHub account there are some practical work courses in Javascript and that it's a better language for coding a Discord Bot

theogiraudet commented 3 years ago

Hi, The reason for this choice is simple, this bot is developped for the ISTIC Discord server and Java is the main taught language at ISTIC. Eventually, I would like to make this bot an open and participatory project on the server. Using Java is therefore logical.

nazimboudeffa commented 3 years ago

Can we make the short list (discussed on Discord) of the studyed languages in L1 L2 L3 on this thread ?

Before stating please

As you can see there is a list of supported languages here that may interest more contributors https://discord.com/developers/docs/topics/community-resources

theogiraudet commented 3 years ago

L1: Python(2), Java (2), Scala, Arduino (I think) L2: Java, Scala (2), MySQL, Arduino, JS/HTML/CSS (option) L3: Java (3), C (*2), Why3 (Ocaml), NIOS II (assembly language) (non-exhaustive list)

nazimboudeffa commented 3 years ago

Indeed Java is so the logical choice and practicing/learning another language should be a waste of time

My last question on this thread/issue is that don't you think you have enugh time to practice Java at the faculty so it would be nice to explore another language like JS or Python, as JS is an option in the courses curriculum but maybe more for WebDev with HTML/CSS

Excuse me to advertise Javascript but imho most of the known/success projects on GitHub are in JS or Python (Python for Discord is beeing not maintained unfortunately) or I don't know maybe it's only me that is seeing a lot of JS here

theogiraudet commented 3 years ago

If you mean me, unfortunately I don't have time for that :/ If you are talking about potential student contributors, I prefer to offer a way to apply their course because the three first years of ISTIC are more focused on theory than on practice. I think so this Discord bot is a good way for that.

Last but not least, a project like this needs some kind of project manager and if there is no one else, then for the moment it's me. So I chose the language I know best for this and it's also the language that is statistically the most interesting for a future student project manager who would take over from me.

About popularity, yeah JS is the first. But Java is still widely used (third position in Github)! Source: https://madnight.github.io/githut/#/pull_requests/2021/2