Thanks for watching! What did you think of me fixing stuff during code reviews? Also don’t forget you can try everything Brilliant has to offer-free-for a full 30 days, visit brilliant.org/TheCherno. The first 200 of you will get 20% off Brilliant’s annual premium subscription!
Ctrl+T opens VS "Code Search" window, there you can search over files or types using same fuzzy patterns as in VS Assist. Decent replacement for majority of use cases.
c++ is such a complex and incredible language that even people who've been doing it for 25+ years are still learning more every day (i have a friend like that). It's beautiful
Cherno: "You have to be patient and read the comments. You'll definitely learn something." Also Cherno: Completely missing the comments explaining the hover any window argument, followed by minutes of trial and error.
@@TheCherno Good afternoon, I am a beginner programmer and didn’t know where to write questions. 1) Please tell me, in order to get the source code of Hazel Engine and get the source code of the latest version of Hazel Engine, do I need to buy a Supporter III subscription for $10? 2) In which Hazel Engine programming languages can you program and create games? 3) Does the engine have a drawing like in Unreal Engine? 4) Is it possible to transfer a model from blender to Hazel Engine?
@@Турист-д1о 1) Yes 2) C# to make games usually, though you can also use C++. Engine is written in C++ 3) What do you mean by "have a drawing"? It's got a UI and an editor similar to Unreal Engine if that's what you mean 4) Yes
If you use a modern version of Windows (10 or 11), there's also the OS-wide Windows + V, it has to be enabled, but if you press it whilst it is disabled, it'll prompt you to enable it.
@@fuj1n That things is great. I use it all the time, and when I see for how long there was clipboard manager and history in other DE/WM on other OS, I wonder why it took as much time for window to implement something as simple as this. It's a life and time saver.
With Jetbrain products you can put breakpoints on different statements on the same line which is very useful in lambdas. I don't know why VS doesn't have it yet.
at some point the IDE is a crutch from knowing the code base, or how things function. Rider also has code generation included, sure it can speed things up, but can quickly hide the "why?" with all the functionality VS has added either from Rider/Visual Assist it just becomes paying an additional $100+ (technically an addition $50 at VS pro/enterprise) monthly sub for a auto fill copilot which also does some really stupid stuff at times that requires real knowledge to know when it is doing stupid stuff.
@@gardian06_85 You can just not use that feature, I know I don't JetBrains products provide a streamlined, unified interface for each of the languages they support. You learn the IDE once and you can bounce around all of the supported languages. I've also found it much more performant than VS. They separate their IDEs for each language/problem domain, so you are not bogged down by the extra stuff if you only care about C++ or C# for example.
@@gardian06_85 I disagree with it becoming a crutch on knowing the code base as well. Learning a code base takes time and being able to navigate around it effortlessly surely only helps that learning process? The rider pricing is only around 15 a month btw so I don’t know where you’re getting “100+” from (apologies if I misread that). The AI side is obviously a completely different discussion but I’ve found it has sped up my workflow. It’s still down to the developer to see if it’s done something stupid and test whatever it’s written.
@@gardian06_85 you are just wrong. Rider/Resharper and copilot are not comparable. The fact that you mention them in the same sentence shows you have no idea what you're talking about.
@@scottwalker4619 alright I give you the pricing for professional (when researching the pricing for personal use Jetbrain defaults to yearly, and Microsoft only 'shows' monthly), but then Jetbrain products only have a "free" price for education, so Visual Studio does have an option for nearly the entire product until you/your company actually needs it with the "Community"; which is effectively used as release candidates of the Pro-version. I call Rider a crutch as one of the only selling points it really has is the built-in co-pilot as everything else boils down to "loading times", "intellisense sometimes not knowing things", (these can be adjusted through patches/updates) and "navigation experience" (which is subjective and can be learned much like a persons first IDE experience would need to be learned) I have the most experience with JetBrain products on the C++ side (where they have 4 technically 5 products for C++ similar to how they have 3 different products targeting C# where the biggest differences are see above) and the number of times I have still had to go in and manually add an `#include` when that is one of the main selling points to auto add includes (these are `#include` meaning they are already in the Solution parser so it should be understood by their built-in co-pilot) and this is one of the only real selling points of their products, so as an independent that does not meat the yearly pricing threshold for VS Pro why even spend $15/month for something that doesn't even do the biggest selling point without babysitting. I focus on the co-pilot because it is the only real selling point of the products. These tools can help people that already know a lot about the code-base and the dependencies work faster, but to newer developers it is a crutch where "the system will just do it for me" and when it doesn't then that user has to figure out why it doesn't work because it was just supposed to be 'magically there'. these type tools are tricky because they are always talked about as "they will help everyone with the boiler-plate stuff of the stuff that doesn't really matter" when if the user gets accustomed to using the tool and having it do the things for them; they might be blind-sided when say during a physical stand-up they are called to a white-board, or during a code-interview they are asked to use a simple web-IDE that doesn't have some co-pilot and they expect you not necessarily to solve the problem but to work through it (when some of the co-pilots you start writing `class map {` and it will just suggest 50+ lines to accept, comments optional)
If he wants to expand this engine to multiplatform engine he should make a building system that includes all APIs then simply switch between them for each platform
Funny thing is mouse problem you mention at the beginning is the exact problem Minecraft has, it pauses the game to mitigate that but that often fails in debug mode
Cherno: "You have to be patient and read the comments. You'll definitely learn something." Also Cherno: Not reading the readme or the comments explaining the keybindings for disabling camera movement. I'm sorry but every time you mentioned something about it, it was just very frustrating
I'm puzzled by a completely off-topic piece of code seen a few times in the video. It's about the "not equal" sign. Usually, in C++, they're written as "!=". However, I've noticed them being written as "=" with a bar across. How is that possible?? I wouldn't think the compiler would process that special character as being the same as "!=". Very puzzled by that.
well use a mouse trap as usual >.> hmm no in productivity editors no capture, never. rtfm hurts my head. if you are making an editor for a game engine learn not to capture the mouse never. mouse drag while clicked is the simplest for productivity applications gui. chill you dont have to know your own code even. relax. ownership is hard burden work.
I hate build systems! every one of them, especially gradle and its compatibility matrices. well if the build system is what prevents code from compiling, the enemy is clear.
Thanks for watching! What did you think of me fixing stuff during code reviews?
Also don’t forget you can try everything Brilliant has to offer-free-for a full 30 days, visit brilliant.org/TheCherno. The first 200 of you will get 20% off Brilliant’s annual premium subscription!
Ctrl+T opens VS "Code Search" window, there you can search over files or types using same fuzzy patterns as in VS Assist. Decent replacement for majority of use cases.
c++ is such a complex and incredible language that even people who've been doing it for 25+ years are still learning more every day (i have a friend like that). It's beautiful
I enjoyed this video. Very helpful. Btw can you add this to the code review playlist?
I really liked seeing you fixing stuff that you felt necessary or important, there's quite a lot of insight to be had from that I feel.
KER-ZUH
I HAD to see this immediately! // Watching Code Review.
Cherno: "You have to be patient and read the comments. You'll definitely learn something."
Also Cherno: Completely missing the comments explaining the hover any window argument, followed by minutes of trial and error.
Was waiting for someone to notice! 😅
@@TheCherno It truly happens to the best of us... We just get so side-tracked.
@@TheCherno Good afternoon, I am a beginner programmer and didn’t know where to write questions.
1) Please tell me, in order to get the source code of Hazel Engine and get the source code of the latest version of Hazel Engine, do I need to buy a Supporter III subscription for $10?
2) In which Hazel Engine programming languages can you program and create games?
3) Does the engine have a drawing like in Unreal Engine?
4) Is it possible to transfer a model from blender to Hazel Engine?
@@Турист-д1о
1) Yes
2) C# to make games usually, though you can also use C++. Engine is written in C++
3) What do you mean by "have a drawing"? It's got a UI and an editor similar to Unreal Engine if that's what you mean
4) Yes
Just 5 hours of debugging may save you 5 minutes of reading documentation.
its really nice to see u improving code, because it helps a lot to see the actual code about what u explain, what could be improved. :)
24:15 Windows has that builtin. The keybind is WINKEY + V
Actually did like this format! It shows how you think about UX and how you learn about a codebase/library.
Ctrl + Shift + V for clipboard history is MVP advise
If you use a modern version of Windows (10 or 11), there's also the OS-wide Windows + V, it has to be enabled, but if you press it whilst it is disabled, it'll prompt you to enable it.
@@fuj1n There are some things I would rather windows forgets I copied...
@@kevinscales Lucky you, there's a clear button
@@fuj1n That things is great. I use it all the time, and when I see for how long there was clipboard manager and history in other DE/WM on other OS, I wonder why it took as much time for window to implement something as simple as this. It's a life and time saver.
If you press E then you can lock the camera movement, press E again and you will unlock the camera movement
With Jetbrain products you can put breakpoints on different statements on the same line which is very useful in lambdas.
I don't know why VS doesn't have it yet.
Cherno: writes code to release the mouse, when the literal next line of code does exactly that when pressing E
He had his KER-ZUH in the wrong place! 😉
Great job. Learned a lot about perspective as well as code. Thanks for jump starting my brain from holiday food coma back to project immersion.
Great video! And the engine programming series sounds great!
Much prefer the videos with code editing portion, personally
your skills at navigating someone else's code base are admiring
Happy new year as well! Nice review. How's it going with the ray tracing series that you were making? 🙈
Every Jetbrains IDE has the Visual Assist feature. As a C# developer, I could never go back to Visual Studio after using Rider 🙂
at some point the IDE is a crutch from knowing the code base, or how things function. Rider also has code generation included, sure it can speed things up, but can quickly hide the "why?"
with all the functionality VS has added either from Rider/Visual Assist it just becomes paying an additional $100+ (technically an addition $50 at VS pro/enterprise) monthly sub for a auto fill copilot which also does some really stupid stuff at times that requires real knowledge to know when it is doing stupid stuff.
@@gardian06_85 You can just not use that feature, I know I don't
JetBrains products provide a streamlined, unified interface for each of the languages they support. You learn the IDE once and you can bounce around all of the supported languages. I've also found it much more performant than VS. They separate their IDEs for each language/problem domain, so you are not bogged down by the extra stuff if you only care about C++ or C# for example.
@@gardian06_85
I disagree with it becoming a crutch on knowing the code base as well. Learning a code base takes time and being able to navigate around it effortlessly surely only helps that learning process?
The rider pricing is only around 15 a month btw so I don’t know where you’re getting “100+” from (apologies if I misread that).
The AI side is obviously a completely different discussion but I’ve found it has sped up my workflow. It’s still down to the developer to see if it’s done something stupid and test whatever it’s written.
@@gardian06_85 you are just wrong. Rider/Resharper and copilot are not comparable. The fact that you mention them in the same sentence shows you have no idea what you're talking about.
@@scottwalker4619 alright I give you the pricing for professional (when researching the pricing for personal use Jetbrain defaults to yearly, and Microsoft only 'shows' monthly), but then Jetbrain products only have a "free" price for education, so Visual Studio does have an option for nearly the entire product until you/your company actually needs it with the "Community"; which is effectively used as release candidates of the Pro-version.
I call Rider a crutch as one of the only selling points it really has is the built-in co-pilot as everything else boils down to "loading times", "intellisense sometimes not knowing things", (these can be adjusted through patches/updates) and "navigation experience" (which is subjective and can be learned much like a persons first IDE experience would need to be learned)
I have the most experience with JetBrain products on the C++ side (where they have 4 technically 5 products for C++ similar to how they have 3 different products targeting C# where the biggest differences are see above) and the number of times I have still had to go in and manually add an `#include` when that is one of the main selling points to auto add includes (these are `#include` meaning they are already in the Solution parser so it should be understood by their built-in co-pilot) and this is one of the only real selling points of their products, so as an independent that does not meat the yearly pricing threshold for VS Pro why even spend $15/month for something that doesn't even do the biggest selling point without babysitting.
I focus on the co-pilot because it is the only real selling point of the products. These tools can help people that already know a lot about the code-base and the dependencies work faster, but to newer developers it is a crutch where "the system will just do it for me" and when it doesn't then that user has to figure out why it doesn't work because it was just supposed to be 'magically there'. these type tools are tricky because they are always talked about as "they will help everyone with the boiler-plate stuff of the stuff that doesn't really matter" when if the user gets accustomed to using the tool and having it do the things for them; they might be blind-sided when say during a physical stand-up they are called to a white-board, or during a code-interview they are asked to use a simple web-IDE that doesn't have some co-pilot and they expect you not necessarily to solve the problem but to work through it (when some of the co-pilots you start writing `class map {` and it will just suggest 50+ lines to accept, comments optional)
I'm pretty sure you can place a breakpoint on the break by placing your cursor there and hitting f9/"add breakpoint"
ctrl+shift+v is going to change my life. thank you.
Was there an E shortcut to release the mouse from controlling the view? )
Great video Cherno. Thanks!
happy new year
If he wants to expand this engine to multiplatform engine he should make a building system that includes all APIs then simply switch between them for each platform
I suppose you don't have to necessarily copy the field of the structure because you have the option to list all references in Visual Studio.
Funny thing is mouse problem you mention at the beginning is the exact problem Minecraft has, it pauses the game to mitigate that but that often fails in debug mode
this bug was patched ages ago in Java Edition.
@@Kaleidio It happened to me on 1.20.4 while developing mod. Break point in debug mode mess up their logic.
Is there a precompiled version of the engine that we can use ?
I'll add one soon
added in the release
@@Eduard_0110 🥰
theres how to do a path tracer, only runs on top level gpu. next well show shadow correction. (runs on xt!!!) hehe
I asked Chat GPT to give me a link to youtube tutorial that will teach me coding you poped up
2:45 Which video is he referring to? I cant see it
Just the previous video on hid channel
@@Eduard_0110 thank you!
Hey, what is your opinion on Rust in the future of game development?
was cool
Lol chirno teaching main lesson everyone need to know "learn to read"
Watching this while waiting for goblins game jam
Cherno: "You have to be patient and read the comments. You'll definitely learn something."
Also Cherno: Not reading the readme or the comments explaining the keybindings for disabling camera movement.
I'm sorry but every time you mentioned something about it, it was just very frustrating
chatgpt "how to capture the mouse in opengl"
im just learning c++ do you think its worth it?
Yes
big boss
I'm puzzled by a completely off-topic piece of code seen a few times in the video. It's about the "not equal" sign. Usually, in C++, they're written as "!=". However, I've noticed them being written as "=" with a bar across. How is that possible?? I wouldn't think the compiler would process that special character as being the same as "!=". Very puzzled by that.
It's called a ligature. It's two separate characters ! and = which get merged together and displayed as ≠
@@traister101 yeah. I have since found out. Was so weird the first time I saw that.
Thanks
no way I watched this 7 min after it was published XD
its 3am....
imguiio has a wantstocapture method
well use a mouse trap as usual >.> hmm no in productivity editors no capture, never. rtfm hurts my head. if you are making an editor for a game engine learn not to capture the mouse never. mouse drag while clicked is the simplest for productivity applications gui. chill you dont have to know your own code even. relax. ownership is hard burden work.
I hate build systems! every one of them, especially gradle and its compatibility matrices. well if the build system is what prevents code from compiling, the enemy is clear.
Chero is a true master baiter.