This is a public episode. If you would like to discuss this with other subscribers or get access to bonus episodes, visit hayata.substack.com
Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.
Transcript
From the show. Tap a time to play from there.
SPEAKER_01Hello guys. Thank you for watching my video.
SPEAKER_00This is January 13th. It's around 8 PM now.
SPEAKER_01As you know. I usually watch, I usually take a video, you know, in Japanese, but today, it's a trial. So, what I've been talking about, uh, seriously, I have a lot of experience to speak English in a daily basis as an illustration, but I don't know how I have now, so that's why. Uh, if it's...
SPEAKER_01effective for me. I'm gonna take a record. I take a video sometimes in English to practice my English skills and thinking by English. Yes. Anyway, today's discussion, today's topic is, let me see. I've been talking about the FullStack TypeScript based development.
SPEAKER_01It's a bit longer, I think, but yeah, FullStack TypeScript. It's gradually popular in Japan as well as other countries. So the FullStack TypeScript is making our application fully through TypeScript. As I know, uh, TypeScript is used for, uh, Flounder and applications. I don't know when it started, uh,
SPEAKER_01When I started to develop frontend, it's been several years ago, the React JS is a standard for developing a new application, I think. And then React requires to use, demands us to use the TypeScript to write some code for a production system, I think. On the other hand, Node.js is a bit, I don't know.
SPEAKER_01Node.js is popular for us, especially serverless system, I think. For example, AWS, Lambda, or Google's cloudline functions and so on. The Node.js, probably supported since, I don't know, five or six years ago, I think. So the Node.js and React.js is a common way to create,
you know, application itself.
SPEAKER_01And then I have a lot of experience on several languages. For example, Python is a fast language for me. And then I can also use Apps Script, Go languages. uh software acl or something like that it depends on the situations so i don't have
much favor of which languages is uh good for me or not of course previously i love
SPEAKER_01to write bison or something like that because uh i didn't such experience for creating software applications or something like that but now um when i when i need to learn the new languages from the zero like the cost of acquisition the new languages acquisition is not a big
SPEAKER_01Because, you know, I have a lot of experience for other languages, then the flavor or syntax is a bit different, but the usual common way is quite similar, even if it's different languages. Of course, the dynamic languages or static languages is a bit different, but basically the concept is quite similar.
SPEAKER_01So nowadays, the number of company uses TypeScript for applications is gradually increasing, even if it's, uh, what should I say? Yeah, it's gradually increasing. Then the startup, as you know, need to grow in the short period and then the resources that
mean the number of employers uh employees or engineers is quite shortage so uh we need to concentrate
SPEAKER_01on which or what application we need to create furthermore how to create the application itself. So in that context, the first type TypeScript application is quite fit for that business affairs business demand. As you know, the first type TypeScript can only be written in TypeScript.
SPEAKER_01Of course, there are a lot of pros and cons. For example, thanks to single computational languages, developers can focus on how to create or what feature we should create or something like that. However, Node.js, of course, has some limitations to handle,
SPEAKER_01for example, larger dataset or something like that. This kind of decision is required for this technical selections, but compared to these pros and cons, a lot of companies adopt the TypeScript for, you know, first their application development, I think.
Especially, some of companies use single TypeScript applications for a production system.
SPEAKER_01For example, currently, Basel publish the Next.js, then Next.js has a lot of features to create single applications. For example, Direct.js is commonly used for front-end single-page applications, that is, a hoss a single application on the stage or something like that then when the user access that kind of systems the browser fetch from the dns
that's files into the browsers then open the file the rebuild contract the height construct application
SPEAKER_01in the single list email is about all done However, Next.js provides some backend system features. For example, node-handlers is used for deployed API application in the single Next.js applications. Then the others, server-action or server-component is only used for the server-side usage.
SPEAKER_01For example, when I want to fetch a lot of data to render a single page, but if we do in the client side, there are a lot of, you know, round-trip or network communication is required to fetch a lot of pages. That means the page rendering speed could be slower than than we expected so that's why the server-side processing is a
bit efficient or
SPEAKER_01yeah cost reasonable i think so that kind of system is provided, so that's why some companies use that kind of features, combine that kind of features within the single applications to provide their applications sooner and then quickly. So that means the first script is a bit more than the combined several applications
SPEAKER_01to deploy for production. In the pathway, we created several applications to deploy a single, you know, service or product. For example, I used to create a Python-based backend system and a Vue.js-based frontend system to provide a single service. That kind of system architecture is so-called SBA and backend
API system. And that's quite efficient when it comes to maintain each side product itself.
SPEAKER_01For example, what I want to say is when you want to upgrade some features or other features for front-end only, that kind of system architecture is quite possible to only deploy front-end system itself because it's not a, you know, honor-sick application. However, when I want to create an end-to-end
experience that means we should update both side of applications we need to pay a lot of costs for creating a single features for example uh when yeah i need to add a backend application updates and then what also the front end application also
SPEAKER_01required then if we have a unit test or some scenario, we need to add both side of applications in the same time, even if it's our single, you know, developers. That kind of system is good. But in the small company situation, it's not appropriate way, I think. Of course, it's a business or, you know,
SPEAKER_01It's required to business decision. But in general, for a small company, they don't have much developer resources. And even if it's possible, the cost a bit higher than the single, you know, first stack type, split-based application, I think. So that's why a lot of, you know, companies use that kind of system architectures with some limitations.
SPEAKER_01So whatever, should I say, some company requires the updates This phenomenon is similar to Luvian Leirous application phenomenon. I don't know if you know a lot about that problem, but five or six years ago,
SPEAKER_01a lot of systems created by Luvian Leirous For example, Cookpad is a famous company in Ruby. This is awkward due to Ruby language. It's quite commonly used in the, I shall say,
developer training or the people who want to know the new technology or acquire
SPEAKER_01engineering skills study the Ruby languages at the first choice, at the first choice. So that means Ruby on Rails, ROR applications use a lot of situations. This is a quite common way and then simple application is good. And then gradually, according to the product growth, this application quite
And this kind of application should be placed into a smaller application as a
SPEAKER_01microservice or modular monolith or such like that. So that kind of situation is sometimes awkward in the smaller, you know, startup. engineering teams, I think. For example, Next.js modernist application should be separated into smaller applications like SPA and then backend system, or user management system should be migrated to other places.
SPEAKER_01For example, Oseo, Osamu Sakya, or common system as a platform one, It's a common way. This kind of transition is required for a long time perspective. However, yeah, that time, it's not as soon. So it's required to business growth. So that's why a lot of engineers use Apps Script, especially in the small company. That's a quite common way in Japan, I think.
SPEAKER_01I don't know the other country's situations, but if you know, let me know in the chat or something like that. I want to know the situations. But yeah, for me, I used to love the Python to create a product. because I originally from the data science or machine learning fields, but nowadays,
SPEAKER_01of course, love to write a Python, but Python bit, you know, difficult to, in some context, of course, almost application should be able to be written, but let me see. First of all, the first Python is not required for type hint in for all situations. So I love to add a type hint for maintenance or something,
SPEAKER_01yeah, but it's a bit controversial in the small, in the, you know, Python team, for example, Should I say, if we add a strict type hint for Python application, it's quite costly, and then the speed of development could be shorter than I expected. So I sometimes abandoned or gave up to keep that kind of policies.
SPEAKER_01Rather than TypeScript, type hinting is quite integrated into the product development. Of course, if your team uses JavaScript, there's no type. But if you use the TypeScript, we need to add more or less something to your function or class or something like that. It's quite comfortable for me. That means there is no problem whether we should write a type of script
into a code or
SPEAKER_01something like that. And then, type of script has a compile period, but it's not as strict, rather than the static languages, for example, last, or Clang, or something like that. It's quite comfortable for me as well. Because, you know, if I, you know, how should I say? It's easy to hire a new person whenever they have a lot of
experience in the static
SPEAKER_01language fields. Because TypeScript is a part of dynamic languages. Gradual typing is just great typing. So that's why it's a bit comfortable nowadays. I want to love the create a production ready application in the TypeScript. And then Next.js has a lot of features to ship a feature in the
same applications.
SPEAKER_01That's quite. big product development. Moreover, UI Osamitakira has a lot of ecosystem in TypeScript. It's thanks to ReactJS1. These kind of integrated application development is quite good. I have already experience in application development,
SPEAKER_01but if you don't know so far, it's better to use the TypeScript for training protocol. I think so. And then if you want to create a simple application. It's probably better than, you know, Next.js, I think. Yeah, it's a bit controversial, but, you know, Next.js has a lot of features, so you need to learn something to create.
SPEAKER_01For example, Next.js, I don't know, some restriction due to a framework uh for framework situations however yeah it's good it's good so if you want to create a application uh i it's it's better to use a free stack type script one so please check it yes that's all today's video thank you