Press J to jump to the feed. Press question mark to learn the rest of the keyboard shortcuts
Log In
Found the internet!
TypeScript
Posts
Communities

Posts about TypeScript

Subreddit Icon
r/typescript
106k members
TypeScript is a language for application-scale JavaScript development. TypeScript is a typed superset of JavaScript that compiles to plain JavaScript.
Visit
Subreddit Icon
r/dotnet
132k members
.NET Community, if you are using C#, VB.NET, F#, or anything running with .NET... you are at the right place!
Visit
Subreddit Icon
r/reactjs
348k members
A community for discussing anything related to the React UI framework and its ecosystem. Join the Reactiflux Discord ( https://www.reactiflux.com ) for additional React discussion and help.
Visit
Subreddit Icon
r/node
233k members
Welcome to r/node
Visit
Subreddit Icon
r/Deno
9.5k members
Deno is a successor to Node.js, with the same creator, Ryan Dahl. This is a subreddit for discussing Deno and sharing projects built around it.
Visit
r/tsdotnetlibrary
33 members
Provided as a means of discussion and comments about the TypeScript.NET Library: http://electricessence.github.io/TypeScript.NET/ https://github.com/electricessence/TypeScript.NET https://www.npmjs.com/package/typescript-dotnet
Visit
Subreddit Icon
r/webdev
1.6m members
A community dedicated to all things web development: both front-end and back-end. For more design-related questions, try /r/web_design.
Visit
r/typescript_gamedev
430 members
Welcome to r/typescript_gamedev
Visit
r/typescriptvideos
202 members
This subreddit is meant for keeping track of TypeScript presentations made around the world.
Visit
Subreddit Icon
r/Angular2
63.4k members
Angular is Google's open source framework for crafting high-quality front-end web applications. r/Angular2 exists to help spread news, discuss current developments and help solve problems. Welcome!
Visit
Subreddit Icon
r/ProgrammerHumor
3.0m members
For anything funny related to programming and software development.
Visit
Subreddit Icon
r/assemblyscript
168 members
AssemblyScript compiles strictly typed TypeScript (basically JavaScript with types) to WebAssembly using Binaryen. It generates lean and mean WebAssembly modules while being just an npm install away.
Visit
Subreddit Icon
r/rust
238k members
A place for all things related to the Rust programming language—an open-source systems language that emphasizes performance, reliability, and productivity.
Visit
Subreddit Icon
r/learnjavascript
227k members
This subreddit is for anyone who wants to learn JavaScript or help others do so. Questions and posts about frontend development in general are welcome, as are all posts pertaining to JavaScript on the backend.
Visit
Subreddit Icon
r/madeinpython
18.6k members
A subreddit for showcasing the things you made with the Python language! Use us instead of flooding r/Python :) Hey check out r/madeinjs for JavaScript and Typescript!
Visit
Subreddit Icon
r/reactnative
105k members
A community for learning and developing native mobile applications using React Native by Facebook.
Visit
Subreddit Icon
r/functionalprogramming
21.7k members
A subreddit for functional programming related material.
Visit
r/angularjs
55.3k members
A community for the awesome MVC JS framework.
Visit
Subreddit Icon
r/nextjs
36.0k members
Next.js is the React framework for production by Vercel.
Visit
Subreddit Icon
r/sveltejs
24.5k members
Svelte is a radical new approach to building user interfaces. Whereas traditional frameworks like React and Vue do the bulk of their work in the browser, Svelte shifts that work into a compile step that happens when you build your app. Instead of using techniques like virtual DOM diffing, Svelte writes code that surgically updates the DOM when the state of your app changes.
Visit
r/Frontend
215k members
/r/frontend is a subreddit for front end web developers who want to move the web forward or want to learn how. If you're looking to find or share the latest and greatest tips, links, thoughts, and discussions on the world of front web development, this is the place to do it.
Visit
Subreddit Icon
r/ProgrammingLanguages
88.6k members
This subreddit is dedicated to the theory, design and implementation of programming languages.
Visit
Subreddit Icon
r/Nestjs_framework
6.8k members
Nest (or NestJS) is a framework for building efficient, scalable Node.js server-side applications. It uses progressive JavaScript, is built with and fully supports TypeScript (yet still enables developers to code in pure JavaScript) and combines elements of OOP (Object Oriented Programming), FP (Functional Programming), and FRP (Functional Reactive Programming).
Visit
Subreddit Icon
r/graphql
19.6k members
A place for interesting and informative GraphQL content and discussions.
Visit
Subreddit Icon
r/prismaorm
80 members
Prisma: Next-generation ORM for Node.js and TypeScript
Visit
Subreddit Icon
r/neography
27.1k members
Reddit's home of scripts invented for secret notes, fictional languages, semantic experiments, and more. Post creative uses of existing constructed scripts or showcase your own!
Visit
r/nativescript
2.0k members
NativeScript is a free and open source framework for building truly native mobile apps with standards-based JavaScript and CSS. NativeScript enables developers to build truly native iOS and Android apps while sharing the application code across the platforms. Use Angular, Vue.js, TypeScript, or JavaScript.
Visit
Subreddit Icon
r/adventofcode
91.7k members
Advent of Code is an annual Advent calendar of small programming puzzles for a variety of skill sets and skill levels that can be solved in any programming language you like.
Visit
Subreddit Icon
r/emacsng
363 members
A new approach to Emacs - Including TypeScript, Threading, Async I/O, and WebRender. https://github.com/emacs-ng/emacs-ng
Visit
236
279
Subreddit Icon
Posted by5 days ago

