WEBVTT

1
00:00:00.000 --> 00:00:04.320
Hey, what's up everybody, Robbie the Wagner here. Just giving you a quick update if you

2
00:00:04.320 --> 00:00:08.540
are a fan of the show, you've probably heard that Chuck and I have a lot going on in our

3
00:00:08.540 --> 00:00:14.760
lives right now. I have newborn twins at home and Chuck is fighting with the Italian

4
00:00:14.760 --> 00:00:19.460
consulate trying to get his visa and various things like that. So we haven't gotten as

5
00:00:19.460 --> 00:00:23.920
many episodes recorded as we would like. That means we're going to have to have a little

6
00:00:23.920 --> 00:00:28.060
bit from our backlog where we replace some of our favorites and are from the Rick House

7
00:00:28.060 --> 00:00:38.100
collection. Hope you enjoy these and we'll catch you guys in the next episode.

8
00:00:38.100 --> 00:00:42.780
What's going on everybody? Welcome to whiskey web and whatnot on a special international whiskey

9
00:00:42.780 --> 00:00:49.060
day with your hosts, Robbie the Wagner and Charles William Carpenter the third.

10
00:00:49.060 --> 00:00:54.660
That's it. I just want to see how long you look like you're going to pass. So I stopped

11
00:00:54.660 --> 00:00:59.780
it then you don't. We have a special guest today Rich Harris. What's going on Rich? I'm

12
00:00:59.780 --> 00:01:07.420
good and so honored to be doing this specific podcast on this specific day. Yeah, we timed

13
00:01:07.420 --> 00:01:11.540
it out perfectly. We've been planning this for months. We were like, Rich is the one

14
00:01:11.540 --> 00:01:18.540
to celebrate international whiskey day with us and so we're glad you could do it. Yeah,

15
00:01:18.540 --> 00:01:23.300
happy to be here. Yeah, for anyone who may not have heard of you, can you give a few

16
00:01:23.300 --> 00:01:29.540
sentences about who you are and what you do? Oh God, I hate this bit. All right. So I'm

17
00:01:29.540 --> 00:01:34.500
a guy who writes software for living. I do that at the cell. The software in question

18
00:01:34.500 --> 00:01:39.340
is felt, which is a UI framework. I've been working on it for about seven years at this

19
00:01:39.340 --> 00:01:47.980
point. Seven, seven and a half long time prior to the cell, I worked in the news business

20
00:01:47.980 --> 00:01:52.540
for a long time, worked at the Guardian, New York Times, using JavaScript to help tell

21
00:01:52.540 --> 00:02:00.420
the news. And now I just writes felt all day. Yeah, cool. It's not a bad gig if you can

22
00:02:00.420 --> 00:02:07.340
get it. What are your feelings on cheese? Love cheese. I mean, does anyone not like cheese?

23
00:02:07.340 --> 00:02:11.020
Is there anyone who doesn't like cheese? There are. There are people. Apart from people

24
00:02:11.020 --> 00:02:17.000
who are like lactose intolerant. Well, people lactose. My wife is lactose intolerant and

25
00:02:17.000 --> 00:02:24.280
she likes it. So does not even of that thing. Right. Yeah. There you go. Yeah. I had a boss

26
00:02:24.280 --> 00:02:29.240
once who like didn't like cheat like mac and cheese, I think. I forget if he didn't like

27
00:02:29.240 --> 00:02:33.600
all cheese, but like he would, if somebody put cheese on his sandwich, he would like call

28
00:02:33.600 --> 00:02:37.560
and complain or whatever. And so I was like, I don't know, just it feels weird to me that

29
00:02:37.560 --> 00:02:41.600
like that's the best part of the sandwich. But okay. Yeah, I don't trust those people.

30
00:02:41.600 --> 00:02:44.840
If you don't like cheese, I don't know. It's like that's the, that would probably be one

31
00:02:44.840 --> 00:02:50.440
of the hardest things about being a vegan, which I am not obviously because I love cheese

32
00:02:50.440 --> 00:02:56.080
because I love cheese. And the not real cheese just isn't cheese. Yeah. Although it's getting

33
00:02:56.080 --> 00:03:01.640
there. A love of cheese is one of humanity's great levels, honestly. Yeah. It's amazing

34
00:03:01.640 --> 00:03:10.320
what we do with like mold, you know. It is, it's crazy. Just like you, you get some,

35
00:03:10.320 --> 00:03:13.680
some bacteria and mold together and you can make amazing things. I've been really into

36
00:03:13.680 --> 00:03:21.120
brewing kombucha lately. Oh, yeah. Which is, like, I have this vat on the, on the shelf

37
00:03:21.120 --> 00:03:26.960
behind me. It's just like this goby, right? Yeah, like this jellyfish looking thing. There's

38
00:03:26.960 --> 00:03:32.440
just swimming around in some cold tea. And like periodically it produces a beautiful

39
00:03:32.440 --> 00:03:39.080
drink. Yeah. So you've had good results. Would recommend. Would definitely recommend.

40
00:03:39.080 --> 00:03:44.040
I'm still like dialing it in. We're going at this a couple of months or so. So haven't

41
00:03:44.040 --> 00:03:49.760
yet figured out all of the tricks of the trade. But it's, it's going well. I recommend it.

42
00:03:49.760 --> 00:03:58.920
Anyone who wants to cultivate a weird bacterial column on the kitchen counter. This is a way

43
00:03:58.920 --> 00:04:04.480
to do it. I do have a weird thing for like fermented foods. I love fermented foods. I don't

44
00:04:04.480 --> 00:04:09.760
know that there's any that I've had that I didn't like. So, you know, I think it stems

45
00:04:09.760 --> 00:04:15.440
from like growing up with lots of sauerkraut. I don't know. Yeah. All right. Well, before you

46
00:04:15.440 --> 00:04:20.160
teach us how to do that, we could, yeah. Before you teach us how to do that, because that's

47
00:04:20.160 --> 00:04:24.040
mostly why I wanted to talk to you or I don't know about this spelled thing or whatever.

48
00:04:24.040 --> 00:04:29.240
But I heard you were into kombucha and I'm like finally someone can show us how to do

49
00:04:29.240 --> 00:04:36.000
it. It'll be great. All right. Today, we're having the log of ol' and all from in addition.

50
00:04:36.000 --> 00:04:42.720
Chard oak, cask, easley. I always say it wrong. Ila, Ilay. I don't know. Do you know? No.

51
00:04:42.720 --> 00:04:49.760
I think it's Ilay, but I lay. Yeah. That sounds right. That sounds right. Yeah. You are

52
00:04:49.760 --> 00:04:56.760
more adjacent to where these things are produced. And so I feel like not currently, but I mean

53
00:04:56.760 --> 00:05:03.200
you're from England. So you should know. That's kind of what's my point. So it's single malt

54
00:05:03.200 --> 00:05:10.920
scotch, 100% maltabarly, aged 11 years, and is 92 proof. I don't know. Let's get to it.

55
00:05:11.480 --> 00:05:29.760
That is smoky. Oh, yeah. Yeah. Just lots of notes of burnt logs. Oh, yeah. That's like,

56
00:05:29.760 --> 00:05:37.400
actually smells a bit like liquid smoke. You know, that stuff you put in for marination, no?

57
00:05:37.400 --> 00:05:44.760
I think liquid smoke. It kind of smells more fake to me, but, but yeah, it's evokes similar

58
00:05:44.760 --> 00:05:51.640
feelings. Okay. How does it work? Do you do you pull up the tasting notes and see what you got?

59
00:05:51.640 --> 00:05:57.440
We make it all up. Yeah, we totally smell and taste. Just roll with it. Yeah, I get a little

60
00:05:57.440 --> 00:06:04.120
orange in there. So I don't know if you've ever, like when you say you make like an, like an old

61
00:06:04.120 --> 00:06:10.840
fashion or a sasurac or whatever, you know, like you'll burn a little bit of the peel to like

62
00:06:10.840 --> 00:06:17.720
draw the oils out before you do the little twisty, squeezy thing. Yeah, that's kind of what I'm

63
00:06:17.720 --> 00:06:25.320
getting right there. A bit of smoke, a bit of like orange oil from the peel kind of, like, I don't

64
00:06:25.320 --> 00:06:32.920
know. Yeah, there's a little bit of that. We've also really worked on our powers of suggestion,

65
00:06:33.240 --> 00:06:38.360
which and so we're going to say some things and then you're going to somehow figure it out. Like,

66
00:06:39.720 --> 00:06:44.360
I don't know, a little bit of red vines, a little bit of red vines in the middle. You know,

67
00:06:44.360 --> 00:06:49.480
those like better than twizzler kind of licorice things. Perhaps Swedish fish.

68
00:06:52.760 --> 00:06:56.360
Yeah, you leave them behind on that one, I'm afraid. Yeah, yeah, we're just seeing where we can

69
00:06:56.360 --> 00:07:04.760
get. Thanks for calling us on bullshit. No, really, it actually just kind of has just it's heavy

70
00:07:04.760 --> 00:07:09.000
smoke in the beginning. It definitely gives me some of that orange. It's got a little burn, not too

