Jon Higger (He / Him)
Explore posts from serversTTCTheo's Typesafe Cult
•Created by tsx on 3/14/2024 in #questions
What "Backend" language can I learn with 4-5years TS experience?
Although I guess functional programming could be considered "Things that block bad code paths"
17 replies
TTCTheo's Typesafe Cult
•Created by tsx on 3/14/2024 in #questions
What "Backend" language can I learn with 4-5years TS experience?
Would it be fair to say that Elixir / Erlang is significantly less focused on predictability and more focused on Fault Tolerance? I guess by my thinking typesystem + borrowchecker + things that block bad code paths => predictability
17 replies
TTCTheo's Typesafe Cult
•Created by tsx on 3/14/2024 in #questions
What "Backend" language can I learn with 4-5years TS experience?
whichever your heart desires tbh, to throw another in the mix that might have some crossover with this community: Elixir. It's got a highly opinionated framework (Pheonix) so you can build shit quickly, is extremely focused on concurrency, it's also very functional and you may deepen your understanding of functional programing through it.
It's not very good at raw performance, but it's amazing at concurrency.
17 replies
TTCTheo's Typesafe Cult
•Created by Jon Higger (He / Him) on 10/4/2023 in #questions
Is anybody else in here super hyped on Elysia
3 replies
TTCTheo's Typesafe Cult
•Created by Řambo on 8/2/2023 in #questions
Improve performance - Avoid Re-renders when changing range input used as a volume slider
you could debounce or throttle it, or use a state manager less "Pass values in everywhere to achieve reactivity" such as zustand or something like that.
9 replies
TTCTheo's Typesafe Cult
•Created by Jon Higger (He / Him) on 6/14/2023 in #questions
Buying a new Mac, How important is the Chip or having >16GB ram
But when I do I'll provide an update
29 replies
TTCTheo's Typesafe Cult
•Created by Jon Higger (He / Him) on 6/14/2023 in #questions
Buying a new Mac, How important is the Chip or having >16GB ram
I'll have to wait a few weeks till I try:
Code + Streaming
or
Music + Streaming
or
Video Editing
29 replies
TTCTheo's Typesafe Cult
•Created by Jon Higger (He / Him) on 6/14/2023 in #questions
Buying a new Mac, How important is the Chip or having >16GB ram
The difference between it and my last is already night and day
29 replies
TTCTheo's Typesafe Cult
•Created by Jon Higger (He / Him) on 6/14/2023 in #questions
Buying a new Mac, How important is the Chip or having >16GB ram
I wound up going with the 24gb RAM m2 with 2tb SSD HD
29 replies
TTCTheo's Typesafe Cult
•Created by Jon Higger (He / Him) on 6/14/2023 in #questions
Buying a new Mac, How important is the Chip or having >16GB ram
Honestly same I might wind up splurging a bit
29 replies
TTCTheo's Typesafe Cult
•Created by Jon Higger (He / Him) on 6/14/2023 in #questions
Buying a new Mac, How important is the Chip or having >16GB ram
For context, my work computer is currently an 8GB M2, and it already feels extremely snappy and has suited me extremely well, but I can't run massive compiled apps on it, and I can't make music or stream on it.
29 replies
TTCTheo's Typesafe Cult
•Created by Perfect on 4/27/2023 in #questions
More Elegant Way For Type
You won’t be able to destructure the code field with this setup because now it may not be there in the args. But if you make it one object like “courseGeneral” then you can say “if the courseGenerals code is 1 or 2 then pull off the code field” and then typescript will be happy. This is actually an example of typescript doing something you want it to. You don’t want to accidentally call on the code field when it’s not there
51 replies
TTCTheo's Typesafe Cult
•Created by Perfect on 4/27/2023 in #questions
More Elegant Way For Type
I like the code style of version 2 more, but I think the type inference is a little better with the interfaces don't quote me on that though haha
51 replies
TTCTheo's Typesafe Cult
•Created by Perfect on 4/27/2023 in #questions
More Elegant Way For Type
51 replies
TTCTheo's Typesafe Cult
•Created by Perfect on 4/27/2023 in #questions
More Elegant Way For Type
you could also do
51 replies
TTCTheo's Typesafe Cult
•Created by Perfect on 4/27/2023 in #questions
More Elegant Way For Type
Something like this could work
51 replies
TTCTheo's Typesafe Cult
•Created by Roren on 10/21/2022 in #questions
TypeScript adoption at work
you are effectively learning jest by learning vitest
66 replies
TTCTheo's Typesafe Cult
•Created by Roren on 10/21/2022 in #questions
TypeScript adoption at work
do vitest then
66 replies
TTCTheo's Typesafe Cult
•Created by Roren on 10/21/2022 in #questions
TypeScript adoption at work
Soemthing jest style, I use vitest. It's easier to set up on something small. If you already did CRA or something like that I'd just use jest since it's there
66 replies
TTCTheo's Typesafe Cult
•Created by Roren on 10/21/2022 in #questions
TypeScript adoption at work
I do also like to write unit tests when I have code that I think to myself "there's a really not-obvious edge case here"
66 replies