Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:00,300 --> 00:00:07,440
Let's talk a little bit about the version of Node that we just installed, the node team always gives
2
00:00:07,440 --> 00:00:16,860
us two main versions or variants of the node runtime that we can download and run from the official
3
00:00:16,860 --> 00:00:17,730
node page.
4
00:00:18,240 --> 00:00:27,720
The node developers always maintain elitist current version of node, as well as elitist long term support
5
00:00:27,840 --> 00:00:30,930
version of node or an LTS version.
6
00:00:31,740 --> 00:00:35,100
So why do we need this latest version?
7
00:00:35,760 --> 00:00:42,330
Isn't it always better to have the very latest version of Node with the latest features, bug fixes
8
00:00:42,570 --> 00:00:44,520
and performance increases?
9
00:00:45,300 --> 00:00:55,860
Well, the truth is, oftentimes new features introduce new bugs and other changes that can break our
10
00:00:55,890 --> 00:00:56,940
existing code.
11
00:00:57,570 --> 00:01:08,070
The stability of long term support allows developers time to create stable versions of their code when
12
00:01:08,070 --> 00:01:18,090
necessary, such as for production software, where an update to node that breaks your code could cost
13
00:01:18,090 --> 00:01:20,970
you or the company where you work.
14
00:01:21,390 --> 00:01:23,910
Significant time and money.
15
00:01:24,830 --> 00:01:34,880
If we go to the About tab on the Node.js site under releases, we can find a chart of the scheduled
16
00:01:34,910 --> 00:01:36,050
node releases.
17
00:01:36,650 --> 00:01:45,530
This is the plan the development cycle for every version of node going forward into the future.
18
00:01:46,160 --> 00:01:50,060
It's updated as new versions of Node are released.
19
00:01:50,720 --> 00:02:00,290
All of the even numbered versions of Node currently are or will eventually become an Altius version.
20
00:02:00,980 --> 00:02:09,830
While odd numbered versions will only ever be current versions, they'll never have those extra stability
21
00:02:09,830 --> 00:02:13,070
guarantees that Altius versions give us.
22
00:02:13,460 --> 00:02:17,030
So what guarantees do LTAs versions give us?
23
00:02:17,750 --> 00:02:24,410
Well, each LTAs version is separated into an active phase and a maintenance fees.
24
00:02:24,950 --> 00:02:31,520
When active, most changes are accepted as long as they don't break existing code.
25
00:02:32,060 --> 00:02:41,480
Later, when an LTAs version gets promoted to maintenance, only important bug fixes and security updates
26
00:02:41,480 --> 00:02:44,630
will make it into updates for that version.
27
00:02:45,170 --> 00:02:52,850
And if you're more OK with issues and just want the latest greatest features, the latest current version
28
00:02:52,850 --> 00:02:54,530
should be OK for you.
29
00:02:55,660 --> 00:03:02,500
Just a little tip on how I decide which version to use, if I know I'll be deploying an application
30
00:03:02,500 --> 00:03:06,190
to production within a few weeks or months.
31
00:03:06,880 --> 00:03:10,420
I'll go with the even numbered Altius versions.
32
00:03:10,810 --> 00:03:20,350
This gives me extra confidence that my code won't break when I update my node runtime, so get the latest
33
00:03:20,560 --> 00:03:23,020
security updates and bug fixes.
34
00:03:23,770 --> 00:03:30,970
On the other hand, if I'm writing code that won't be deployed to production for, say, a year by which
35
00:03:30,970 --> 00:03:39,520
time I know that there's going to be a new LTAs version released, I'll often go with the current latest
36
00:03:39,520 --> 00:03:46,510
version of Node so that when I do update to the LTAs version, once it's released, that upgrade will
37
00:03:46,510 --> 00:03:48,040
go a little bit smoother.
38
00:03:48,460 --> 00:03:56,050
It'll be a little bit easier because there have been fewer changes between the current version and the
39
00:03:56,080 --> 00:03:58,750
new active Altius version.
40
00:03:59,970 --> 00:04:00,780
That's about it.
41
00:04:01,740 --> 00:04:03,990
All right, I'll see you in the next video.
4289
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.