71
00:07:09.000 --> 00:07:16.040
bad. It's overall pretty smooth. Yeah, man, that smoke hangs out for a bit. So I'm a little leather,

72
00:07:16.040 --> 00:07:20.840
a little leather in there for me. There's no right answers here by the way, too. So that's why we

73
00:07:20.840 --> 00:07:26.360
don't even get out like tasting notes because it's just whatever words that you can correlate

74
00:07:27.000 --> 00:07:34.840
that we all know what it means. It's definitely got a bit of mist to it that lingers, but not in an

75
00:07:34.840 --> 00:07:42.920
unpleasant way, kind of like in the way that coffee is bitter. Yeah, yeah, I can kind of get that

76
00:07:42.920 --> 00:07:47.160
a little bit the way that like maybe on a espresso or something hangs out a little bit on the

77
00:07:47.240 --> 00:07:52.600
back of your throat. Yeah, I'm not getting any like, but that bitterness does kind of,

78
00:07:53.800 --> 00:07:58.840
I think that's what I was trying to call leather, which I do chew on from time to time, but yeah,

79
00:08:02.040 --> 00:08:07.800
all right, Rich. So since you are one and only avid listener, you're probably very familiar

80
00:08:07.800 --> 00:08:13.080
with this rating system, but since you're on other people might be listening. So it works like

81
00:08:13.080 --> 00:08:21.800
this. It's a really well thought out and in depth rating system, zero to eight tentacles,

82
00:08:22.600 --> 00:08:28.200
zero being absolutely terrible. I don't want this. What was Nick Offerman thinking for being like,

83
00:08:28.200 --> 00:08:31.640
not bad. I guess I'd have it again, but it's not the best thing I've ever had. And obviously,

84
00:08:31.640 --> 00:08:37.560
eight is exactly that amazing. This is all I want to drink. And you won't have to go first. So,

85
00:08:37.560 --> 00:08:42.120
you know, we never forced that upon our guests unless you would truly like to go first.

86
00:08:43.080 --> 00:08:47.960
Not good. Nah, all right. Robbie's up. I always throw him another bus. Oh, man,

87
00:08:47.960 --> 00:08:54.840
the thing. Yeah, I, this one is pretty smoky for me. I'm having a hard time like getting any other

88
00:08:54.840 --> 00:09:00.600
flavor notes other than smoke, which is not my favorite. That being said, I would drink it. Like,

89
00:09:00.600 --> 00:09:04.440
I've had some scotches that I have a couple of sips and I'm like, I'm just not going to drink that.

90
00:09:06.120 --> 00:09:09.400
So this one is not terrible. I'm going to give it middle of the road like a four.

91
00:09:10.200 --> 00:09:12.200
Okay. Yeah.

92
00:09:14.040 --> 00:09:20.120
Also, not a regular scotch drinker, but I tend to prefer things. I believe like McAllen,

93
00:09:20.120 --> 00:09:26.040
that kind of thing. So the not a strong smoke, not a strong peat. I think it leans more towards

94
00:09:26.040 --> 00:09:34.360
peaty like things like McAllen. But for what this is, it means obviously evokes the flavors that

95
00:09:34.360 --> 00:09:41.640
they're going for there. And this is less of a smoke bomb for me than some other logobolins have

96
00:09:41.640 --> 00:09:49.240
have been. So I, I'm probably going to put it at like a five for me. It's like, it's interesting,

97
00:09:49.240 --> 00:09:54.120
it's distinct. I do appreciate that it's got a little more in the burn, a little more in the heat.

98
00:09:54.120 --> 00:10:01.880
I want some of that, that hug, I say. But yeah, I think it's just in general like smoke,

99
00:10:01.880 --> 00:10:06.040
super smokey, isn't for me. Maybe camping. If I was camping, I'd be like into this because I'm

100
00:10:06.040 --> 00:10:11.640
already getting that. That's exactly what I was going to say, actually, like I'm drinking this,

101
00:10:11.640 --> 00:10:18.680
and I feel like I'm sitting by a bonfire in the Scottish Highlands. Drinking it makes me feel

102
00:10:18.680 --> 00:10:25.160
sophisticated, you know? I do like scotch a little more. Like it's what I grew up drinking.

103
00:10:26.440 --> 00:10:30.680
I have developed more of a taste for bourbon. You know, American whiskeys since I've been living

104
00:10:30.680 --> 00:10:36.200
here, but like scotch is still my, my go to, and I do tend to lean towards the smokey whiskeys. So

105
00:10:36.200 --> 00:10:43.240
this is right at my alley. I would, I would give this a six and a half. Yeah, I think that's pretty

106
00:10:43.240 --> 00:10:50.360
solid. Have you been camping in the Scottish Highlands? I have not. Oh, okay. I was going to say,

107
00:10:50.360 --> 00:10:54.440
because that sounds amazing. I have been to the Scottish Highlands, and I have been camping. And

108
00:10:54.520 --> 00:11:02.360
if I combine those, those two experiences, then I can imagine what it's like. Yeah, you can

109
00:11:02.360 --> 00:11:09.400
get cold. Yeah, I guess there's that. Yeah, okay. Well, that's a pretty decent solid rating.

110
00:11:09.400 --> 00:11:18.440
Have you had the, so there's like a campfire whiskey by a distillery out of Utah? And it's like

111
00:11:19.160 --> 00:11:26.200
what am I thinking of? It's, Robbie, we've had there other things. Yeah, there's like a bourreye,

112
00:11:26.200 --> 00:11:31.080
which is a bourbon-ri blend. And then they have another one called like American Campfire whiskey,

113
00:11:31.080 --> 00:11:35.880
and it has a lot of smoke to it too. I would suggest trying that if you're kind of like in the mood

114
00:11:35.880 --> 00:11:41.240
for smokey, but then maybe you want to try some high west. High west? With it high west. That's

115
00:11:41.240 --> 00:11:46.760
it. Yep, that's all out of a park city, Utah, is where their distillery is. It's very interesting,

116
00:11:46.760 --> 00:11:52.360
because like they're founders, a chemical engineer who decided, like, who was, you know,

117
00:11:52.360 --> 00:11:57.400
really into whiskeys, and he was like, I can go out here, and I can test these chemically to put

118
00:11:57.400 --> 00:12:04.600
together particular, like, well-suited flavor profiles, and has done really well for that. I would

119
00:12:04.600 --> 00:12:10.280
say, I have been to high west, but I don't think I've tried that specific whiskey. Oh, well,

120
00:12:10.280 --> 00:12:15.640
cool. Yeah, I would suggest trying that. Like, if you do tend to lean towards smokey,

121
00:12:15.640 --> 00:12:20.600
but then like, if you want to evoke some of the flavors of more of a bourbon-ri, like an American

122
00:12:20.600 --> 00:12:29.000
version of those, like, it's a nice, nice, like, makes it that. Anyway, yeah, I'm a flavor. I enjoy

123
00:12:29.000 --> 00:12:37.400
the spice. Should we get, get into some hot takes? Sure. Let's get into some hot takes. You

124
00:12:37.400 --> 00:12:43.160
know, such a smooth segue. I know, right. He's been working on that for a long time. He's learned

125
00:12:43.160 --> 00:12:48.200
over time how to, like, nudge me through when I start, like, just blah, blah, blah, a bunch.

126
00:12:49.400 --> 00:12:54.040
Happens here and there. Yeah. Somebody's got to keep this train on the tracks here.

127
00:12:55.240 --> 00:13:01.960
Yeah, so the first one we usually ask is a little bit different here. I have several tiers

128
00:13:01.960 --> 00:13:07.560
how I want to ask this, but I'll just ask it as normal first. So if you're using TypeScript,

129
00:13:08.200 --> 00:13:14.920
do you use explicit types or inferred types? In third to the extent possible. I mean,

130
00:13:14.920 --> 00:13:20.920
that's the whole point, right? It's supposed to be doing grunt work for me. The only time I'll

131
00:13:22.200 --> 00:13:28.360
really do explicit types is if I have like a very long function and I want to explicitly set

132
00:13:28.360 --> 00:13:33.720
the return value, but everything else is inferred. Otherwise, why am I using TypeScript?

133
00:13:35.160 --> 00:13:38.280
Yeah, totally agree. That's a lead-in response right there.

134
00:13:40.200 --> 00:13:45.160
Yeah, and I wanted to follow up because I think like, and correct me if I'm totally remembering

135
00:13:45.160 --> 00:13:50.440
this wrong, but I feel like it's felt removed. All of TypeScript at some point, like the internals

136
00:13:50.440 --> 00:13:55.960
are not TypeScript anymore. They are TypeScript, but they're not written in TypeScript.

137
00:13:56.520 --> 00:14:02.360
So we love TypeScript. I love TypeScript. I'm a huge TypeScript fan. I could not live without

138
00:14:02.360 --> 00:14:08.360
TypeScript, which is actually kind of sad when you say it out loud. But what we did is we removed

139
00:14:08.360 --> 00:14:12.920
the .ts files from the code base. Instead, we have JavaScript files and all of our TypeScripts is

