DEV Community

What is your favorite language and why?

SaptakBhoumik on April 05, 2022

Collapse
 
theaccordance profile image
Joe Mainwaring

JavaScript holds a special place in my heart. I first learned the language before jQuery was even a thing (remember jQuery? lol), and it's the language that enabled me to transition from IT to engineering in the 2010s.

These days I write TypeScript, but it's still just JS at the end of the day.

Collapse
 
aarone4 profile image
Aaron Reese

SQL
Data is at the heart of many applications and well crafted performant database code is beautiful to read and work with.
Readable code tends to run faster, which is not always the case with other languages where syntax shortcuts obfuscate the intent.

Collapse
 
ernestvonmoscow profile image
VanPonasenkov

ANSI C. It's just beatiful in so many different ways. 1st, c's syntax is very simple, nothing more, nothing less. 2nd, since it's so simple you debug the code, and not your programming language knowledge. 3rd, the Assembly output is very predictable. It might not seem that important when writing something like a web server, but when writing something like a window manager or an audio codec library it becomes important

Collapse
 
matthewsalerno profile image
matthew-salerno

Not my favorite but it's up there. I used to like C++ until I started to learn more about it and begin to hate the un-ergonomic implementation of a lot of things. I have a soft spot for languages which let me control and easily know what's on the stack/heap. Bit twiddling and especially managing locallity in other languages is a chore in comparison.

Collapse
 
saptakbhoumik profile image
SaptakBhoumik

I have been working on a VM and it's core is written in C:)

Collapse
 
alaindet profile image
Alain D'Ettorre • Edited

If I had to stick with one programming language, it's JavaScript. I know, it has two really big pitfalls (no types and no standard library), but it's always so convenient to write and read and gives you many features (but not too many features).

However, I also enjoy Go: less features, less stressful, fast, great developer expericence overall, I recommend it.

Collapse
 
alexjj profile image
Alex Johnstone

Python 🐍. It’s useful for pretty much any situation - maybe not the most optimised for every situation but good enough. It’s saved me so much time at work and given me fun with hobbies at home.

It’s easy to get started, clean to read and you can take it all the way to building huge apps like YouTube and Instagram!

It’s a huge part of the scientific world: machine learning controlling nuclear fusion, processing the data from the incredible James Webb Space Telescope, creating pictures of black holes and so much more.

Collapse
 
saptakbhoumik profile image
SaptakBhoumik • Edited

Hey same
Btw check out github.com/peregrine-lang/Peregrine . It is a c++ alternative but with a python like syntax and runs as fast as c++

Collapse
 
alexjj profile image
Alex Johnstone

Cool! There’s probably several optimisations out there, and alternatives to cpython.

Collapse
 
pheromona13 profile image
pheroMona13

I love how the entire ecosystem around JavaScript is evolving non-stop for years and you can find a completely new thing that you can do (which you could not event imagine doing before) with the language every couple of months.

Collapse
 
jessicamoss profile image
JessicaMoss

Java script , because it easily gets executed on client environment and save lot of bandwidth and make execution process fast. Dua For Love Marriage in Powerful Quran

Collapse
 
bbrtj profile image
bbrtj

Perl because it's capable, flexible and fun. It acknowledges my skill as a programmer and doesn't hold my hand.
We have great tooling for the community modules: automated test machines that run different OSes / architectures / interpreter versions, independent archive of every module ever released (and deleted), and a community which values documentation and testing.

Collapse
 
matthewsalerno profile image
matthew-salerno

I really like python for how well it handles multi paradigm programming, duck typing, and introspection. That being said it's not perfect, and i have a lot of complaints as well. Imports and virtual envs are a mess, standard multi threading is very limited, performance can be lacking (though not as bad as most think) and I generally prefer compiled langs without GC. A lot of these complaints can be fixed with third party libraries, but I try to avoid gratuitous use of libraries.
You also can't go wrong with C. Well actually you can go wrong, very wrong. It's a massive footgun and I love it. It's also probably the most portable language ever (when used with portability in mind). JVM is cool and all but it seems the first thing anyone does when they make a new instruction set is build a C compiler for it. Not to mention that C has excellent bootstrapping potential for opening the door to other langs.
I have a feeling Rust might steal my heart. But I need to learn more about it before I can call it my favorite.

Collapse
 
skinnypetethegiraffe profile image
Bobby Plunkett

If I had to choose just my personal favorite in terms of enjoyment of using the language, I would most likely say C#.

Though my favorite language changes depending on the task at hand. Since I primarily work on web-related projects, Typescript is my go-to language in most cases. But alternatively, if I'm working on data processing, I would instantly move to Python.

So I guess my favorite language depends on the project it's being used for.

Collapse
 
ben profile image
Ben Halpern

I can't not say Ruby, but I do find Swift in XCode quite enjoyable — very different experience.

I may be benchmarking Swift against Objective C, which I really couldn't ever get comfortable with. Definitely gives Swift a fond place in my heart.

Collapse
 
k_penguin_sato profile image
K-Sato

Go because the gopher is so cute

Collapse
 
barretojs profile image
Bruno Barreto Carvalho

Javascript. 2015 I was kinda lost on what I wanted to do in college, but out of nowhere I discovered node.js and it kinda changed my life. I got really interested about async operations, which was something we didn't learn at uni doing C/C++, and got head first into the rabbit hole.
Working with js to this day, and I hope I continue working with it for some time.

Collapse
 
sherrydays profile image
Sherry Day

Python!

Collapse
 
saptakbhoumik profile image
SaptakBhoumik

Same:)

Collapse
 
saptakbhoumik profile image
SaptakBhoumik • Edited

Btw check out github.com/peregrine-lang/Peregrine . It is a c++ alternative but with a python like syntax and runs as fast as c++

Collapse
 
defman profile image
Sergey Kislyakov

Don't have one yet, but I feel like Elixir is going to be my favorite. BEAM VM, FP and Ruby-like syntax!

Collapse
 
uponthesky profile image
UponTheSky

C++!
Unmanaged language, but with modern features like OOP.
I love C, but for general usage I find C++ is more favorable.

Collapse
 
dinerdas profile image
Diner Das

Has to be Ruby for expressiveness and ease. I don't use it at work, or really much in my personal time based on what I've been up to — but it's still my favorite.

Collapse
 
tinkermakar profile image
Makar

JavaScript, it's flexible, straightforward and elegant

Collapse
 
mjablecnik profile image
Martin Jablečník • Edited

Dart is the best language for me.
In my past I worked with Python, C#, JavaScript and Kotlin but Dart is really the best from these languages.. :)

Collapse
 
auroratide profile image
Timothy Foster

For the time I worked with Kotlin I really enjoyed it. Great syntax, structured concurrency, and a thorough standard library.

Collapse
 
tuwang profile image
TuWang

PHP is the best language in the world

Collapse
 
kevincp17 profile image
kevincp17

Java, because of it's adapability and easy to learn object-oriented concept. Especially, you can make desktop application with it. Even though my dream job being web developer. Still, Java ftw.

Collapse
 
omidpishkar profile image
Omid Pishkar • Edited

i like javaScript because
React js + React Native = lots of money

that's joke.... :)
Javascript is very psychological language and i able to build web app and mobile app and etc with Javascript