Syntax Video
Ranking Web Tech! .env files, MCP Servers, AI Assistants
Transcript
Is it overrated or underrated? Today we're posing a number of different topics related to development in general. And we're going to go through them and talk about are they overrated, underrated, or equally rated. I always like to throw that one in cuz sometimes I just don't care. First one, standing desks. I personally have a standing desk and I never use it. But I am a huge fan of standing desks. And I'll tell you why.
Because standing desks allow you to perfectly dial in the height of your desk and you can keep your feet flat on the floor. Normally, you only have your chair to adjust. And if you can first adjust your chair to get your feet feeling good, then you can move your desk up and down and you're in a good spot. So, I'm a huge fan of standing desks even though I never stand. I'm a fan of standing desks as well. They are underrated for a number of reasons. even though they are hyped up. People talk about standing desks. What they don't talk about is that standing desks can drop it low, too. I like it when a standing desk drops it low. And uh what I do is I get it all the way to the bottom and then I I like stretch on the floor while I'm working or I'll sit in a little squat or a lunge. Oh man, I'm be lunging. That is uh definitely something I do. And then I'll bring it up. I got a a walking pad treadmill. I I start walking. So yeah, stop, drop, and roll.
I I do all three on a standing desk, that's for sure. So, how how much how many hours a day are you standing then? You know, it depends. I I don't stand all day, especially like right now when we do recordings, I tend to not stand. Uh reason being I'm a fidgety ass person and if I'm standing, I'm going to be just like this on the camera the whole time. So, I have to be sitting down.
Totally. I completely agree. I think anything that allows you to slightly tweak your setup and not be static all the time is huge. I stand more than I sit though. I'm right now I'm probably like 7030. sitting too much, my back would hurt. Standing during the day, uh, helps with that. And it keeps my energy up, too, like cuz when I'm recording videos, I'm pretty much always standing.
And that makes me a little more I know. I have more movement, more energy rather than just sitting. Yeah. Yeah. All right. Next one. AI assisted coding tools. For the amount of hype and uh annoying people online about AI assisted stuff, I'm going to say they are underrated because the amount of people in the comments on, you know, Twitter or Blue Sky, whatever, who are so aggressively like these things cannot help me. I have no room in my life for these things. They are terrible. I think is such an extreme overreaction to where they actually are. I think they can be super helpful in a number of reasons and like you don't always have to be using them to vibe code your entire app.
There's like a number of things that I think they excel very well at and I do like that you can feed them the documentation for things. The fact that I can say this is the spelt 5 documentation and it's always going to use the correct syntax that I want to be using. it's always going to be uh saving me from potential spelling mistakes even sometimes or even things like that. This is a stupid thing, but like I I think they're underrated for as much as people uh like to [ __ ] on them. So yeah, I can't code without them anymore and and not so much that it's it's a crutch, but I'm just so much faster with them, you know? Like I it's similar to like when you used to not have autocomplete or when I don't have my like shortcuts in in my editor. I'm so much slower and I just want to move so much faster. And you see a lot of people saying that like it makes you less sharp. I'm I'm curious what you think about that. Like I don't feel any stupider. Um I still feel like
I can do all the these things and I still feel like I'm I feel like I'm learning even more now because I can move so much faster. But I don't know. Do you guys feel like I'm getting stupider? I think the real test is open open up VS Code without all the AI turned on and see if you can still work because that that was one of my experiences. I only recently started using a lot of like AI tools. And when I record videos, I use VS Code because I don't want all the autocomplete to get in the way of like of what I'm teaching.
But uh I find that when I make that switch from cursor back to code, I'm just I just pause. I'm like waiting for the autocomplete and then it never happens. So I then I have to think about it and actually start writing. But I think that's the test is try do try without it and really see because that's kind of the only way you'll know. I was writing in a text area the other day and I paused and I was like, "Oh yeah, this is a text area." It's a text area.
There's so many mundane things that it saves me time with that like Yeah. Uh you guys didn't say if they're overrated or underrated, did you? Or I think Wes might have. I haven't yet. I'm just waiting for you guys to stop talking and then I'll give my Oh, go for it. When you're with Wes and Scott, you're never going to get that chance. You got to get in there. Yeah, they're underrated. By the way, full vibe coding is overrated.
I think only only using AI tools is overrated. Um, and I I think the hype itself is overrated. And I think that's what causes a lot of this Yeah. rage online is because everyone's, well, I don't want to use it at all. But like there's there is a middle ground. I I am I am Mr. It depends. And I have found a space for AI in my workflow.
absolutely if you're not there spots where it makes you faster and then use it as a tool cuz that's what we do as developers. We find the stuff that makes us better at what we do. the amount of obnoxious people, all the all the thread boys that have courses and all this stuff that think that you can build like a Calendarly or Riverside in in a couple prompts are so out to lunch. You're going to get comments about that here. So much more than that.
Yeah. And that's that's probably why it's leaving a bad taste in a lot of people's mouths. I'm gonna tell you what, both sides are way too sensitive on this topic. I I think it's crazy the amount of people who are like you say anything even slightly critical about it and they wet their diaper like instantly. It's crazy. And uh speaking of writing crappy code with AI, Century is here to help. So So uh if you are using these AI tools, uh it's you're bound to get some some bugs in your code. Definitely check out Centry.
century.io/sax. You'll get two months free. if you get any bugs or things happening in production, you can run the autofix and it can a lot of times oneshot your fix while just seeing what error you got. So definitely check it out centry.io/sintax and uh we thank them for uh letting us do what we do here. So next up isv files. Are they overrated or underrated? I think they're highly underrated, especially like you you come across a project that doesn't have any sort of documentation or way of knowing what needs to be configured locally.
It's really hard to get that set up. So, I like the idea of having files because then each developer can specify their own keys, specify their own connection information, and then it works for for each dev that's trying to work on a project. Honestly, I don't I don't know another way around it, right? Otherwise, you're like you're committing stuff to your your repo. you don't want to commit secrets there. So, EMB files are are good for that. Yeah. I'm curious to see if you guys have reasons why we shouldn't use it. Yeah. I So, I use them and I'm always a little bit like, hm, should we really be putting like we spent all this time on security, all this time trying to limit two-factor authentication and and all of the stuff.
And then you just put an API key that can access unlimited OpenAI requests in a text file. There are several other tools out there that will sort of just inject them into your environment as you start to run your thing. I'm I'm I like them, but I'm I'm always a little bit weary of like, yeah, should we really be putting just these in a it's equivalent of just putting a password in a in a text file in your your Google Docs? You like you wouldn't you probably wouldn't put your email password in a in something like that. So, why are we doing that with with API keys?
It's kind of tricky, right? Yeah, it's tricky. You know what? I would have instantly said they are accurately rated or underrated before using SST and I got to say like something the way SST does it where that doesn't store that in any file. It's attached directly to your project and it's um you don't have to worry about that. And then therefore anytime you're in a development environment, those things are just saved. I believe it's saved to AWS or wherever exactly. I don't even know the exact mechanism, but it doesn't exist as a file and then it's automatically loaded in a third party's database, but encrypted if it is. Yeah. Well, either way, it's not sitting on a text file somewhere in my my desktop or whatever.
And I don't have to keep track of which ENV file I'm loading. I don't have to have env.pra, env.development, any of that stuff. It Yeah. Yeah. I also hate that like multiple env.dev.env.pro or whatever. Don't keep your prod creds in av file. Those should go in your like hosting provider. And if you do need to keep a backup of them, then you should be storing them in like a secure note and like one password, something like that. Yeah, it all depends too because yes, you're you're writing that those environment variables in a file, but technically once they're read in, they're in memory and so if there's any sort of exploit where like remote code execution or something like that, it can still read those even if it doesn't have file system. They're still in memory. Yeah, they're still in there.
So, it's really just what layer of security do you want to have in your app. Totally. They're all better than just hard coding it. So, well, just Yeah. Never never do that. Definitely. Uh, let's talk about fussing with your setups. Is it worth your time to customize your theme, customize your CLI prompts, window management? You could spend your entire day just working on your settings for your computer. And a lot of people say that's a absolute waste of time. What do you think? Uh, here's what I'm going to say. I'm going to say it's underrated because if I say it's overrated, that would be very deeply troubling to my ego because I spend way too much time fussing with my setup. I got to say, there's just something so nice about having your stuff dialed in. Um, I I love my my color schemes. I love it when I open my text editor and just be like, "Ooh, that's nice to look at. I'm happy to be here. That makes me feel good." All of those things. I like that. So, I'm going to say it's underrated because, hey, I I like tweaking my stuff. You're a
tweaker, Scott. That's tweaking it. Yeah, I'm I'm a big tweaker as well. I absolutely care a lot about what it looks like. If I get like annoyed by how my window management works or I have to click too many buttons to make something work, you better bet I'm stopping and and firing up better touch tool or a carabiner elements or something like that to get a nice flow setup for it.
So, I care a lot about how it functions and how it looks, and I think that makes me a better dev, or at least a happier dev at the end of the day. Yeah, maybe not better, but happier, for sure. CJ, what do you think? I think fussing with it too much is overrated cuz I think a lot of people can fall into the trap of like, oh, if my theme just looks nicer, I'm going to be a better dev. Or if I can just type 10% faster in my Vim setup, I'm going to be a better dev. And I think like I've definitely spent a lot of time in my career like figuring those things out, but I've kind of arrived at a setup that works for me and then I just spend less time tweaking it now.
Like the Mac setup video that I released like a little over a year ago here on the Syntax channel, my setup is pretty much exactly the same a year later now. Of all the things, it is the one thing that you have the most control over. So I think that's why a lot of people spend time on it. at your job, you don't necessarily get to choose what framework you're working on or uh like what exactly you're building, but you do get to choose what editor you use and what terminal you use. So, people like that amount of control. I just say find out what works and then stick with that.
Don't spend too much time tweaking it after that. That'll trash. Yeah, I spent I spent a whole day trying to get Aerospace, the the window manager up and running and I got I got or maybe even more than a day. Like I made a couple videos explaining what I was working on and people really liked that and I ended up just scrapping it at at the end of the day. It's just too brutal. Too much brutal. It's the only piece of software I think it's made me like really want to flip my desk over in the past several years.
I I felt that way as well, but I was like whenever I hit something like that, I'm like like I might be wrong. I might be wrong about this because like I don't want to be the guy who's like, "Well, that's always I've always hit command F and it always worked that way, you know, like maybe there are better setups." So, I gave it like a an honest shot, but it was I logged a few. I even committed to the the repo. I I learned to write Swift. That was the first line of Swift I ever wrote as a patch for it, but couldn't couldn't hack it. Next one here is MCP servers. We just did an episode on MCP. MCP being the way that uh it's a protocol for how AI agents talk to services, right? Whether that is like APIs like the YouTube API or whether that is Sentry to be able to ask AI things directly questions about your specific Sentry account with your login credentials, etc. Um, I think MCP is so early days that it is underrated because most people probably don't know what it
is and a lot of people are burying their heads in their sand with this kind of stuff and it's overrated for how well it functions currently, but that's mostly probably the fault of the immaturity in the ecos. Uh, so I could see this as being like the start of, you know, how we use these tools in a more real way that's like less surface level asking it questions, but more or less taking over things that we do every day. You know, automate these cuts for me in Da Vinci or automate this or that. I I think it's underrated in that regard. I I just wish I could get it to work better, more reliably, I would say. Yeah. You hook anything to anything. Like for example, I used the Playrite MCP server and I said like open up syntax, go in the terminal, see if there's any council errors, run accessibility test, take a screenshot, and then and then close it down. And it it all worked amazingly well. And being able to just pull in six
or seven different services and have them work together without having to spend forever wiring absolutely everything up is going to be huge. And here's my hot take is that it might be the downfall of the internet. Yeah. Dead internet. I'm absolutely exhausted by my email right now is I get I don't know seven or eight emails every single day of people faking having listened to the podcast, having read my blog, just being like, "Hey, can we do X, Y, and Z with you?" And it's I'm so exhausted by the amount of just spam and slob that's coming in. That's what with with people that are pretty dialed being able to make these tools to try to make money from them. When it becomes as easy as, oh, I I installed these three MCP servers and now my email talks to my school. I can automatically click things and and I have it hooked up to my iPhone. I think we might be doomed. Um,
I think technology might just be ruined when you can because like like money ruins everything and I'm I'm kind of worried when anybody can simply make anything it's just going to all hell is going to break loose. That's my my pessimist. Yeah, the idea of like connecting services is huge. Like being able to stay within one chat window or within your editor and then it's like reaching out and and and doing things for you. But I think the other key point here that is underrated is providing context. Because working with AI, it's context, context, context. The more that the prompt can know about what you're working with or what you're trying to do, the better the results are going to get. And that's also what MCP um or model context MCP servers can do, which is like if you ask it a question, it could literally go pull search results and then add that to the context like from the web. or if you ask it about your GitHub issues, it could go get the context of your last 10 issues and then now it has that when answering your question. So being able to pull in data with all of your prompts, I think is
huge. Like it it just makes it that much easier to get better results from AI cuz cuz context is key. Yeah. So next up is RPC or remote procedure call. And uh we want to talk about is it good for type safety? Is there too much coupling? Is it overrated? Is underrated? And essentially this is a way of uh communicating between a client and a server. And there's a lot of different ways to do it. So like TRPC uh popularized the idea of having TypeScript types both on the front end and the back end. Spelt actions let you do this by basically just submitting form data and then being able to instantly use that on the back end. We get this with React server components and React server uh functions and actions that basically make it really easy to communicate between your front end and your back end. So what do we think? I think it's underrated. I I think like full stack type safety is huge for developer productivity and also just like documentation in general.
Being able to not have to context switch when you're working in backend code versus front-end code is huge. I I think it it it applies to a specific type of application though. Like I don't think everything should be built this way, but if you're building an app that just in general is going to be coupling front end and back end, I think I think it's huge and and really good for productivity. Yeah, I totally underrated. I don't ever want to have to write a REST API or GraphQL API unless I absolutely need to like you said like you said we might need a mobile app as well and even then like just I don't know export me some RPC client that I can just just interface with it you know like it doesn't open API do something similar to that. Exactly. Yeah. I just want to write a function and then call that from the client and I want loading and I want error states and I want all of that stuff as fast as I possibly can.
I don't want to have to fuss with like making a whole API. I've done that for too many years of my life and I'm a big fan of all of these RPC implementations. Yeah, for me it's permanently cuffing season because I want coupling all the time. I I I seriously like I like this stuff. Uh I come from the land of Meteor where you know you're writing fake MongoDB calls on the the UI to grab your data from. And I like that so much. I wish I could do that all the time. I prefer the spelt implementation obviously because it's spelt and you know I'm a I don't know I'm a homer for for spelt things but uh personally I really like that flow of using browser real standards and whatever behind the scenes but you know in your code it's just like hey just use this server function here's the name of it now in the server function file just write your server code you know like what's up with that in like WordPress right what's up with that WordPress where like in
WordPress you get the UI UI and it's all tightly coupled. Yeah. You know, whatever. And then there's also the API that just exists with your data. I like that. Or even Drupal, right? Yeah. And it it shows not a lot of people go straight for the API. They they prefer the tight coupling. Same with the Shopify. Shopify has a whole API. They have a whole React thing. And most people are not using that. They're using good old liquid templates cuz it's much more tightly coupled. So, it's a lot more limiting, but I don't think a lot of people care that much. Well, that's it for this rousing game of overrated or underrated. I don't know if you can call it a game, but as always, overrated, underrated. If you have any topics that you would like to see us cover in overrated or underrated, drop that message below. Let us know what you want to hear, and we will catch you in the next one. Peace. base.
Quote it with credit and a link. Quoting Syntax