Everything You Need To Start Writing Lua

preview_player
Показать описание
Ok, so maybe not exactly 1000 seconds, but Fireship doesn't stick to exactly 100 seconds either!!

Useful for Neovim, WoW or whatever modding you plan on doing. I also show some special goodies for my Neovim stuff at the end :)

#neovim #lua #programming #modding
Рекомендации по теме
Комментарии
Автор

The first minute of this video starts at 0:00

Checkmate.

Kane
Автор

"Lua ... executes well on design principles and really targets those. It knows how to say NO, which is very important to the language",
Top quality diss on C++!

Really appreciating this video and the whole series! Finally the lua config files and settings are making more sense

rokkos
Автор

Calling it again - this series is going to become the go to Lua tutorial series for years to come

shanemcleod
Автор

i love lua for using 1 instead of 0, it makes the code so much more readable

genericgoon
Автор

I'm about to start my journey with Neovim. Following this series - it is just awesome so far. A sheer pleasure. Thank u for your efforts TJ!

egorpoltoruhin
Автор

9:25 Prime would be furious if he could read that

theondono
Автор

downloaded all the videos, watching locally on VLC, but came here to press the like button and give this comment, thanks TJ!

aslthiago
Автор

I’ve always had a certain fondness of Lua. It’s lightweight, simple in the way C is, cozy to use to configure a more complex library in ie: C/C++, and it’s so easy to use I have this weird psychological tick where I think of it is almost a toy rather than a tool, and every time I got to solve a problem I’m almost surprised and delighted to find out there’s an easy way to do it in Lua.

In contrast, I’ve always felt that Python’s syntax leaves something to be desired.

novantha
Автор

I don't have enough thanks to give to you TJ. Your videos are so good for understanding Neovim. Love your approach.

PalashBackup
Автор

The example at 13:50 could use some *expansion* hehe

The reason the output is truncated in the second print is because the function returns (via unpack) multiple values, and those multiple values are only fully expanded when they are the last thing in an expression. You would get the same truncation effect with any function that returns multiple values--that behavior is not strictly related to the variable arguments.

I see what you were trying to say with the slot comment, but I think that part could have been clearer!

badgertooth
Автор

12:32 An ellipsis is three dots connected together to denote omission.
An ellipse is a flattened circle.

mfahz
Автор

This neovim presentations with markdown, syntax highlighting and execution is pure gold!))

rumble_bird
Автор

TJ you have become one of my favorite tech youtub-ers. Your videos are full of good information and you seem to genuinely want to help people learn. You have opinions about tech but your teaching style is very agnostic to other opinions. Wish the algorithm did better about promoting channels like yours.

glyakk
Автор

This series is a dream come true 😊. A couple months ago I finally broke past the barrier and built my neovim config from scratch. I learned a lot and feel pretty confident in using nvim as my daily driver (previous vs code). I’m excited about this series because it will A. Reinforce what I’ve learned in the past couple months and B. Fill in the gaps where I’m lacking in experience. Thanks a ton for your work Teej!

Orgnn
Автор

love your presentation style. reminds me of prime, but more relaxed to listen to. very well done and well structured.

AlexSpieslechner
Автор

I dont know much of programming, but understanding that neovim works with lua and has its own library of functions, which can be access with :help (to know what it does), to further configure neovim as you wish, has been an eye opener. I started using neovim because I really liked the simple visual design, by mindlessly following "how to install" tutorials.
Great series!

nigelgear
Автор

Thank you TJ! I was looking for this and now begins my Advent of Code lmao.

dhavalsavalia
Автор

i just started developing my first lua plugin for neovim. I know the basics, but this really helped me solidify the concepts like metatables. thanks, TJ !

lifelover
Автор

this is the best neovim tutorial series I've ever seen in YT.

zsytssk
Автор

Hilariously, the implementation of the fibonacci sequence at 19:41 is incorrect, probably because it was a port from a 0 based array structure? The first 2 numbers in the sequence for fib[1] and fib[2] should be 1. Thus fib[5] should return 5 not 8. Changing "if key < 2" to "if key <= 2" will fix. Using standalone lua isn't able to support enough levels of recursion to generate fib[1000], which again indicates that neovim's lua implementation must be highly permissive.

gizmoitus
join shbcf.ru