What program language do you use for which cases?
I feel like I always used programming languages wrong until now. For example, my console GUI engine (TUI engine) I did in C.
People keep saying that for stuff like that, you should use Python or Ruby instead, but isn't Python just as much boilerplate?
Regardless, I think it's like this:
>C for hardware programming
>Python/Ruby for shell scripts
>Java for GUI projects or programs that would rely on third party libraries
My next project is a really simple personalized chat AI for the shell. What language would you use for that?
C for embedded hardware programming
C++ when you need high performance
Java when you need to stay cross platform
Python for rapid prototyping and scripting
Swift for Appleshit things
C# for Microsoft things
This if you don't want to bet on modern programming languages (like Rust, Go and Scala).
My languages use cases :
C for embeded
Java for desktop GUI
Python for everything else
(I don't deal with mobile stuff)
I spent hundreds of hours learning other languages like C++/C#/PHP but I never use them.
>>53859139
I use Python for everything. I feel like its descendant of LISP.
>>53859258
>>53860062
>C for embedded hardware programming
eat shit and die
>>53860256
Wat
>>53860062
This but php for web development. Sorry but it's the most supported.
>>53859139
>What program language do you use for which cases?
C++: General purpose computing
Lua: Quick scripts
Matlab: Calculator++
AMD64/ARM: Disassembly and inlining
Everything else is useless trash.
>>53859139
Rust in general, especially for performance and safety.
Lua for scripting(both as plugins and independent scripts).
Node.js for small/simple webservices.
Bash for shell scripts.
PostgreSQL for databases.
>>53860210
functional programming is possible on python
mfw i see javascript engines embedded in game engines
C, C++ for anything that needs performance
Ruby for quick scripts and some class projects that have revolved around things like AI.
>>53859139
I use swift for the emojiĀ“s :^)
>>53863355
wait, you can iterate through strings in swift? I like this. What other languages have this feature?
>>53859258
Pretty much dis.
>>53859139
>Python for shell scripts