After months of hard work, I'm thrilled to present typescript-tools.nvim. You might be wondering why we need another TypeScript plugin. Allow me to explain my reasoning: the existing typescript-language-server tends to perform slowly, especially in large projects. This plugin aims to address this problem by eliminating the proxy between the Language Server Protocol (LSP) and the native Tsserver protocol. Instead, it deeply integrates Tsserver with NeoVim using a dedicated I/O loop, enabling direct communication via the Tsserver protocol. Thanks to that, the plugin functions identically to the TypeScript extension bundled in Visual Studio Code .

Key features:

  • Blazingly fast, thanks to the utilization of the native Tsserver communication protocol, similar to Visual Studio Code

  • Supports a wide range of TypeScript versions 4.0 and above

  • Supports the nvim LSP plugin ecosystem

  • Supports multiple instances of Tsserver

  • Supports both local and global installations of TypeScript

  • Provides out-of-the-box support for styled-components, which is not enabled by default (see Installation and Configuration)

  • Improved code refactor capabilities e.g. extracting to variable or function


https://i.redd.it/xtpnzd4mne7b1.gif

Disclaimer: I use plugin as my daily driver in day job but, it is still fairly new and you can encounter bugs.

279
92 comments
53
69
69
21 comments
74
Subreddit Icon
Posted by1 month ago

As the title says. Worked with many statically typed languages but its the same thing. You try to do something remotely complex means the fight with the type system/generica starts and you start to duck type (in GO's case interface{} and every language these days have some equivalent to duck type) and then typecast or resort to reflect to inspect the data in run time and by that time the whole experience/readability is just too poor with poor type completion.

Then you resort to generics and the fight with the type system also starts when you want to EXPRESS the non trivial/complex business logic with flexible/reusable functions in the code and most of the effort goes to make the gnerics/compiler to be happy and NOT everything can be expressed and you hit the ceiling and have to resort to duck/typing, reflect magic, type casting with extremely poor type completion. Even if you have a sound code making compiler happy with the generic you wrote is not always possible. Static typing SEVERELY limit you here.

I keep going back to Typescript as I call it "Types made fun to express" and you can not only EXPRESS the very complex part of the code in generics/overload/discriminated union/mapped types/pick/omit etc the code becomes EXTREMELY strongly typed at COMPILE LEVEL (pretty ironic for a dynamic language), much more readable, flexible and most importantly you CAN express your sound code/business logic in Typescript in a way that is just is TOO DIFFICULT in any other statically typed languages that I have tried and worked with.

To me, typescript is THE BEST middle ground between rigid static types (because you CANNOT express everything at compile time and for a LOT of non trivial things you have to fight with the compiler to accept your sound code) and loose/goose dynamic types.

74
89 comments
28
Subreddit Icon
Posted by2 days ago

The rule is simple: select all the pairs of squares that share the same musical pitches. Hope you enjoy training your ears! https://keyxcode.github.io/pitch-memory/

It's a small project but it's the first time I feel like I've managed to put everything I know together somewhat smoothly. Even threw some Python in there to automate the generation of a script :)

If you have time, please take a look at the source code and please feel free to give me any feedback you may have: https://github.com/keyxcode/pitch-memory

28
12 comments