DEV Community

Discussion on: You're Not Building Netflix: Stop Coding Like You Are

Collapse
 
elad_cohen_12bf496d06c0b8 profile image
elad cohen

You are so right, and you have one major mistake, not caused by you.
Typescript is not A language. Its a transpiler and syntax checker.
Its not Java or C#....

Collapse
 
adamthedeveloper profile image
Adam - The Developer

The TypeScript compiler is a transpiler. Typescript itself is a programming language with its own specification, grammar and type system. A language doesn't stop being a language because it transpiles -- otherwise C or Kotlin wouldn't count either.

Collapse
 
elad_cohen_12bf496d06c0b8 profile image
elad cohen

I will not argue, just note C lang is almost every you touch..

In matter of design patterns this article mentioned, i agree.
I will personally will add a different title to this Article: Whats good for Netflix, usually isnt good for you

Collapse
 
odalet profile image
odalet

Oh? And what makes typescript not a language when C, python and Java are?

Collapse
 
elad_cohen_12bf496d06c0b8 profile image
elad cohen

I will help you find some modesty. to do so i will ask you how do you handle memory in typescript ? or how do you treat Fibers, networking, and better ask yourself: v8 (nodejs engine) is written in c, Why Netflix is writtern in Java, and not typescript? why your iphone is written i objective c, and android in java, Do you now the JVM (eg Java Virtual Machine) in order to understand kotlin and java, I asume you are a frontend dev, or even holding a fullstack title, so please enjoy your form creating jurney. Pepole like you make cybersecurity companies very rich.

Thread Thread
 
adamthedeveloper profile image
Adam - The Developer

" how do we handle memory in typescript? " - that's irrelevant. Manual memory management isn't required to be a programming language. Python doesn't have manual memory management either. is it not a language?

" V8 is written in C " - so?

  • the Python interpreter (CPython) is written in C.
  • the Ruby interpreter is written in C. does that make Python and Ruby "not languages"?

" Netflix written in Java and not TypeScript? " - what are you rambling on about? Netflix uses TypeScript extensively for their frontend and Nodejs services. But again, irrelevant to whether TypeScript is a language.

" people like us make cybersecurity companies rich " - dude, you don't pull out an ad hominem attack when you're confidently wrong about something, it has nothing to do with what you're arguing.

your definition of "programming language" seems to be 'systems language with manual memory management.' By that definition, you've just excluded Python, Js, Ruby, PHP, C#, Java (has GC), Go (has GC), and most languages used in production today. That's not a reasonable definition.

Thread Thread
 
elad_cohen_12bf496d06c0b8 profile image
elad cohen
Thread Thread
 
elad_cohen_12bf496d06c0b8 profile image
elad cohen

and as you said typescript is superset of javascript. you want to call it language ? enjoy

Thread Thread
 
adamthedeveloper profile image
Adam - The Developer

C++ is a superset of C (mostly). Is C++ not a language?

Thread Thread
 
elad_cohen_12bf496d06c0b8 profile image
elad cohen

a c/c++ developer with 5 years exp. earn 200K-300K usd year.
Java Developer earns more
Rust and low level asm earn much much more.

How much typescript developer earns?

To sum : yes you can build full stack end even api gate with nodejs and you can use typescript as a lang to do so.

And as your article says if you are not netfilx... then do what ever you want..

Thread Thread
 
adamthedeveloper profile image
Adam - The Developer

I guess you've completely abandoned the argument now? it doesn't look like you're arguing about what we originally were anymore.

Have a great day lol

Thread Thread
 
khuongduybui profile image
Duy K. Bui

they said: "TypeScript is not a language."
they mean: "All you TypeScript programmers are fake programmers."
they feel: "I'm above all of you script kiddies; I am the sage."
what the rest of the community see: "they're making fun of themselves."

Thread Thread
 
elad_cohen_12bf496d06c0b8 profile image
elad cohen

This is not what i ment. and the discussion is out of it's context.
1) The writer spoke about design pattern, and when use them or not.
I will not argue, since design patterns are really depends on your use case,

the size and the stage of the project

  1. What I ment for large projects and speacily for backend typescript is not "a lang" 3 . why ? It was never build for it.
Thread Thread
 
tahoni profile image
Leoni Lubbinge • Edited

Aah, do you know assenbler to understand the abstractions of C? I love C++ (and C is OK) but you really don't need it to write a user interface. "If you only have a hammer, you tend to see every problem as a nail".

Thread Thread
 
elad_cohen_12bf496d06c0b8 profile image
elad cohen

I am glad you mentioned hammer and nails.
Personally i wrote my first code on Comodor 64(guess my age..)
What i want to tell you is simple.
Yes, Typescript helped filling the gap between pure javascript to OO and strick typing.
Now we are ln EcmaScript and once decoration (annotations) and more will be part of language, the advantages of typescript will be gone.

So the fact you know to consume rest apis and build amazing front end interfaces: eg(hammer) 🔨 , so everything is a nail 💅 for you.

An old man advice: i have seen trends come ane go. You want to consider yourself a developer? LEARN. You bever know enough.

Collapse
 
webjose profile image
José Pablo Ramírez Vargas

TypeScript is a language, as much as any other. Some languages generate machine code, some don't, and some are transpiled into other languages. Still, they are all programming languages.

Collapse
 
spotandjake_100_7482f00d9 profile image
SpotandJake 100

Typescript is a absolutely a language it's a transpiled language with its own syntax that is very similar to javascript.