![🦋 Alex Rickabaugh Profile](https://pbs.twimg.com/profile_images/1106200702404026368/0uWwj94V_x96.png)
🦋 Alex Rickabaugh
@synalx
Followers
4K
Following
560
Statuses
857
Programmer, Sailor, Photographer, Engtrovert
San Francisco, CA
Joined September 2008
@rainerhahnekamp @DanielGlejzner Another way of putting it: what we call "complexity" is often the context or mental model you need to grasp in order to become proficient with a system. You can either ask your users to pay this tax, or focus on designing systems that don't require so much context to use well.
0
0
3
@Enea_Jahollari Isn't that just: function transient<T>(token: ProviderToken<T>): T { return Injector.create([token], inject(Injector)).get(token); }
4
1
49
@Jean__Meche Something's off about this picture. Is it AI generated? I've never seen a train that looks like that before...
2
0
18
@Armandotrue I would agree that using `new` for an injectable class is a code smell. That is, a class that is ordinarily instantiated by DI. For non-injectable classes, go for it.
2
0
11
@tomastrajan I think both are valid strategies, and conceptually different: Debounce event => application doesn't change state & UI doesn't update until the user input settles. Debounce load => application state changes & UI updates immediately, but avoid many cancelled backend calls.
0
0
11
@Jean__Meche H̵̠͓̥̱̱̤̮̫̘͕̟̳̄̂̽̈́̈́͆̋̀͑̾̾͘̚̚͠ḙ̷͕̣̗̗̗̌̽ ̵̧̲̮͚͚̫͔͖̠͓̬͚͒̀͑̈́̓́̌͛̚̕͜͠͠h̶͎̲̮͈̫̼͚̥̯̻̉̍̓̈́ͅu̸̢͕̗͇̜̠͍̟̠̫̟͆̈́̉̓ͅn̶̛̗͕̝̖͓̯͕̬̭̻̜̻̘͔͕̭͗̉̈́͌̽͗ͅg̴̲̜͇̖͍̰̘̠͎̲͙͆̓̍̒̏͜e̶̱̻̥͖̹̼͎̳̜̳̻̓͗̾̒͆̆̽̔̓̐̌̓̈̆̀͝r̸̥̟͕̞̗̩̠̺͒͊̍͑̅͋̏͂͊͛̀̊͐͝͠͝ͅͅs̴̫̼̟͙͔̤͓̥̰͙̰̋̀͜ͅ
0
0
2
@AdriftDeveloper @FerryColum @ScriptedAlchemy @Zackary_Chapple @jonathan_gelin @nullvoxpopuli +100. I've been doing some experiments using oxc. It's not possible to support all Angular codebases, but definitely a subset could be made to work.
1
0
3
@nivekcode +1. This is also why I think single source of truth is misleading - `total` needs to be calculated in every code path that updates one of its factors. By definition, it doesn't have a single source of truth.
0
0
6
@nivekcode That is, I can distinguish the individual "nodes" in the graph and how they're related. The "single source of truth" model (I actually think that name is disingenuous) hides the relationship between all the individual pieces of state. It's much harder to read and reason about.
2
1
9
@sroucheray @julienrenaux They are! { and } are also valid characters in HTML text. In Angular templates though, they mean something special, and you need to escape them if you want to render the text "{{ ??? }}". @ is no different, just newly added.
0
0
4
@Armandotrue I'm not saying don't have fun poking around them btw! Just that these examples aren't actual designs but instead playing with specific ideas that will be later expanded on.
0
0
4