140
00:14:12.920 --> 00:14:17.000
expressed using JS doc annotations, but it's still TypeScript. TypeScript, we still get all of

141
00:14:17.000 --> 00:14:21.880
the same level of Type Safety. We just don't have to compile the code before it runs.

142
00:14:22.840 --> 00:14:29.240
And that is how I build all of my libraries. I put the types in JS doc. It's a little bit more work.

143
00:14:30.760 --> 00:14:38.440
You have to deal with a slightly less concise syntax. But you get exactly the same expressive power.

144
00:14:39.080 --> 00:14:44.520
And the stuff that you ship hasn't been through layers of transpolation.

145
00:14:45.720 --> 00:14:50.120
And it makes developing libraries so much easier. I wouldn't do it for applications.

146
00:14:50.600 --> 00:14:53.960
I use TypeScript when I'm building apps because I want to have a build step there.

147
00:14:54.760 --> 00:14:58.680
But for libraries, you don't need it. Get rid of them. You'll be so much happy.

148
00:15:00.120 --> 00:15:06.680
That's a big problem right now. So we just converted a shepherd to TypeScript and trying to get

149
00:15:06.680 --> 00:15:11.880
it to ship the build and ship those declaration files in the right place to where when you import

150
00:15:11.880 --> 00:15:16.680
stuff, it finds them and everything is harder than it should be. So if you're just shipping the

151
00:15:16.680 --> 00:15:20.760
JavaScript and using it, then that's, I can see the appeal of that for sure.

152
00:15:21.560 --> 00:15:25.960
We are still running TypeScript to generate declaration files when we publish the package.

153
00:15:27.560 --> 00:15:33.480
That's very important because if someone's consuming the package, TypeScript isn't going to go into

154
00:15:33.480 --> 00:15:38.760
the contents of your node modules and figure out the types of your stuff. You have to have a

155
00:15:38.760 --> 00:15:43.240
DTS file. Otherwise, TypeScript is going to be like, yeah, whatever. Don't care. I'm not doing that.

156
00:15:43.720 --> 00:15:47.320
Okay, so it doesn't fix that problem. It doesn't fix that problem.

157
00:15:47.320 --> 00:15:52.920
And that's kind of annoying. I wish it did. I wish that TypeScript was just, I don't know,

158
00:15:52.920 --> 00:15:58.040
fast enough or whatever enough to just do that. But that's not the world that we live in.

159
00:15:58.040 --> 00:16:03.080
And so you still need to ship DTS files when you ship a package if you want the people using

160
00:16:03.080 --> 00:16:07.960
your library to have a good type safety experience. But it doesn't mean that you need to actually

161
00:16:07.960 --> 00:16:15.080
transpire the code. And if you do it right, then you can ship a package in such a way that when

162
00:16:15.080 --> 00:16:20.840
someone command clicks on something that they've imported from your library, it will take them

163
00:16:20.840 --> 00:16:26.360
directly to the source code inside their node modules where they can add a console.log statement

164
00:16:26.360 --> 00:16:32.360
or a debugger statement and actually understand what's happening inside that package.

165
00:16:32.920 --> 00:16:40.600
Or if you want to clone a repository of a library and link that to your application,

166
00:16:41.160 --> 00:16:47.560
then you can make edits inside your application in your node modules. And then when you're ready

167
00:16:47.560 --> 00:16:55.160
to open a pull request, the changes are already there. And this is a way of working that I think

168
00:16:56.120 --> 00:17:03.720
everyone was used to 10 or 15 years ago before the rise of the industrialization of all of this

169
00:17:03.720 --> 00:17:10.760
stuff. And now no one does it. And no one even understands what we're missing by jumping through

170
00:17:10.760 --> 00:17:17.640
all of these absurd hoops in order to publish stuff these days. So yeah, I got to write all of this.

171
00:17:17.640 --> 00:17:23.400
I've got to put it in an article that I can reference somewhere because all the time people

172
00:17:23.480 --> 00:17:28.360
ask me this question about this TypeScript versus JS. thing. And there are so many misconceptions

173
00:17:28.360 --> 00:17:33.480
about it, but I really feel like the entire ecosystem is just missing a trick here.

174
00:17:34.200 --> 00:17:39.960
Yeah, that sounds like a pretty good trick too to get all of the benefits of TypeScript

175
00:17:39.960 --> 00:17:46.840
without additional compilation. I'm sure some people show up to your library and just

176
00:17:46.840 --> 00:17:53.160
see JS files and make the assumption that they're not using it. It's easy to have that quick glance

177
00:17:53.400 --> 00:17:59.560
opinion to it. That's a very interesting perspective to take. And I think definitely one worth

178
00:17:59.560 --> 00:18:06.840
writing about for reference for other people because it just seems kind of logical in the same way

179
00:18:06.840 --> 00:18:12.920
like the question around inferred versus explicit, right? Like, you know, what? It depends on the context.

180
00:18:13.400 --> 00:18:21.400
Yeah, I know that the inferred versus explicit is a little bit more controversial.

181
00:18:23.240 --> 00:18:26.200
A lot of people have the exact opposite opinion to us.

182
00:18:28.120 --> 00:18:36.120
Yeah, but I mean, I think it's it's controversial in a bubble where these hot takes come

183
00:18:36.120 --> 00:18:41.320
from though. So let's bear that in mind too. It's controversial there. There's a lot of people

184
00:18:41.320 --> 00:18:47.000
that probably don't care to debate it, you know, and can take like constructive feedback and

185
00:18:47.000 --> 00:18:56.360
and make a smart decision there just to be productive really. Yeah. Anyway, all right. Now it's

186
00:18:56.360 --> 00:19:10.680
the important question, I think, which is tailwind or vanilla CSS. Oh, I, this is, I don't know.

187
00:19:10.680 --> 00:19:16.520
I really, I, I like tailwind. I like tailwind a lot more than I thought. I would like tailwind.

188
00:19:16.520 --> 00:19:20.840
For a long time, I was one of these people who looked at it, market with tailwind in it. And I was

189
00:19:20.840 --> 00:19:26.760
like, what the fuck are you doing? People, this is absolute madness. And then like, I used it.

190
00:19:27.560 --> 00:19:33.960
And I discovered that it makes a lot of sense. And, you know, I'd always been very sold by the

191
00:19:34.040 --> 00:19:41.320
high level concept of tailwind. There's this essay that Adam wrote years ago, like explaining

192
00:19:41.960 --> 00:19:47.720
why tailwind exists. And I read that essay and I was like, this makes so much sense. So why do I

193
00:19:47.720 --> 00:19:53.400
hate the look of it so much? But once you start actually using it, like, you don't really mind

194
00:19:53.400 --> 00:19:57.720
the way that it looks. And I really feel like a lot of the people who rail against tailwind,

195
00:19:57.720 --> 00:20:03.480
they just haven't used it yet. They're just so stuck in a particular mindset that they,

196
00:20:03.480 --> 00:20:10.280
they won't even get that far. If you try it, you will like it. It does have some, some limitations

197
00:20:10.280 --> 00:20:16.360
though. Like there are certain things that are pretty difficult to do with tailwind. Like, you

198
00:20:16.360 --> 00:20:22.440
know, a lot of the harder problems that you encounter when writing CSS are to do with a relationship

199
00:20:22.440 --> 00:20:27.080
between different elements. It's not just the styles that go on a specific element. It's like

200
00:20:27.160 --> 00:20:33.320
this element, when it's next to this element or like a parent of this stuff like that, is a

201
00:20:33.320 --> 00:20:39.480
little bit more finicky to express with tailwind. And so there are certain limits, I think,

202
00:20:39.480 --> 00:20:45.160
to where tailwinds are applicable. And if I'm going to have to break out of tailwind for that last

203
00:20:45.160 --> 00:20:51.880
5%, then that kind of lessons, it's usefulness a little bit to me. And then there's just like the

204
00:20:51.880 --> 00:20:57.960
extra moving parts. Like now I have this extra tool in my stack that I need to worry about,

205
00:20:57.960 --> 00:21:01.880
that I need to update when there's a new version and things like that. And like I always want to

206
00:21:01.880 --> 00:21:07.000
minimize the number of moving parts that I'm having to deal with. And so my answer is, this is

207
00:21:07.000 --> 00:21:13.000
why I was like vacillating at the beginning of this answer, is there's a lot to really love about

208
00:21:13.000 --> 00:21:20.360
tailwind. But then like the bar for whether or not something should be included in a project

209
00:21:21.400 --> 00:21:27.720
is so high. And I'm just not decided as to whether tailwind clears that bar for me.

210
00:21:28.520 --> 00:21:35.000
Yeah, yeah. I mean, I think that it makes you incredibly productive, right? And let's say you're

211
00:21:35.000 --> 00:21:42.840
working towards like the MVP of a project, right? You're not way down the path where scale exists.

212
00:21:42.840 --> 00:21:46.680
Users exist, all of those things. But if you're just trying to build a thing and be incredibly

213
00:21:46.680 --> 00:21:53.320
productive, you're probably introducing a lot of ugly code to begin with. So what are some

