Types of Programming Styles
Ғылым және технология
Visit brilliant.org/zyapguy/ to get started learning STEM for free, and the first 200 people will get 20% off their annual premium subscription.
Here is a new video! I hope you enjoy it!
SOCIAL MEDIA
Follow me on twitter : / zyapguy
Join The Discord : zyap.media/discord
Im still looking for an editor... : zyap.media/editor
If you like this, please check out some of my other videos.
Thanks for watching!
This video was sponsored by Brilliant.
MUSIC:
"Infinity"
Lemmino Music
"From The Forest (Piano)"
zyapguy. (Not released yet)
"Ambient Generations"
zyapguy. (From Generations Vol 2) (Upcoming)
#programming #mistakes
Пікірлер: 162
Visit brilliant.org/zyapguy/ to get started learning STEM for free, and the first 200 people will get 20% off their annual premium subscription.
@aaryamangupta
2 жыл бұрын
First! Lets go!!!!! Sponsored!!!!
@mdarius2519
2 жыл бұрын
THE VINTAGE??? DO YOU MEAN THE CHAD?????????
@zyapguy
2 жыл бұрын
@@simpeater4404 🤔
@doyouthinkso2079
2 жыл бұрын
@@zyapguy don't bother its the Hacker
@Xomamaximo
2 жыл бұрын
Hmm trello yu türkçe mi kullanıyosun acaba neden 😳
"The overplanner!" How dare you call me out like that...
@rpxdytx
2 жыл бұрын
"It's just some safety planning, what are you talking about?"
"AHA! TIME TO USE VIM!" (Legends say he is still trying to close VIM to this day.)
@AlexTheNerd
Жыл бұрын
:q moment
The "linux elitist" must have been here
@drishalballaney6590
2 жыл бұрын
HAHAH yes thats literally me lol
@vodam6970
2 жыл бұрын
but i am elite
@tjgdddfcn
2 жыл бұрын
Dont lie that you dont secretly want to install Arch.
@trainzmarcel2074
Жыл бұрын
mee!
@gustavojoaquin_arch
Жыл бұрын
I use arch btw
Or my personal style: Refactor your code with basic OOP concepts to try and make it less spaghetti, and end up making it EVEN MORE spaghetti in the process.
@okb6436
2 жыл бұрын
Lmao this is me
@doyouthinkso2079
2 жыл бұрын
that's also me
@firstdingus
2 жыл бұрын
The best style is trying to refactor your code, realising you don't understand it and writing it from scratch (and then going back to step 1).
@the-digital-idiot
2 жыл бұрын
@@firstdingus yes
@wetfloo
Жыл бұрын
ah yes, overengineering and unnecessary abstractions on top of abstraction, my favorite
You forgot about the business owner style: Watch as they write vague, contradictory, and confusing business requirements and expect a program to appear out of thin air
Programming is Art … for some people
@ChalkMan
2 жыл бұрын
Everything can be considered as “art”.
@doyouthinkso2079
2 жыл бұрын
u r an Art ... for me
@FedoraRose
2 жыл бұрын
@@doyouthinkso2079 Well aww sweet
@carlossegura403
2 жыл бұрын
@@doyouthinkso2079 simp
For me I either just go YOLO style or plan so much that I never get round to doing any programming
@adog6704
2 жыл бұрын
Same😂
@tjgdddfcn
2 жыл бұрын
Yeah same. I once thought of anything before programming it and that was when i was making a unity game and made a txt file in notepad to remember all of features i wanted to add.
3:55, no no no. You first need to waste a few days customizing vim and installing all of plugins to make vim a fully working IDE without IDE.
@You-qe6qb
2 жыл бұрын
This
@Dev-Siri
Жыл бұрын
this
I like how #3 saves it as code.cpp.txt
Im the one that always has stackoverflow open...
@kunktatorgeneralny
2 жыл бұрын
I thought everyone was like that
@cate01a
2 жыл бұрын
with 10 tabs of it simutaneously with 3 youtube tutorials and still having trouble with one basic line of code
@TitaniumTronic
2 жыл бұрын
@@cate01a and eventually just stealing code off of github
I alternate throughout all of them constantly
@ChalkMan
2 жыл бұрын
Wow you’re even alternating between code environments? Makes sense
@pokesi3590
2 жыл бұрын
@ChalkMan sometimes notepad++, sometimes Atom, sometimes "echo '(code)' > main.js"
@cate01a
2 жыл бұрын
@@pokesi3590 why? for variety? edit, or to better suite the language, i.e np++ for html; code editor for cpp?
@pokesi3590
2 жыл бұрын
@@cate01a because ADHD :P
@pogchamp1081
2 жыл бұрын
Same
1:46 oh yeah the one and only mighty and holy raytracing calculator
You missed the "always tries to use object oriented" style.
The "senior dev" is funny because VSCode is not really an IDE, it just have loads of addons
@dinhanhx
2 жыл бұрын
Same thing with VIM
@siriusradheoff8361
Жыл бұрын
What more do you need?
The vintage would be so much better if you used turbo c++ lol
@firstdingus
2 жыл бұрын
Real programmers use ASM with AT&T syntax.
For the 2nd type, I certainly think it's a great idea to spitball as many details as possible, even if most of the cards don't make the cut. That way, remembering possible features is not required, and they can be easily discarded after thinking each one through. It helps in order to leave every stone unturned 🙂
I like that at #3 you saved file as .cpp, but it saved as .txt anyway
I'm totally the vintage guy + the over planner
i've searching for ur channel for a long time and i didn't find it, and now suddenly i founded it the recemmondation
Well my dad is the VINTAGE, considering he works in a job for ASP Classic with VBScript...
The fact that it gets saved as a text file at 3:06 is cursed af.
I can weirdly relate to most of these 😂 Another hilariously great video :p
Nice video!
the senior style: use vim on linux rice your terminal to the shitting max
Depending on what your calculator should be able to do, yoh can't overplan it - an overplanner
Was not disappointed when I saw Vim for the senior dev
NEW ZYAPGUY VIDEOOOOO
senior developers must have one hell of a time coding.
Ah yes, Hackers Who type >tree In command prompt. I'm so scared
@cate01a
2 жыл бұрын
tbf theyd be interested and actively practicing hacking no matter how basic their work is, so I can't really diss them
I am an overplanner
1) The YOLO: A.K.A me making a Pygame project.
I began to read the trello's interface without any problem then i realized that i'm turkish
extra type --- Overplan, but then throw random bullshit and hope they work
my friend uses reverse indentations. so instead of doing for{ if{ things } } he does for { if{ things } }
@greenrocket23
2 жыл бұрын
This kills the man 😞
@finchasaurus
2 жыл бұрын
I think you need to stage an intervention
@PenguinCrayon269
2 жыл бұрын
straight to jail
@johnbernardlambe8582
2 жыл бұрын
I've actually seen code like that (and it wasn't a joke).
@stephenkentperez7705
2 жыл бұрын
parkour!
Me for 10 seconds after seeing the doggo with bcel cap: Is that a promotional logo for apache becel/bcel?
Some times I'm a YOLO programmer, some others I'm an overplanner programmer, in both cases I let my shit incomplete because it turns into a big mess or never done because I lose interest on it before I even start to code. I hate that and I don't even know how to stop being this way...
Actually, 2 is Factorio player.
@cate01a
2 жыл бұрын
and kinda needed for it coz sheeeesh it is damn impossible to plan a good efficient effective clean place
4:45 I don't think you can hack someone with some c code from the linux kernel.
anyone knows how to fix the overplanning one ? might it be related to my untreated adhd ?
I am the yolo and the hacker..... i need to rethink my life choices with the second one
and let's appreciate that he installed a whole windows 95 for just this video
a calculator with raytracing 😳
40k subs yaaay
For some reason, I always skip every other line. For If So Yeah Like That
3:55 I actually live in TTY and use NeoVim, what’s wrong?
some of the stereotypes at the osdev wiki are pretty funny while being educational too
I just yolo real hard, and it usually works out
Alwaas one type to make fun of vim :D I still love that editor though... 🙈
Wow Zyapguy has an upload schedule?
@zyapguy
2 жыл бұрын
I don't o_o
Definitely an overplanner
I kinda admire the yolo guy.
Want "The OOP obsessed"
I definitely belong in the YOLO kind
18. All of them
I use notepad++ because visual studio uses more ram
Omg I wrote 7 lines of python yesterday!!! So relatable 🤣🤣🤣
@pyp2205
2 жыл бұрын
Well so did I, only I wrote lines of code in Python, C, C++, C#, Java, and Rust. I'm just currently practicing some of these programming languages. Because I've been a Python developer for about 3 years. And since I have school break this week. I thought of learning at least the basics of the programming languages I've mentioned (including Perl, Ruby, and Go). Which they were hard at first, but a lot of these programming languages share some similarities in terms of syntax. So I can just remember what's similar, to make it easy for me. I remember I tried learning Java back when I started learning Python in school 3 years ago (in my highschool freshmen year). It was hard, probably because I didn't understand the core basics of programming. And now from almost completely mastering Python. I learned some basic java syntax. And I noticed it's not as hard as it use to be. Which I guess it's from understanding the basics of programming.
@tappineapple3381
2 жыл бұрын
@@pyp2205 I was joking in my previous comment 😂. In all seriousness though, I find mastery in a couple of languages more valuable than "learning" as many as possible.
@pyp2205
2 жыл бұрын
@@tappineapple3381 Oh, well some how I didn't think you were joking. 😆 Anyways I've seemly been focusing on C, C#, and Java. Because yesterday I made a Python program that would sort of remap my keyboard. And in some games I play I can't remap keys. So I thought instead of risking myself from installing potential malware. I thought of making my own program that would simulate key presses for keys I press. Which I first did it in Python, and then I realized after testing it that it was not fast enough. Because Python is an interpreter language, but of course I can just run the compiled code in the pycache folder. But then I decided to do it in a different programming language. So I'm just currently trying to find which language could be good for this.
@tappineapple3381
2 жыл бұрын
@@pyp2205 Look at some of my repos. I have a c++ project that can remap keys. I'd be happy to help if you have any questions :)
@Uvuv6969
2 жыл бұрын
@@pyp2205 bro you don’t have to try to flex, if you’re trying to fit 9 languages at the same time that’s a very bad idea. If you’re a Python dev, move to c++, then move to c#, then move to Java. From there do what you want. I tried to learn multiple languages at the same time and it went horribly compared to when I put 100% of my time into c++. Right now, I’m not a c++ god, but I am trying to create documentation for a neural network library as a way to understand the more advanced workings of it. Plus, C++ is a good language to do the keyboard thing in.
NEW VIDEO ALERT!!!!!!!
I'm the YOLO lol
I use nvim btw
the doom emacs
YOLO style FTW
I was installing unity while watching.
the yolo is me when I animate
Wait are you Turkish cuz I saw ur Trello???
@zyapguy
2 жыл бұрын
yes.
nice ;D
hmm
you don't touchy my neovim. neovim is the best
Everyone should start YOLO... google as you go. Itll stick.
@stephenkentperez7705
2 жыл бұрын
@Terminalforlife (LL) me too. having an idea is enough planning imo. I never expected myself to write an already optimized code on the get go. If you have enough experience coding, you'll definitely notice if something smells, then refactor.
if 1 = true 1 = false else if 2 = true 2 = false else if 3 = true 3 = false else if 4 = true 4 = false else if 5 = true 5 = false else if 6 = true 6 = false else if 7 = true 7 = false else if 8 = true 8 = false else if 9 = true 9 = false else if 10 = true 10 = false
Hackers are probably the best programmers due to them needing to know some many internal features with software if they're an actual good hacker. But if they're a skid they can't do much besides the basic skid crap
@yozoralol
2 жыл бұрын
To be a Hacker, you need to be a Programmer .-.
@h3xad3cimaldev61
2 жыл бұрын
@@yozoralol yes it's just alot of these skids call themselves hackers because they can copy and paste metasploit commands
For me this format: if (condition) { (multiple) statements; } is 1000x clearer than: if (condition) { (multiple) statements; } Especially when I learned coding in C or C++, where this is also possible: if (conditon) single statement; But in general when thinking about new stuff I'm in vintage mode (tried remaking a simple but compute heavy C program (hardcoded probabilities for the SET game) in x64 ASM, almost worked...) And then I want to YOLO straight in, but I almost never completely restart because I do then try to break it up into functions in overthinker mode. Also did you know, that self driving cars are way more complicated then the computers used for the moonlanding, or autopilot in planes... My job will likely be developing those computer drivers, it perfecty combines my love for hardware, software, cars, driving. (If you dont know the SET game, it is simple but necesarry to first read the game instructions for this paragraph) Im thinking of retrying the ASM project, cause although representing a SET card in one byte is technically possible, it is much easier and faster too actually to take at least 12 bits for it. But then I probably need to learn how to get stuff from memory or save to memory etc, while with my first try my "memory" was 3 64-bit registers filled that could be filled with 8 cards each. A card has 4 attributes, each attribute has only 3 possible options so can be represented as 0000, 0001 or 0010. (the extra 00's just to be clear about bin and dec numbers) But when checking if 3 cards form a valid set, you must add them together, the max value is then 3 * 0010 = 0110, so you need 3 bits at least for that. If a card is 12 bits or more you can simply add all their attributes all at once, and check them individually. With my 8-bit card it was very slow to extract those 2 bits I wanted to add, before adding them to avoid an "overflow" into the other cards. I love computer hardware so might actually try it, and maybe also looking into x256 instructions to further speed up the process.
@xinaesthetic
2 жыл бұрын
@Kaif Chowdhury I prefer that too, although I kinda wish we weren't so stuck on plain text but rather could make that kind of choice a user-preference for how code stored as abstract syntax tree gets laid out on screen.
@ilk1758
2 жыл бұрын
If I have: If (condition) Statement I wont be able to concentrate on anything else. Once, i had it like this, and github merge accidentally duplicated the statement, and broke the code... took me days to realize...
@jesse291
2 жыл бұрын
@@ilk1758 yea maybe it's a trap, I once had a block of code indentedbin an if "block", it were 4 statements that should only executive in the if block... That part of the code had a weird bug, I figured out it was that part, but still it took a long time to realise ide forgotten these { } ... It's a little cleaner for small projects, but so easy to then forget the brackets when you need them, and that can take a long time to realise because your brain just assumes they are there...
ur cracked my g xx
The Vintage isn’t accurate at all.. Should have coded in C instead.
@龗
2 жыл бұрын
nah,assembly is far better
You forgot about the github style.
bro wheres my coding style
I’m that one programmer that makes everything in 1 line of code and the less spaces possible to occupy the less amount of space possible
@yjlom
Жыл бұрын
average haskell programer be like
@Endless_BS
Жыл бұрын
@@yjlom no, I’m an everything programmer
Readable code go weeeee
wait... turkish?
LOL
Hi
🍤
🧂
4:26 "they're usually some 12 years old living in their mum's basement"
🧘🏿
Well artik turk oldugunu biliyoz xd
I'm 16 🧐 years old and I know hacking, Actually 😤
@CattoGD
2 жыл бұрын
how about you hack yourself some bitches
please remove Z from your profile picture... it's almost a nazi symbol nowadays, because of the situation in East Europe... cool video as always, by the way :) and maybe plus Yandev style
@Rynnyr
2 жыл бұрын
Cope
@ChalkMan
2 жыл бұрын
The letter Z is now offensive. Wha- what?
@retroand
2 жыл бұрын
Calm down and think a moment. If "V" and "Z" were to be banned, Volodymir Zelensky would lose both initials! The alphabet is not negotiable, even if someone uses it wrong.
@JannesDragon
2 жыл бұрын
It depends on the context as everything does... you can't just say "remove object xyz because it is forbidden in itself". Context is important for literally everything Edit: Before anyone brings it up, imo you could even use some kind of nazi symbols in your profile if it is for example for an history channel
@retroand
2 жыл бұрын
@@JannesDragon At last, someone with common sense. If we ban every single thing for its negative connotations then all our entire culture and knowledge would be forsaken. I find surprising to see followers of a programming channel endorsing the ban of a letter of the alphabet, which has two representations in the core of 128 ASCII characters. Shameful. Yes but no, some things depend on the context however other such as our beloved alphabet should be immutable.
I am an overplanner