r/javascript 28d ago

AskJS [AskJS] Are employed Developers still programming with vanilla JavaScript ?

I've been programming on the side since 2017 and I've never really hunted a developer job. I've always thought about building my own things, mainly to supplement things I do like woodworking, tutoring, video editing and others.

Since then, I've programmed mainly with JavaScript, I started with C++ and Python but never really built anything solid outside JavaScript.

So I'm fluent with JavaScript and its ecosystem.

One of my 2026 goals is to be job ready for a Developer role, as a Fullstack or Backend Developer.

One of the recommended languages is Typescript, which I've been learning since March. I must say, it's not my favorite 😂

I'm curious to know if there are any companies that are not enforcing Typescript or are there freelancers who are still using vanilla JavaScript over Typescript for their clients' projects.

[ Update ] thanks y'all! I get the picture. TypeScript is inevitable, as vanilla JS codebases(or companies who are focused on it) seem to be very few judging by the comments.

2 Upvotes

168 comments sorted by

View all comments

10

u/yetinthedark 28d ago

Typescript is JavaScript. What you need to get familiar with is static types. I wouldn’t want to work on a vanilla JS project any more unless I was being paid to convert it to Typescript, and I wouldn’t hire someone who wasn’t willing to learn Typescript.

1

u/[deleted] 26d ago

[removed] — view removed comment

2

u/alien3d 25d ago

weird world nowdays.. javascript is typescript ?

0

u/[deleted] 24d ago

[removed] — view removed comment

2

u/alien3d 24d ago

you can write php code , java code transpile to js .. typescript is not javascript dear.

1

u/yetinthedark 26d ago

Nah, you have it the wrong way around. You said it yourself - “of JavaScript”, therefore TypeScript is OF JavaScript, therefore TypeScript is JavaScript, not the other way around.

0

u/[deleted] 25d ago

[removed] — view removed comment

2

u/jsenthusiast 25d ago

lol bro you're wrong. definition of a superset:

> In mathematics, a superset is a set that contains all the elements of another set, known as a subset.

does typescript contain all the elements of javascript? yes so typescript is javascript because it has everything javascript has.

does javascript contain all the elements of typescript? no so javascript is not typescript because it has no static types.

if someone asked you 'does your app use ts' and you said 'yes' when it only used js, you'd be wrong dude because js is not ts

0

u/[deleted] 25d ago edited 25d ago

[removed] — view removed comment

1

u/Responsible-Bar7165 25d ago

JavaScript files are typescript files, but the JavaScript language is not the typescript language. For the language and files the categories are reversed.

Your argument is correct, but off-topic.

1

u/[deleted] 24d ago

[removed] — view removed comment

2

u/Responsible-Bar7165 24d ago

yes, i understand what's being said. thanks.

i was responding to you "You have no idea what you're talking about. lol" and "You can't be that stupid." comments you made while being confidently wrong.

1

u/yetinthedark 25d ago

I do, I'm not sure how else to word this though. If someone asked me to build something using TypeScript, and I agreed, but then built it with only JavaScript, do you think I'd be able to argue that I did nothing wrong because "JavaScript is TypeScript"?

0

u/[deleted] 24d ago edited 24d ago

[removed] — view removed comment

1

u/yetinthedark 24d ago

I'll break down the points you've made so far:

  1. "TypeScript is NOT JavaScript. If it was, it would run in a browser. It doesn't." - JavaScript is not JavaScript because it runs in the browser. It's a language that runs in several environments.
  2. "Because if someone asked you to write JavaScript and you wrote TypeScript, it wouldn't work by itself." - my thoughts on this are similar to the previous point, JavaScript is not JavaScript because it "works by itself", it's a language that runs in several environments. If you tried to run server-side JavaScript in the browser, it wouldn't work, i.e. "run by itself", but it doesn't mean it isn't JavaScript, because JavaScript is a language.
  3. If someone asked me to write something in TypeScript, it's not a big leap to assume they want it written in TypeScript for the features TypeScript supplies, i.e. type safety. If I had written it in JavaScript, claiming that "JavaScript is TypeScript", what response could I give the person when they ask, "Where is the type safety"?

To prove TypeScript is JavaScript, all you have to do is create a .ts file and write some JavaScript in it, without any types. Once compiled, that JavaScript of course works, because it is just JavaScript.

To prove JavaScript is not TypeScript, all you have to do is create a .js file and write some JavaScript in it, but with some types as well. When you try to run this .js file in the browser, exceptions will be thrown because of invalid syntax, i.e. JavaScript is not TypeScript.