214
00:21:53.320 --> 00:21:59.560
additional strings on your JSX like or whatever it like, you know, for me, I remember early days

215
00:21:59.560 --> 00:22:07.320
react and seeing JSX basically having HTML in my JavaScript. And I had the same reaction. I was like,

216
00:22:07.320 --> 00:22:11.960
what is this shit? We've been fighting for years to have a separation of concerns. And now I've got

217
00:22:11.960 --> 00:22:19.560
this crap back in my files. Then later on, you had like, you know, the styles CSS, which was like

218
00:22:19.560 --> 00:22:25.240
basically, you know, pojo's and CSS right in that same file. And the whole thing is a mishmash.

219
00:22:25.240 --> 00:22:30.440
So getting just strings to a degree kind of felt like, well, there's a slight regression here

220
00:22:30.440 --> 00:22:38.040
that I'm open to. But like you're saying is like, when the nature of your UI becomes more complex,

221
00:22:38.040 --> 00:22:42.280
then it's a bigger question of like, you know, are you just building a dashboard with crowd

222
00:22:42.280 --> 00:22:49.800
operations? Or are you doing something that maybe like this abstraction becomes counterproductive on?

223
00:22:51.080 --> 00:22:58.120
Yeah. So you made a really interesting point there about like combining your markup inside

224
00:22:58.120 --> 00:23:03.960
your JavaScript. And then like why wouldn't you have your styles there as well? Like the trend over

225
00:23:03.960 --> 00:23:11.880
the last 10 years also has been towards greater and greater encapsulation. Initially, it was like,

226
00:23:11.880 --> 00:23:17.960
you want to have your markup and your behaviors together. And then we started thinking about like CSS

227
00:23:17.960 --> 00:23:22.200
and JS solution so that you can have your CSS as part of your component as well. And then now with

228
00:23:22.200 --> 00:23:25.960
things that react server components, a lot of people are thinking about how you co-locate your data

229
00:23:25.960 --> 00:23:31.960
requirements with your components. And there's like a very clear trajectory here that the industry is

230
00:23:31.960 --> 00:23:37.160
is kind of going on. And I think one of the reasons that the Svelte community has been a little

231
00:23:37.160 --> 00:23:43.560
bit slow to a dot tailwind relative to other communities is that we already have that. When you

232
00:23:43.560 --> 00:23:49.080
write a Svelte component, you're writing what is essentially a superset of HTML. And inside that

233
00:23:49.080 --> 00:23:55.960
superset of HTML, you can just write CSS in a style tag and it gets scope to that component.

234
00:23:55.960 --> 00:24:03.000
So it solves that problem of like how do I have styles that are associated with my component.

235
00:24:04.120 --> 00:24:10.120
But you still get to write vanilla CSS. And so you have your nice clean markup, you have your co-location.

236
00:24:12.200 --> 00:24:17.000
And because of that, I just think a lot of people just didn't feel the need for it. But the co-location

237
00:24:17.000 --> 00:24:22.600
that you get with tailwind is like as co-located as you can be. It's right there on the element.

238
00:24:23.400 --> 00:24:27.080
And you don't have to name anything. You don't have to come up with like the name of the element

239
00:24:27.080 --> 00:24:32.600
so that you can have a class name that targets it. And that is just so nice. And as you say,

240
00:24:32.600 --> 00:24:35.400
you're moving quickly, like you don't have time for naming stuff.

241
00:24:35.400 --> 00:24:40.200
Yeah, you're just like whatever. This is the hardest part. It sounds kind of like what it is in MDN

242
00:24:40.200 --> 00:24:45.080
or whatever else. Great. That's what's called wrapper container card container wrapper.

243
00:24:45.400 --> 00:24:52.840
Yeah, yeah. Or Ben, you go down like the, yeah, please my ideology and it makes it.

244
00:24:54.200 --> 00:24:59.080
I mean, it it fixed a lot of problems for me back in the day when I was at that geo. So

245
00:25:00.200 --> 00:25:04.200
I loved it then. Obviously, we have a different set of tools and different. I mean,

246
00:25:04.200 --> 00:25:12.840
Angular 1 fixed a lot of problems for me too. Yeah. I mean, maybe you're coming from backbone

247
00:25:12.840 --> 00:25:18.360
or something somewhere like, oh my gosh, this is better. I don't know. Yeah. There was definitely

248
00:25:18.360 --> 00:25:23.560
things there. I will have a follow up question, but I know we want to get through some of these hot

249
00:25:23.560 --> 00:25:29.800
takes. So when you're at the New York Times, were you doing interactive development then predominantly?

250
00:25:29.800 --> 00:25:34.120
Okay. I want to come up with my background is in journalism rather than development.

251
00:25:35.320 --> 00:25:41.720
I drifted into JavaScript as a way of doing more interesting journalism essentially.

252
00:25:42.280 --> 00:25:48.840
Did you, did you have anything to do with Snowfall? No, Snowfall was before my time at the times.

253
00:25:48.840 --> 00:25:53.880
I was still at the Guardian when that came out. Okay. Actually, no, Christ Snowfall, that was,

254
00:25:54.680 --> 00:26:01.160
I think I might have been still in the UK. That might have been before I was a,

255
00:26:02.680 --> 00:26:09.080
a newsroom developer. Yeah, I want to say that was probably around 2012, 2013 maybe, something like

256
00:26:09.640 --> 00:26:15.800
that. I want to, I want to Google out now, Snowfall. And then Robbie will have another question for you.

257
00:26:15.800 --> 00:26:22.920
Tunnel Creek. Going down the hot takes, bro. Bro, yeah, 2012. Man, this is long time ago.

258
00:26:23.880 --> 00:26:31.480
But that was not that long. But that was like a seminal moment in digital journalism. That was

259
00:26:31.480 --> 00:26:37.160
the point at which a lot of people realized that, oh, if you, if you start to use web technology,

260
00:26:37.720 --> 00:26:45.000
like to its full potential, then you can do things in a, in a richer and more immersive way

261
00:26:45.000 --> 00:26:50.760
than you can just do with text and images. And I, I don't know that we've fully

262
00:26:50.760 --> 00:26:56.280
lived up to the promise of those early days. Like a lot of stuff has sort of been kind of

263
00:26:56.280 --> 00:27:02.360
templateized and, and, and so on. There aren't that many places doing that kind of work.

264
00:27:03.000 --> 00:27:09.960
Yeah. But like there's, there's still this, this idea that just the nature of the web,

265
00:27:09.960 --> 00:27:14.520
like is this fundamentally new medium that we haven't yet figured out how to completely capitalize on.

266
00:27:15.320 --> 00:27:22.200
Well, if we bring flashback, it'll get easier. Right. Yeah. I mean, Jay is doing a lot of

267
00:27:22.200 --> 00:27:26.360
the cool stuff. He just needs to teach us the rest of us how to do it. Well, you need to

268
00:27:26.680 --> 00:27:32.760
figure out. So after Snowfall came out, basically, I was part of a team that was tasked with

269
00:27:32.760 --> 00:27:41.960
figuring out how to create a CMS to allow them to do that with like a choice number of Nat Geo magazine

270
00:27:41.960 --> 00:27:47.560
articles. They wanted to translate magazine articles into that format and create this whole CMS.

271
00:27:47.560 --> 00:27:53.000
They would eventually be, they could regress back through the entire catalog. Needless to say,

272
00:27:53.000 --> 00:27:59.240
we failed. But Nat Geo did some amazing stuff with like 3D reconstructions of fossils and stuff

273
00:27:59.240 --> 00:28:05.560
like that. Yeah. Like that stuff always went straight on my jealousy list. I didn't make any of

274
00:28:05.560 --> 00:28:10.680
those things. So, you know, I did like advertising tech and some other stuff in any way.

275
00:28:12.120 --> 00:28:19.560
All right. Get rebase or get merge. I mean, that's an easy one. Get merge because I don't really

276
00:28:19.560 --> 00:28:25.080
know what get rebase does. I know I should know. I've been writing code long enough that I should

277
00:28:25.080 --> 00:28:33.240
know more get than I do. But I just know the basics. All right. As a, do you think Guillermo's up for

278
00:28:33.240 --> 00:28:42.760
hiring a manager for you? Or just a senior peer, which would be a fallacy. But anyway, it still

279
00:28:42.760 --> 00:28:49.880
would just be fun for me to like eat a bag of funnions and throw. Yeah. And throw like some old

280
00:28:49.880 --> 00:28:59.240
like get manual at you and just be like RTFM. I'm not taking my mergers declined. I need that. I get

281
00:28:59.240 --> 00:29:06.520
in trouble with with my teammates every time I forget to enable squashing. Just like reams and

282
00:29:07.000 --> 00:29:17.240
reams of fix typo. Oops. WIP. Yeah. That's great. All right. See. So everyone is flawed.

283
00:29:18.440 --> 00:29:24.360
Yeah. Yeah. Yeah. Just hit him up. Let him know. Hey, he owes me a bottle of whiskey and two that

