How I use C++: a line-by-line code review

How I use C++: a line-by-line code review

strager

1 год назад

280,022 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@gerardsk8ordie
@gerardsk8ordie - 30.07.2023 08:31

omg I want your shirt!!!!!!!!!!!

Ответить
@موسىعباسي-ت5و
@موسىعباسي-ت5و - 09.08.2023 23:46

is this what the C++ god looks like? seems to predictable

Ответить
@tricky778
@tricky778 - 17.08.2023 00:29

You don't need to write util:: everywhere, you just need using directives. But if your utils are not imported/shared/common/conflicting, then you don't need to bother.

Ответить
@spacemonky2000
@spacemonky2000 - 23.08.2023 01:55

The most impressive part of this video is your control over Vim

Ответить
@fano72
@fano72 - 26.08.2023 00:35

Awesome channel, top work! I'd love to watch all your videos since I have the time.

Ответить
@tullochgorum6323
@tullochgorum6323 - 29.08.2023 11:24

If you have a copyright notice at the bottom of the file and want an easy way to find the end of the code, simply put a divider comment before the copyright text. For example:

//--------------------------------------------------------------------------------------------------//

Then all you have to do is search for "---" and you're there.

Ответить
@ZiViZiV
@ZiViZiV - 30.08.2023 06:27

Have you tried treesitter for highlighting?

Ответить
@multiHappyHacker
@multiHappyHacker - 08.10.2023 12:27

what kind of autism do you have to have to still write so much unnecessary code in C++ without over-using OOP?

Ответить
@orestes_io
@orestes_io - 26.10.2023 03:11

This is the perfect video for someone with enough experience looking for a tour of actual C++ code and not just cookie cutter tutorials. Super valuable! Thank you :)

Ответить
@joeybasile545
@joeybasile545 - 20.12.2023 18:16

Nice video. Very interesting perspective. Thank you for your time.

Ответить
@TheBrazilRules
@TheBrazilRules - 27.12.2023 12:34

"One adventage is that it is initialized to NULL"

int* x = NULL;

Ответить
@AaroRissanen-pi4td
@AaroRissanen-pi4td - 13.01.2024 16:03

This video was a goldmine of professional and robust practices. Thank you very much, I learned many a new thing!

Ответить
@realisticlevel2553
@realisticlevel2553 - 30.01.2024 01:41

I would love a vid or stream about your general workflow😢

Ответить
@arnabthakuria2243
@arnabthakuria2243 - 04.04.2024 14:19

what font is this . Looks really good. Also great vid btw. learned a lot .

Ответить
@another212shadow
@another212shadow - 15.04.2024 16:50

angle brackets are for system headers. why aren't you using quotes instead?

Ответить
@PeteBrubaker
@PeteBrubaker - 26.04.2024 06:22

Have you switched to polyglot or tree-sitter for your syntax highlighting yet? It's so worth it.

Ответить
@adityamwagh
@adityamwagh - 04.05.2024 02:17

Gilfoyle from Silicon Valley, is that you?

Ответить
@tahitinguyen4822
@tahitinguyen4822 - 05.06.2024 05:14

I don't trust this guy. He works for Hooli!

Ответить
@volchonokilliR
@volchonokilliR - 06.06.2024 09:12

When you open a video with "my C++ is insane" in the thumbnail and first thing you see is something that you thought was your code... 😄
I made a very similar UTF-8 helper

Ответить
@diamondtulip6186
@diamondtulip6186 - 21.06.2024 22:56

I have hard time following your code, maybe I am just not that good in C++.. What the heck is this wired syntax ? - 0b0011'1111 .Utf8 encoding is so simple, you just prepend 0 for 1 byte length code, 10 for 2 bytes length code 110 for 3 bytes length code or 1110 for 4 bytes length code then after the length bits follows the code value shifted to the right boundary as per encoded bytes length. When cannot encode the code point I think you should output U+FFFD � REPLACEMENT CHARACTER used to replace unrepresentable character.

Ответить
@CodeDaily29
@CodeDaily29 - 04.07.2024 17:33

are you father of galen colin cuz you both look same

Ответить
@softwarecdn5970
@softwarecdn5970 - 10.07.2024 22:30

@strager come back yo

Ответить
@bookle5829
@bookle5829 - 19.07.2024 14:48

There's a project, a serious project, that tries to remake comic sans. And the font looks cool imo. They're considering making the monospace version but they're busy with fixing the font.

Ответить
@beaglesnlove580
@beaglesnlove580 - 02.08.2024 14:44

This is the worst written code I’ve seen

Ответить
@afmikasenpai
@afmikasenpai - 02.08.2024 19:26

Comic Sans is so based ngl

Ответить
@ChaotikmindSrc
@ChaotikmindSrc - 02.08.2024 20:18

hate the fact that bracket are not on a new line, that makes the code really unreadable for me

Ответить
@Iuigi_t
@Iuigi_t - 02.08.2024 20:32

first of all, make every method static, or atleast base your method off of the static method. Makes things a lot cleaner.

Ответить
@RuslanKovtun
@RuslanKovtun - 03.08.2024 20:13

Make more videos.

Ответить
@katanasteel
@katanasteel - 05.08.2024 12:03

If you have the short preamble at the top of the file, then have it add if missing at the end....

Or add the short license base on the LICENSE file in the root of the project.

Sounds like a short little tool to write

Ответить
@katanasteel
@katanasteel - 05.08.2024 12:23

Instead of pointers from an array you could use std::span

Ответить
@bithon5242
@bithon5242 - 06.08.2024 12:19

u r amzng bruhhh ❤

Ответить
@xthebumpx
@xthebumpx - 22.08.2024 00:04

I think I would put a //end comment or something like that at the bottom of files before the copyright info so I could search for that instead of G then scroll up.

Ответить
@desvendandoornasaude4127
@desvendandoornasaude4127 - 24.08.2024 05:34

I love C++, dude

Ответить
@mmoncure11
@mmoncure11 - 25.08.2024 05:26

Sane++ = C :-D

Ответить
@mmoncure11
@mmoncure11 - 25.08.2024 05:36

Hey man your code is great. one thing I would suggest is to put line breaks between lines that divert in intent. For example after assert and before definitions...many of scopes don't need it but a few do. For those reviewing the code, the separation helps guide you to what you're looking at IMO.

Ответить
@comosaycomosah
@comosaycomosah - 06.09.2024 04:45

oh yea bro this is a fire channel!

Ответить
@iteospace
@iteospace - 06.09.2024 14:13

I would call it ByteFucking

Ответить
@NoHeartAnthony
@NoHeartAnthony - 11.09.2024 01:37

Boring

Ответить
@iyappansriram9854
@iyappansriram9854 - 11.09.2024 02:22

the hooli shirt was a sweet touch lmao

Ответить
@mahipalrajpurohit7430
@mahipalrajpurohit7430 - 11.10.2024 16:17

That’s a hooli tee

Ответить
@pktr2320
@pktr2320 - 18.10.2024 00:14

I hope you start doing videos about Rust, C++ and Javascript again. Such a fantastic channel and so little activity

Ответить
@r1tual226
@r1tual226 - 24.10.2024 00:14

I really dislike any programmer that doesn’t use a modern ide. It baffles me that someone wouldn’t want to use visual studio to write c++. I can understand people stick with what they learned on ; but using vim is just masochistic to me. Am I weird for that? I’ve always highly resisted writing code outside of a major ide

Ответить
@jsd4544
@jsd4544 - 07.12.2024 04:59

Professionally rawdogging CPP in gnome terminal + vim with no autocomplete or lsp is wild!

Ответить