DEV Community

Cover image for What is your preferred programming language and why?

What is your preferred programming language and why?

David Guzman on May 19, 2022

I love TypeScript due to its nature of making JavaScript more strict and less error prone by adding types to your code.

Collapse
 
johnmunsch profile image
John Munsch

I used to hate JavaScript but I've done a complete 180 turn on that. I love it now not because of the language itself but because of its absolute ubiquity. I can pretty much use it anywhere for anything now (browser, server, and even as a "stand-alone" app using tech like Electron).

Collapse
 
jasoncubic profile image
JasonCubic

I love a language that gives me all the rope I want.

Collapse
 
curiousdev profile image
CuriousDev • Edited

Thank you! JavaScript surely has its good and bad parts, but being used a lot and useful for many scenarios is something, which motivates a lot. You do not have to use it, if you have other options, which you like, but you definitely can learn to benefit of the good parts of it.

Collapse
 
viviurbano profile image
Viviane Urbano

Javascript.
I've started learning programming using C, but was difficult to handle with so many libraries, pointers, etc.
JS is more friendly than C (totally different the purpose, also).
But I hope to came back to C some day, thinking about performance

Collapse
 
taijidude profile image
taijidude • Edited

Depends... Powershell for automation. If it's something more serious and complex i would use java.

I was quite fond of python when learning it. But never used it at work because java was so much faster.

Go has some appealing promises, but hasn't really clicked for me yet.

Collapse
 
samaldis profile image
UKJP

Jvm is so so but Not for much longer, recent cpython announcements are hinting at major speed increases soon

Collapse
 
taijidude profile image
taijidude

Yes, i'm aware and looking forward to it. Will check the next releases and the propability is quite high that i will jump back in.

Collapse
 
guithomas profile image
Guilherme Thomas

I don't have much experience yet but I really like Java. At least the project I'm on its really clear what's going on, so its easier to modify or correct something.
I'm trying to learn some basic Elixir mainly because the creator is Brazilian too.

Collapse
 
ashobiz profile image
Ashok

People are going to be biased towards the language which they use a lot. I am a frontend developer (React), so my vote is for TypeScript. Moreover TS can be used in frontend as well as in backend. So yeah, TS is a best in market now.

Collapse
 
calag4n profile image
calag4n

Reason / ReasonReact
Because I like the syntax, the DX and it compile/build fast.
But I sadly never get the chance to use it in the work scope.

Collapse
 
curiousdev profile image
CuriousDev

At the moment JavaScript, because I need it for my job and it actually is a very useful language for usage with or without a browser as a client. It is very flexible, which can be good and bad.
I know, that your own answer is short and can be understood differently, but let me add to it, that TypeScript actually is not more strict (for my knowledge), because you still can write "bad" JavaScript, which would be valid TypeScript. It just offers you new possibilities in comparison, so you can e.g. use static typing, but you still can use dynamic typing, too.

Collapse
 
liviufromendtest profile image
Liviu Lupei • Edited

Python, because it has a simple syntax and no compiling.
And it's really practical for Machine Learning stuff.
Also, the community is pretty nice.

I think we should also mention what other programming languages we know.
I'll go first:
PHP, C#, JavaScript, React, Shell, AppleScript

Collapse
 
pandademic profile image
Pandademic

go , because literally everything but environment setup is great about it.

Collapse
 
nombrekeff profile image
Keff

It depends on what you're building.
But in general I really like Dart, it's a pleasure to work with!

Collapse
 
schultek profile image
Kilian Schulte

I just love it's simple yet powerful syntax. I think they did a great job designing the language and listening to the community.

Collapse
 
simeg profile image
Simon Egersand 🎈

Depends on what I'm building. Rust, for example, I'd not use for FE development. Although it's possible with WASM. Then TypeScript. To write a CLI, then Rust. Backend service? Node or Python. If BE service needs to be performant, something else.

A language is just a tool. Learn the differences between them, and what makes them useful for what situation!

Collapse
 
felixdusengimana profile image
Felix DUSENGIMANA

I like python because it is simple and easy to write and read. I can make different cool stuffs with it.

Collapse
 
nichromat profile image
Nichromat

I like JavaScript for Front End, but I prefer typescript because I'm less error problem with it.

For back ends I like Ruby because of how easy it is, and Golang for performance.

Clojure is also an interesting language. Functional programming is a must try.

Collapse
 
offendingcommit profile image
Jonathan Irvin

JS, but boy do I love a well-written TS app.

Collapse
 
hoxon profile image
Leonardo Mangano

Rust is by far da best.
Speed, unions, lack of inheritance, low level with high level features, package manager, zero cost abstractions, strict type checking, memory handling, no runtime

Collapse
 
sakko profile image
SaKKo

i prefer ruby, it's easy to write, hard to forget, easy to read even if i forget because the code is usually short.

Collapse
 
guithomas profile image
Guilherme Thomas

I used to work at Stone and they had kind of a podcast with Valim, first time I heard about him and the guy was so charismatic. Hope to meet him some day. Great picture!

Collapse
 
kithminiii profile image
Kithmini

TypeScript for sure.🤩
Because it makes code management easier.

Collapse
 
zelal profile image
Zelal Hossain

Javascript

Collapse
 
andrewbaisden profile image
Andrew Baisden

It's TypeScript for me even though I am using JavaScript more in projects right now. Thats just the way it is at work.

Collapse
 
vulcanwm profile image
Medea

Python, because it's the language I know best.

Collapse
 
sharpcdf profile image
sharpcdf

Go for most things, the amount of libraries is insane and it's super versatile

Collapse
 
nirjhor_saha profile image
Nirjhor Saha

Python

Collapse
 
uzair004 profile image
Muhammad Uzair

JavaScript, because its Swiss army knife

Collapse
 
ahmetcanozturk profile image
Ahmetcan Öztürk

C#
powerful, flexible, high performance, high scalable, well-supported, faster development time, big community, and open source.

Collapse
 
samaldis profile image
UKJP

Still looking..
Currently learned:

  • php
  • typescript
  • dart/flutter
  • rust
  • java
  • python
  • c(++)
  • vb.net
  • vb6
  • c#
  • JavaScript
  • NASM
  • Dlang

Any ideas why I can't find one I love?

Collapse
 
nikfp profile image
Nik F P • Edited

You might enjoy something more functional. Look into F#, since you've used the .NET ecosystem before you can plug and play with C# libraries write in a functional paradigm.

You could also use Go in a functional paradigm, but Go has a more idiomatic "this is the way you write Go" style and surrounding community, so this might not work for you.

Collapse
 
pengeszikra profile image
Peter Vivo

hybrid JS/TS with proposal pipeline operator.

Collapse
 
saptakbhoumik profile image
SaptakBhoumik

Python for simple task and C++ for complex tasks where speed matters

Collapse
 
dhanush9952 profile image
Dhanush

TypeScript

Because I'm using Angular for development. Well, it’s powerful, modern, has a nice ecosystem, and it’s just cool.

Collapse
 
kaamkiya profile image
Kaamkiya

I like C++ and Python. I used to like JS, but now less so, because there's no strict typing and it must be used in the web (Node is the exception). I like C++ because strict typing, OOP, and it gives you a lot of control. Lastly, Python because it's easy, strict typing (optionally), lots of functionality, plenty of modules, etc.