284
00:29:25.480 --> 00:29:31.400
if you want, if you want an experienced manager to take you down the old school path. I'm here.

285
00:29:31.400 --> 00:29:40.920
I'm here for you, bro. Anyway. Yeah. All tongue and cheek here, you know. Was GraphQL a mistake?

286
00:29:43.320 --> 00:29:54.840
Oh, God. I think GraphQL was an interesting detail. I think it was a very clever idea

287
00:29:55.160 --> 00:30:07.560
that picked up more steam than maybe it should have. And I think the back when it came out, like I don't

288
00:30:07.560 --> 00:30:12.200
know that people could have predicted some of the ways in which front and technology is developed.

289
00:30:13.400 --> 00:30:19.960
Looking back in hindsight, like it's clear that that wasn't the right direction for most things.

290
00:30:19.960 --> 00:30:26.200
But at the time, it was a super interesting idea. And like a lot of money was made building

291
00:30:26.200 --> 00:30:32.680
things around GraphQL. People had a great time. So I don't think we should go back in history and

292
00:30:32.680 --> 00:30:41.560
change anything about GraphQL, but I'd yeah, I don't know that GraphQL is the future of anything.

293
00:30:42.200 --> 00:30:48.920
Yeah. I do want to spin that a second here. So similarly, do you think people that

294
00:30:49.560 --> 00:30:55.000
all just kind of blindly chose React over the last decade and didn't try things like Svelter view

295
00:30:56.200 --> 00:31:01.480
also had a similar problem of like just picking the hot thing and like rolling with it without

296
00:31:01.480 --> 00:31:10.200
understanding it? So that is definitely a problem in our industry. In general, it's kind of a bug

297
00:31:10.200 --> 00:31:15.080
bear of nine, not because people aren't like evaluating, like I can give a shit if people

298
00:31:15.080 --> 00:31:23.800
using Svelter or not. But the fact that the average developer is pretty much completely oblivious

299
00:31:23.800 --> 00:31:31.160
to how their tools work is not good. It is an indictment. Like our industry needs to get a whole

300
00:31:31.160 --> 00:31:39.160
lot better treating these things with like the care and attention that they deserve. Like I don't

301
00:31:39.160 --> 00:31:46.680
think that other industries have the same sort of like a day's approach to like the things that

302
00:31:46.680 --> 00:31:54.520
we used to do our jobs professionally. I mean, I don't really want to like get into sort of naming

303
00:31:54.520 --> 00:31:59.080
and shaming, but I'll give you one example for free since you this is supposed to be the spicy

304
00:31:59.080 --> 00:32:06.200
segment. Yes, build. A lot of people piled into yes, build, but yes, build doesn't generate

305
00:32:06.200 --> 00:32:11.400
particularly good output. Like compared to some of the alternatives to yes, build.

306
00:32:12.040 --> 00:32:20.120
Right. It leaves a lot of removable code in your eventual bundle. And that is like a little bit

307
00:32:20.120 --> 00:32:25.560
of a problem. Like the whole reason that we're bundling stuff and that we're subjecting

308
00:32:25.560 --> 00:32:32.360
codes to build steps is to provide users with the optimal experience. And that means having as

309
00:32:32.360 --> 00:32:39.080
small a bundle as possible. And like a lot of people picked a tool that doesn't do that as well

310
00:32:39.080 --> 00:32:42.840
as some other tools. And the reason they did that is because it's the one that felt the nicest

311
00:32:42.840 --> 00:32:48.200
and the fastest to use for them. And so they use as a suffering because they made a decision

312
00:32:49.000 --> 00:32:53.880
based on their own needs. And like, you know, I'm going to get I'm going to get yelled out for

313
00:32:53.880 --> 00:32:59.000
calling out yes, build. But like this is just a general problem with tools generally that

314
00:32:59.160 --> 00:33:03.160
wait, don't understand them. You already have people yelling at you. I guess you don't need me.

315
00:33:03.160 --> 00:33:08.120
So first. Yeah. And maybe someone on the internet will yell out.

316
00:33:08.120 --> 00:33:13.240
But I'm typically like yes, build is an incredible piece of software. It is it is a brilliant

317
00:33:13.240 --> 00:33:21.960
package. And it serves a very useful need. And it's very well made and it has inspired a lot of

318
00:33:22.600 --> 00:33:27.720
really important development in the ecosystem. My gripe is not with the existence of yes, build,

319
00:33:27.720 --> 00:33:32.600
or it's creator, Evan, like massive respect to the project and the people who work on it.

320
00:33:32.600 --> 00:33:39.720
My gripe is with people opting to use it and not doing a deep dive and a thorough evaluation

321
00:33:39.720 --> 00:33:45.640
on what trade offs they're making on behalf of their users. Well, yeah, I think that there is a

322
00:33:45.640 --> 00:33:51.240
fallacy in the process. So I think you've highlighted something very interesting there is that

323
00:33:51.240 --> 00:33:58.760
there's more of a preference towards developer experience over user experience, which is

324
00:33:58.760 --> 00:34:03.960
which developers are going to do because they're the developers. Well, yeah, let's go for them.

325
00:34:03.960 --> 00:34:08.680
Yeah, they're like somebody cares about how hard this is this process is to go through. Maybe I

326
00:34:09.480 --> 00:34:17.080
I mean suffices to say, Versel is not. I mean, they're a part of that process in a way, right? Like

327
00:34:17.080 --> 00:34:24.280
they provide like a really great fast interface for developers to deploy particular types of apps,

328
00:34:24.280 --> 00:34:28.760
right? Like it's a similar thing. I'm not saying they're doing anything bad. I'm just saying that like

329
00:34:29.400 --> 00:34:35.880
it feels like over the last five years or so that there's been a lot of marketing and preference

330
00:34:35.880 --> 00:34:44.280
towards improving friction for developers. Like they're tools. Use the easy button. Easy button for

331
00:34:44.280 --> 00:34:48.920
everything. I wrote code. I want to get it. I want to see what happens. And I don't have to think

332
00:34:48.920 --> 00:34:56.120
about ABCD things. And I think there are implications to that. There are. And I'm guilty of it too.

333
00:34:57.320 --> 00:35:05.080
Insofar as nowadays when I talk to people about Svelte in the context of trying to explain why they

334
00:35:05.080 --> 00:35:11.560
might want to use it, I tend to focus on the fact that it allows you to build things more easily

335
00:35:11.560 --> 00:35:16.520
than some of the alternatives. When I first started working on it, all I would talk about is

336
00:35:16.520 --> 00:35:20.920
look how much faster it is. Look how much smaller your applications are going to be if you use

337
00:35:20.920 --> 00:35:27.800
this thing versus, you know, this clunky old other framework. And now like what I realized after

338
00:35:27.800 --> 00:35:31.800
working on this for a few years is no one gives a shit. But as soon as I started talking about,

339
00:35:31.800 --> 00:35:37.240
hey, look how much easier this is. Everyone was like, all right, sign me up. I want some of that.

340
00:35:38.200 --> 00:35:45.480
And it's okay to, it's not just okay. It's good to focus on developer experience. Like the

341
00:35:45.480 --> 00:35:52.520
faster we can build stuff, the more stuff we can make, the better we can make it. But if there is

342
00:35:52.520 --> 00:35:58.120
attention between developer experience and user experience, then we are advocating our professional

343
00:35:58.120 --> 00:36:05.880
responsibility if we don't resolve that tension in favor of user experience. Yeah. And you know,

344
00:36:05.880 --> 00:36:11.960
I mean, that's literally in the W3C's priority of constituencies, right, prefer users over authors.

345
00:36:11.960 --> 00:36:16.280
Which we all read. We've all read those. I don't even need to mention.

346
00:36:19.400 --> 00:36:24.040
The cell does talk a lot about developer experience. It's true. Internally, like I see the,

347
00:36:25.560 --> 00:36:30.040
a lot of the Slack messages from other people on the engineering team, the people who work on

348
00:36:30.680 --> 00:36:36.920
the edge network and like the actual infrastructure of the company are so laser-focused on

349
00:36:38.600 --> 00:36:44.200
like minimizing latency and building things in a way that is good for you. And I'm not just

350
00:36:44.200 --> 00:36:47.560
like saying this because I'm a Vicelle shill. I'm a little bit of a Vicelle shill. I have to be

351
00:36:47.560 --> 00:36:53.480
because I work there. But I appreciate that internally, people are laser-focused on user experience.

352
00:36:53.480 --> 00:37:01.800
But marketing-wise, unless you can sort of turn that into, you know, look how many millions of

353
00:37:01.800 --> 00:37:09.080
dollars your enterprise will not lose to customers who left because it was a slow-slite or whatever.

354
00:37:09.080 --> 00:37:13.560
Like, that is not what resonates in a marketing context.

355
00:37:14.280 --> 00:37:17.960
Yeah. And I get that. It's an interesting thing actually. If you think about,

356
00:37:18.680 --> 00:37:25.560
so we're making a lot of things easier for developers, which, but then we're increasing complexity

357
00:37:25.560 --> 00:37:32.600
in other areas too, though, right? So like, there becomes like this ever-growing onus on

