News for hackers. Stuff that matters.
Re:Microsoft DeviceScript – TypeScript for Tiny IoT Devices by benniomars on Friday June 09, 2023 @08:17AM (#36256679)
I have a strong feeling that the TypeScript user base is mostly composed of people who are not good at picking up other types of programming languages. IMO that is the biggest reason for TypeScript. My experience is that the people that always propose TypeScript in every JavaScript projects they join, are not very likely to be able to write software in C++, Elixir, Go, JavaScript, etc.. They can only handle object oriented, type safe architecture.
Re:Microsoft DeviceScript – TypeScript for Tiny IoT Devices by delfinom on Friday June 09, 2023 @09:01AM (#36257209)
TypeScript/Javascript are the modern PHP or Java of the world. It's something that people get pushed into it from school and their "first intro to programming", they often succeed through the meme of the language. But there's a subset that will struggle to actually be a "computer scientist" and pivot between languages and technologies in the long term.
Re:Microsoft DeviceScript – TypeScript for Tiny IoT Devices by carlhjerpe on Friday June 09, 2023 @09:23AM (#36257461)
I on the other hand started my "programming life" with C++ (because I was interested in a project written in C++) then I went to C# semi-professionally, if I was doing web it'd be with TS because of the tooling, also types help me organize my brain, and the escape hatch into YOLO land is very low in TS considering it's compiled into JS mostly, so the typesystem allows for "any" and such while still restricting things that aren't prototypes anymore.

Both C# and TS come "from the same author", so that might influence me a bit.