358
00:37:33.560 --> 00:37:39.880
understanding like so many of like the internals of the libraries and stuff that we're working on

359
00:37:39.880 --> 00:37:44.840
that maybe we can't think about like the output of it, how it affects like browser scores and

360
00:37:44.840 --> 00:37:52.120
things like that. It just kind of reminds me how, I mean, 10 years ago, you had people working in

361
00:37:53.160 --> 00:37:58.520
like that were focused completely on performance. 100% of their job was performance. In the way that like

362
00:38:00.360 --> 00:38:05.720
developer relations is such a like a normal function now, previously there was not that at all.

363
00:38:05.720 --> 00:38:13.000
And there was like performance because that was a part of what helped like our users have a better

364
00:38:13.000 --> 00:38:18.280
experience and them having a better experience kept them on our site, sold our stuff, whatever we

365
00:38:18.280 --> 00:38:22.680
were trying to do. And then conversely we had accessibility as a big part of that. So I feel like

366
00:38:22.680 --> 00:38:29.160
those are things that have unfortunately kind of been less of a priority in favor of some of these

367
00:38:29.160 --> 00:38:36.920
other other like developer or economics like things. Yeah, I'm sorry. I think I agree with that.

368
00:38:37.880 --> 00:38:44.680
I don't know, just just like a point to note out. But then like conversely we're just like think

369
00:38:45.240 --> 00:38:52.440
a part of the, I think part of the issue there is that companies and in particular like non-tech

370
00:38:52.440 --> 00:38:57.480
companies, they don't know how to structure a team to sort of cover all of that. They don't know

371
00:38:57.480 --> 00:39:04.440
how to hire for that. They don't know, right? And then conversely even let's say technology focused

372
00:39:04.440 --> 00:39:08.520
companies, especially depending upon where you are in the journey of building your company,

373
00:39:09.400 --> 00:39:15.000
a developer relations person to help like bridge that gap and get you developer customers because

374
00:39:15.000 --> 00:39:19.800
you're building tools for them. That's more important than like the finality of your product and how

375
00:39:19.800 --> 00:39:24.600
users engage with that because which one moves the needle and that's what you care about right now.

376
00:39:27.000 --> 00:39:31.480
Yeah, it's tough. I mean, I don't, there are any straightforward answers to how you get people

377
00:39:31.480 --> 00:39:37.560
to care about the right things. But I do think that we should continue to call it out and talk

378
00:39:37.560 --> 00:39:42.200
about it. That's really all we can do at this point because I certainly don't profess to have

379
00:39:42.200 --> 00:39:48.040
the answer of like this is the perfectly structured development team in order to create a product

380
00:39:48.040 --> 00:39:55.560
but also do right. Yeah. Yeah, there just is too much stuff to like everybody can't know everything.

381
00:39:55.560 --> 00:40:00.680
So if you don't have someone that's like focusing on accessibility, then yes, the rest of us should

382
00:40:00.680 --> 00:40:07.160
know about it. But like, yeah, it just becomes like, if you're expected to kind of do a little bit

383
00:40:07.160 --> 00:40:11.560
of infrastructure, DevOpsy stuff and do a little front end, do a little back end, do a little like,

384
00:40:11.560 --> 00:40:16.040
you're not going to be an expert at any of those pieces because you've had to do so many different

385
00:40:16.040 --> 00:40:22.040
things. So like, I think we're at a detriment of like just kind of new things come out and we just

386
00:40:22.040 --> 00:40:26.040
tack it on to someone's job versus like getting specialists in each thing.

387
00:40:30.520 --> 00:40:33.400
And there you go. That's a statement of the question there so we can...

388
00:40:34.760 --> 00:40:41.640
Yeah, well, confession, your audio went silent for most of whatever you just said.

389
00:40:44.600 --> 00:40:51.320
Yes, no worries. What I do want to circle to here, I don't know if we finished these hot

390
00:40:51.320 --> 00:40:59.320
takes, I don't think so. But, Svelt 5 and Runes and I don't know, tell me about the new stuff coming

391
00:40:59.320 --> 00:41:06.040
out. Like, how is it different than Svelt 4? I don't know, what's how to new and cool in Svelt land?

392
00:41:07.240 --> 00:41:15.560
So it's a grounded rewrite for one thing. We basically discovered that the model that we introduced

393
00:41:15.560 --> 00:41:22.600
in 2019 was Svelt 3 and which continued in Svelt 4. You can take it a very long way,

394
00:41:23.240 --> 00:41:28.760
but because it's been around long enough that people are starting to really push the boundaries

395
00:41:28.760 --> 00:41:36.280
of what you can do with the framework, we've basically hit the limit. And what I'm talking about

396
00:41:36.280 --> 00:41:42.280
is the fact that because Svelt is a compiler and it kind of looks at your declarative component

397
00:41:42.280 --> 00:41:50.120
code and it turns it into tightly optimized JavaScript, we're doing a lot of stuff with static analysis

398
00:41:50.920 --> 00:41:56.920
and there are limits to what you can do with static analysis. And so Svelt 5 is sort of a,

399
00:41:56.920 --> 00:42:03.160
it's a grounded rewrite, first of all, but it's also kind of a grounded rethink of what

400
00:42:04.440 --> 00:42:12.200
writing component code should be like. And so it's a drop in replacement to a large extent,

401
00:42:12.200 --> 00:42:17.560
in Sephora's everything that worked in Svelt 4 continues to work, but under the hood,

402
00:42:17.560 --> 00:42:23.400
we've swapped out all of the guts with a signal based implementation of reactivity.

403
00:42:24.840 --> 00:42:31.880
So shout out to the solid team for really installing the virtues of this way of building stuff.

404
00:42:32.840 --> 00:42:39.880
In Svelt 5, when values change, you get these super targeted updates as opposed to

405
00:42:39.880 --> 00:42:50.040
mostly targeted updates, which you get in Svelt 3 and 4. And so as a result of that, it's a lot

406
00:42:50.040 --> 00:42:55.080
faster, particularly in like the pathological cases where you have a very large list and just like

407
00:42:55.080 --> 00:43:02.600
one thing inside that list is changing. It's going to scale better than Svelt 4 did. You can have

408
00:43:03.960 --> 00:43:07.240
a lot of components on the page and they're not going to cost much if at all.

409
00:43:07.560 --> 00:43:15.960
And we've also introduced this idea of universal reactivity and this is where runes come in.

410
00:43:16.760 --> 00:43:22.920
So in Svelt 3 and 4, you can write JavaScript inside a component and it becomes magically reactive.

411
00:43:22.920 --> 00:43:28.360
You have like a variable, like you want to do the classic demo button counter, you click on it

412
00:43:28.360 --> 00:43:34.040
and a counter increment. In Svelt 4, you just do let count equals zero and then inside your click

413
00:43:34.040 --> 00:43:40.600
handle you do count plus equals one and Svelt will figure out through static analysis what needs to

414
00:43:40.600 --> 00:43:48.520
happen in order for the data to reflect that new state. But you can't then take that logic and

415
00:43:48.520 --> 00:43:53.000
move it outside a component because then you're just back in regular old JavaScript land where

416
00:43:53.000 --> 00:43:59.800
obviously things do not magically update when you reassign them. And so what we've done is with

417
00:43:59.880 --> 00:44:07.960
basically created a language extension to JavaScript which we call runes and it allows you to express

418
00:44:08.600 --> 00:44:15.960
reactivity directly in the language. You can mark a specific variable as being state and you can

419
00:44:15.960 --> 00:44:23.000
mark a variable that is derived from other pieces of state as a derived variable and you can create

420
00:44:23.000 --> 00:44:30.200
effects which do things in response to those variables changing. And you can put that inside your

421
00:44:30.200 --> 00:44:35.960
Svelt components, but you can also put it in dotsvelt.js files or dotsvelt.ts files. And so you can

422
00:44:35.960 --> 00:44:43.960
have the same reactivity inside components as outside components. And it's a little bit hard to

423
00:44:43.960 --> 00:44:51.240
describe on a podcast. This is not the ideal medium, candidly. But we've been working with this

424
00:44:51.240 --> 00:44:59.400
for a few months now. It's getting close to a releaseable state. And it's just really,

425
00:44:59.400 --> 00:45:05.640
really nice to work with. It sort of makes JavaScript a valid language for building reactive

426
00:45:05.640 --> 00:45:10.680
user interfaces. Like up until now, we've had to jump through some pretty absurd hoops to make

427
00:45:10.680 --> 00:45:17.320
JavaScript suitable for describing declarative user interfaces because JavaScript is at a fundamental

428
00:45:18.040 --> 00:45:25.080
level not designed for this task. And it feels like we've made a little bit of a breakthrough

429
00:45:25.080 --> 00:45:31.880
in how we think about some of these things. Yeah, I don't know if you've heard of star

430
00:45:31.880 --> 00:45:37.720
beam and all the thing that Yehuda from member was working on. But it sounds a little bit like

431
00:45:37.720 --> 00:45:43.800
that. Like some primitives to do, like, kind of signal Z, kind of like functional programming,

432
00:45:44.760 --> 00:45:49.320
hooks kind of like kind of all the things, you know, people are used to in modern development,

433
00:45:49.320 --> 00:45:55.160
but like trying to, I mean, I guess it's not framework agnostic exactly, but it's like,

434
00:45:55.160 --> 00:45:58.680
you can apply the same ideas to, you know, kind of whatever JavaScript.

435
00:46:00.040 --> 00:46:05.160
It is. I mean, the big difference with star beam and other things of that ilk is that

436
00:46:06.360 --> 00:46:12.600
like you're just interacting with variables as normal variables. So you're the count example from

437
00:46:12.680 --> 00:46:18.600
from before. And so before you do let count equals zero, but that only works in this very specific

438
00:46:18.600 --> 00:46:25.800
context. And so five, you do let count equals dollar state parentheses zero. And that dollar state

439
00:46:25.800 --> 00:46:30.200
thing, that is the room. That is what we're calling a room. But then after that point, you can do,

440
00:46:30.200 --> 00:46:35.000
you know, count plus equals one, console.log count, whatever it is, like that is just a value

441
00:46:35.560 --> 00:46:40.120
that you can use like any other. Whereas, you know, in star beam, you would create a thing called

442
00:46:40.120 --> 00:46:48.440
a cell. And then you access cell dot current. And so you have to interact with, with, with cells in

443
00:46:48.440 --> 00:46:55.800
this sort of framework or library specific way. And the same is true of, you know, view and solid

444
00:46:55.800 --> 00:47:02.200
and pre-ac signals and all of these other things. Like it's just one step removed from JavaScript.

445
00:47:02.200 --> 00:47:06.680
And by the way, this is one thing that reacts got absolutely right when you're dealing with state

446
00:47:06.680 --> 00:47:10.920
inside a react component. Like yeah, there are some gotchas that you got to work around with,

447
00:47:10.920 --> 00:47:15.480
use effect and use memo needing like the dependency array and like blah, blah, blah. But when you're

448
00:47:15.480 --> 00:47:20.440
actually interacting directly with the state, when you're reading the state, it's just variables,

449
00:47:20.440 --> 00:47:27.480
it's just values, like you don't need to think about like what type of thing this is. It's like

450
00:47:27.560 --> 00:47:36.520
a number is just a number. And that, that sounds maybe like it's not that important. But when

451
00:47:36.520 --> 00:47:40.200
you're actually working with it, like the bulk of the time that you spend authoring this stuff,

452
00:47:40.200 --> 00:47:46.840
you're dealing with state, like our whole job is to take the state and turn it into a representation

453
00:47:46.840 --> 00:47:53.800
for the user. And so when all of that state is just reactive by default and it's represented as

454
00:47:53.800 --> 00:47:59.480
normal values, it just feels different in a way that people kind of need to experience to understand.

455
00:48:00.360 --> 00:48:04.200
I mean, it sounds really cool and I'm sure you're oversimplifying it. I mean,

456
00:48:05.400 --> 00:48:11.080
that, that, I mean, that sounds awesome. We use, we use felt actually for our shepherd library,

457
00:48:11.080 --> 00:48:18.760
our tour library. So I'm looking forward to playing with some of that. Yeah. Yeah, we don't use

458
00:48:18.760 --> 00:48:22.600
anything too complex, but we'll definitely try out the new stuff. Yeah.

459
00:48:24.200 --> 00:48:32.200
Let's see. I forget what I was going to say. We're kind of towards the whatnot portion here now,

460
00:48:32.200 --> 00:48:37.480
I guess. So we should probably pivot a bit. I just want to ask one question before you go down

461
00:48:37.480 --> 00:48:45.320
there. One more text entry question. No. Yeah. Okay. So I watched, or watched and or listened to some

462
00:48:46.280 --> 00:48:53.400
other podcasts with you as a guest. And it was like last year and Primogen asked you about

463
00:48:55.240 --> 00:49:01.800
if you like discuss with the next JS team on like how to solve issues in any overlaps since they're

464
00:49:01.800 --> 00:49:06.920
working on one particular framework and direction. You're obviously working on a different one,

465
00:49:06.920 --> 00:49:13.800
but still you're kind of in the same house like is that a resource that ever overlaps and you have

466
00:49:14.200 --> 00:49:19.720
kind of bounce ideas and discussions? A little bit. I mean, it's definitely informal.

467
00:49:19.720 --> 00:49:24.520
Like we don't have regular meetings or anything like that, but we're all friendly with each other

468
00:49:24.520 --> 00:49:29.800
and we'll share notes on some of the problems that we're solving in common.

469
00:49:31.560 --> 00:49:36.520
You know, some of the design decisions that we took in felt kit, which is the application framework

470
00:49:36.600 --> 00:49:42.600
that is kind of the next to react as, wait, how am I saying this?

471
00:49:42.600 --> 00:49:48.120
Smoke kit is to smell as next is to react. Some of the design decisions that we made in

472
00:49:48.120 --> 00:49:54.920
felt kit regarding routing would like directly lifted from internal discussions that were happening

473
00:49:54.920 --> 00:50:02.760
within next at the time that were not at that point public. And so when next eventually unveiled

474
00:50:02.840 --> 00:50:05.560
their plans, people like, oh, hey, this looks a little bit like a felt kit.

475
00:50:08.760 --> 00:50:14.680
That's funny. Yeah, so we definitely compare notes from time to time, but it's not like we're not

476
00:50:17.080 --> 00:50:22.360
doing it on any kind of a formalized basis. Yeah, you don't have to take that to your right.

477
00:50:23.960 --> 00:50:27.960
Well, my phone. Yeah, I heard somebody's phone. I was just going to make a joke there.

478
00:50:28.840 --> 00:50:34.600
No, it can make fair enough. Thanks. So anyway, Robbie, you were saying?

479
00:50:36.120 --> 00:50:41.480
Yeah, I was just going to say, if you were not in tech, what other career would you choose? And it

480
00:50:41.480 --> 00:50:46.040
can be like, you don't have to possess this skill already. Like if there's just something you think

481
00:50:46.040 --> 00:50:50.520
as really fucking cool and you want to do that, like, you know, what is your dream job outside of tech?

482
00:50:51.400 --> 00:50:58.360
I mean, I got to say, being in journalism was extremely fun. I got a little tide of it towards

483
00:50:58.360 --> 00:51:03.800
the end. I mean, the last 80 months of my career at the times were spent working on the coronavirus

484
00:51:03.800 --> 00:51:09.400
tracker almost exclusively. So in a time when we were just living COVID, like you wake up in the

485
00:51:09.400 --> 00:51:12.600
morning and you're worrying about COVID, you go to bed at night, you're worrying about COVID,

486
00:51:12.600 --> 00:51:17.240
for that to be the day job as well. Yeah, kind of kind of a lot. So like at the end of it,

487
00:51:17.240 --> 00:51:23.560
I was ready to do something different, but newsrooms are a super fun place to work. And if I wasn't

488
00:51:23.560 --> 00:51:30.680
in tech, I would probably slink back to a newsroom and try and, try and weasel my way back into that

489
00:51:30.680 --> 00:51:39.160
industry. When I was growing up, I believed that I was going to do some kind of like outdoor education

490
00:51:39.160 --> 00:51:46.440
thing, like taking people, like, you know, taking school kids kayaking and camping and like

491
00:51:46.440 --> 00:51:52.360
teaching survival skills. Yeah, I think that could have been super fun, but that didn't set that

492
00:51:52.360 --> 00:51:58.280
up for adults in the Scottish islands. Maybe you say, yeah, you definitely striking, we obviously

493
00:51:58.280 --> 00:52:03.000
don't know each other well, but you strike me as someone I would gladly take a tour from. I'm

494
00:52:03.000 --> 00:52:08.680
like, this guy, yeah, he knows where he's going. Let's follow him in the woods. You've been

495
00:52:08.680 --> 00:52:14.200
making a terrible mistake, but I appreciate that. I make a lot of those, you know, you'll find that

496
00:52:14.200 --> 00:52:23.480
over time. Honestly, my plan B for when AI comes and takes all of the tech jobs is like, you've

497
00:52:23.480 --> 00:52:27.480
got to be doing something physical, you've got to be doing something in your hands because that

498
00:52:27.560 --> 00:52:35.320
stuff is going to be the last step to go. And my little daydream, maybe this is embarrassing,

499
00:52:35.320 --> 00:52:40.440
but I want to open a cookery school. I'm not a chef. I'm not a chef. I'm like an enthusiastic

500
00:52:40.440 --> 00:52:47.160
home cook. I probably wouldn't be doing the actual teaching, but I think that like having a space where

501
00:52:47.160 --> 00:52:53.160
people can come and like learn cooking skills is like something that the world needs more of.

502
00:52:54.120 --> 00:52:58.680
Yeah, I agree, especially some of your favorite things to cook. That's what I was going to say.

503
00:53:00.840 --> 00:53:09.080
I love to make fresh pasta. That's a favorite. I bake a lot like I make fresh bread a couple of

504
00:53:09.080 --> 00:53:18.440
of times a week. Oh, nice. Just like that. I'm not like Kenji Lopezol over here, just like

505
00:53:18.440 --> 00:53:24.920
pushing the boundaries of culinary science, but you know, we try and cook most of our meals here.

506
00:53:25.560 --> 00:53:30.600
Yeah, you can take care of yourself. And that's a fairly recent thing actually. It was

507
00:53:32.200 --> 00:53:39.800
beginning of the pandemic through a combination of needing to feed myself when

508
00:53:40.520 --> 00:53:47.320
everything was shut and also trying to impress a girl like I started to cook. The girl is now

509
00:53:47.800 --> 00:53:55.960
so I was going to say so it worked out. Okay, amazing. Yeah, Robbie was asking what's your favorite

510
00:53:55.960 --> 00:54:03.640
shape pasta or what shape pasta do you make? I'm very basic. I make lasagna sheets and I make feta

511
00:54:03.640 --> 00:54:12.200
chini. Okay. Yeah, I don't have the tools that you need to make a lot of the more interesting

512
00:54:12.200 --> 00:54:17.640
pasta shapes. It's like quite an expensive hobby when you really get into it. Yeah, I imagine.

513
00:54:17.640 --> 00:54:24.920
All right, there's a thing I must know. So you sent you from the UK. I'm curious, do you like football?

514
00:54:26.280 --> 00:54:35.080
No, everybody in tech that is from Europe does not like who does not like football. I'm obsessed. I've

515
00:54:35.560 --> 00:54:43.320
played a good portion of my life watched for a very long time. I mean, I was alive and around during

516
00:54:43.320 --> 00:54:53.320
the 94 World Cup here in the States and I went to Brazil in 2014 and I've been to Europe and a

517
00:54:53.320 --> 00:54:59.560
bunch of matches there. But anyway, that's all boring to you because you don't like it. Yeah, I'm

518
00:55:00.040 --> 00:55:06.520
a bad ambassador for my country. Yeah, we're at part of the UK. Are you from the North York?

519
00:55:07.400 --> 00:55:16.760
Oh, okay. I've been to York actually. Yeah, yeah, I did a new one. Yeah, he lives in New York.

520
00:55:16.760 --> 00:55:23.720
Yeah, like York is a really beautiful very old city. I think like the newest stuff in the old town

521
00:55:23.720 --> 00:55:30.040
is like 15th, 16th century, something like that. I don't know. Yeah, and they keep discovering new

522
00:55:30.920 --> 00:55:37.000
new Roman ruins. Like before you do any construction, you have to have like a archaeological survey

523
00:55:37.000 --> 00:55:41.800
of the area and there was digging stuff. Oh, yeah, for sure. That's, yeah, it's happened quite a few

524
00:55:41.800 --> 00:55:49.080
places actually. A bunch in Spain, too, because since they were under that dictatorship for so long,

525
00:55:49.080 --> 00:55:52.520
like they didn't excavate a bunch of things. Every time they build a parking lot, they're like,

526
00:55:52.520 --> 00:55:58.360
oh, here's a new Roman root. Yeah, I stayed in Leeds for like a month. So it was all over Yorkshire

527
00:55:58.840 --> 00:56:05.320
up in the days and Manchester. Yeah, yeah, it's a very beautiful town as well, but lots of good football

528
00:56:05.320 --> 00:56:20.200
up there for saying anyway. Yeah, I think in the quick look at your Twitter that I was doing, I saw

529
00:56:20.200 --> 00:56:25.320
you were doing some skiing, is that right? I was, yeah, I just had a couple of recent Colorado.

530
00:56:26.680 --> 00:56:34.120
It's not easy that a lot. Not as much as I would like. This is the first trip in a couple of years,

531
00:56:35.640 --> 00:56:44.120
but I had like two separate trips planned kind of for this winter and managed to just combine them

532
00:56:44.120 --> 00:56:47.800
into one mega trip. So how do a week in Breckenridge? Oh, okay.

533
00:56:47.800 --> 00:56:54.120
Beautiful. Lovely town. And then a week in Vale, which I hadn't been to before, the skiing there is

534
00:56:54.120 --> 00:57:04.520
just unreal. Yeah, if you like that, I would say go up to Utah and Alta is the spot. Like,

535
00:57:04.520 --> 00:57:09.800
Park City's like fun and night. You've probably done Park City, right? Yeah, have you been to Alta?

536
00:57:10.360 --> 00:57:17.400
I have not. That's the spot. That's the one. Yeah, good to know. Yeah. Are you going to epic web dev?

537
00:57:18.360 --> 00:57:24.360
Like the epic web conference, sorry. No, no, I don't have any conferences right now.

538
00:57:25.480 --> 00:57:32.040
Should I win? It's like a week or two before React Miami. It's the one that Kent is putting on. And

539
00:57:32.040 --> 00:57:37.000
you know, he's all about snow sports. Oh, yeah, yeah, yeah, yeah. Yeah, I saw that he like

540
00:57:38.600 --> 00:57:42.520
trapped someone to speak in there or something was like, hey, do you want to go on the skiing trip?

541
00:57:42.520 --> 00:57:46.360
Like, oh, yeah, this date and they're like, yeah, yeah, that'd be great. And he's like, well,

542
00:57:46.360 --> 00:57:49.720
now that I know you don't have anything going on that day, do you want to speak at this conference?

543
00:57:49.720 --> 00:57:56.600
Yeah, I forgot. We did that too. That's pretty funny. Oh, yeah. Oh, well, anyway,

544
00:57:56.600 --> 00:58:01.080
well, that's a thing. I guess if you worked on remix, you know, it'd be different.

545
00:58:03.400 --> 00:58:06.920
Yeah, I mean, there's too many conferences. I can't keep up with all of them. Yeah,

546
00:58:06.920 --> 00:58:13.480
I was starting to bump up to one another too. It's like, yeah, it's pretty mad. Like, is it like

547
00:58:13.480 --> 00:58:18.200
this in other industries? Is this just a, or even other parts of the development? Is it,

548
00:58:18.200 --> 00:58:25.240
is this just a JavaScript thing? I think something. I think some, like just because of the nature of

549
00:58:25.240 --> 00:58:30.040
how fast things move, there's like a bunch of different conferences. But I think also like,

550
00:58:30.040 --> 00:58:34.920
there's probably like a big, I don't know, Java conference or like, there are sort of like,

551
00:58:34.920 --> 00:58:40.520
like Django Conf, right? Like, they do one in the States. They do one in Europe. And so it's more

552
00:58:40.520 --> 00:58:46.200
like, by annual. So yeah, I think that because there's so many different flavors, wins,

553
00:58:46.280 --> 00:58:52.280
Speltgate Conf. So the Speltcom, the Spelt Summit,

554
00:58:52.680 --> 00:58:59.720
SpeltSummit.com is happening on April 27th. It's a virtual conference. Okay. We hadn't in person

555
00:58:59.720 --> 00:59:09.160
one in 2022, I want to say. And now we're hoping to have another one at some point in the near

556
00:59:09.160 --> 00:59:14.840
future. Yeah. But the one that's scheduled right now is April 27th and it's going to be on

557
00:59:15.400 --> 00:59:21.800
on YouTube. There you go. It's a good one. We'll have to make sure we air this before then.

558
00:59:22.600 --> 00:59:27.800
Yeah. Or just tweet about it or something. Yeah. We got a month. Can we do this?

559
00:59:27.800 --> 00:59:34.360
Geez. I think we can make it work. Yeah. Listen, I got to shoot, man. I mean, our producers,

560
00:59:34.360 --> 00:59:40.120
our video producers are just so slow and behind. They are. Yeah. And they just always wear hats.

561
00:59:40.120 --> 00:59:46.600
It's weird. Yeah. They only wear hats, I think. They grow beards. I don't know. Yeah.

562
00:59:47.640 --> 00:59:53.640
All right. We are about at time here. Before we end, is there anything we miss talking about or

563
00:59:53.640 --> 01:00:02.520
stuff you'd like to plug? Stuff I'd like to plug. No, just you felt go to Spelt.dev, learn

564
01:00:02.600 --> 01:00:10.120
all about it. Actually, you don't have to do that. Go there. Find out what it is. See if it's

565
01:00:10.120 --> 01:00:15.240
interesting to you. If not, then we will not be offended. But we think it's pretty cool.

566
01:00:15.240 --> 01:00:20.600
And that people should check it out. People seem to like it for the most part. That's what I'm

567
01:00:20.600 --> 01:00:25.160
plugging right now. And if you don't like that, then go to Remix. I would skip all the other ones.

568
01:00:25.160 --> 01:00:31.160
I don't know. What else? Publicly say, we're going to skip next, is that what you're saying?

569
01:00:32.920 --> 01:00:38.520
Next framework. Anyway, I've used plenty of months now. They're all pretty good options this

570
01:00:38.520 --> 01:00:43.640
day. All right. Thanks everyone for listening. If you liked it, please subscribe.

571
01:00:43.640 --> 01:00:46.520
Leave us some ratings and reviews. We appreciate it. We will catch you next time.
