Тёмный

The HARDEST part about programming 🤦‍♂️  

Coding with Lewis
Подписаться 595 тыс.
Просмотров 1,5 млн
50% 1

Опубликовано:

 

28 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 769   
@DiamondSaberYT
@DiamondSaberYT Год назад
Naming variables one was extremely relatable.
@jeanssradio.7067
@jeanssradio.7067 Год назад
You could call it a instance, but then we could also call it db_initalized.. or shall we use Hungarian case?? Or snake case?? AUGHHHH
@nothinghollow
@nothinghollow Год назад
god its just confusing to name variables
@bankaihampter2802
@bankaihampter2802 Год назад
​@@jeanssradio.7067In my program I simply call it server_db or users_db or logs_db or main_db. Depending on what the database is for
@TakeHit0
@TakeHit0 Год назад
Put a comment after every variable 😂
@godwhitelight
@godwhitelight Год назад
dbInstance is meh
@Lucas-pq8hs
@Lucas-pq8hs 9 месяцев назад
The most unrealistic part is how fast they agree with each other.
@score311
@score311 9 месяцев назад
I can't believe there is even more than 1 dev in a room 😮
@markfrederickromualdo9191
@markfrederickromualdo9191 4 месяца назад
hahahahaha
@mattboemer4549
@mattboemer4549 2 месяца назад
Usually waste like 3 hours arguing before you both realize you could’ve made both of the solutions and been testing right now
@ExplodeCode
@ExplodeCode Год назад
Naming variables is my bad part of programming.
@iliyasamine6483
@iliyasamine6483 Год назад
There is the initial hassle of trying to find a decent name, then you should try to find the best writting style, like is camelCase best or using_underscores better?
@imfrommars7362
@imfrommars7362 Год назад
@@iliyasamine6483 underscores by far
@davidbreier84
@davidbreier84 Год назад
Writing useful comments and/or commit messages comes a close second
@vnc.t
@vnc.t Год назад
​@@iliyasamine6483i tend to go for for all lowercase no underscores shortest possible, so if i went for db_connect i'd prob call it dbc
@ponalvsiki2254
@ponalvsiki2254 11 месяцев назад
Just call it alphabetically
@LudwigvanBeethoven2
@LudwigvanBeethoven2 Год назад
The worst part is when you have another variable already occupying the name you want to use and you end up with semi-sentence variable names.
@MaximBordyug.
@MaximBordyug. 9 месяцев назад
The main reason I haven't succeeded in learning programming is that I constantly watch videos like this instead of learning, haha)
@DetectiveNoir_
@DetectiveNoir_ 7 месяцев назад
I hate how relatable your comment is. F*** you dude!! 😭
@arthurbella-un2gs
@arthurbella-un2gs 6 месяцев назад
😂😂😂😂😂
@valeriacerpasalas2330
@valeriacerpasalas2330 6 месяцев назад
x2
@khableguy
@khableguy 4 месяца назад
me too fam
@IvanRandomDude
@IvanRandomDude Год назад
go developers: hold my one letter variable name
@thomas.thomas
@thomas.thomas Год назад
oh god i hope i wont ever need to maintain your old code
@izd4
@izd4 11 месяцев назад
contextually I think this is ok. I have some Rust code that goes `match chars.next() { Some(c) => c, Err(_) => return Err(...) }`. But if I were to do more work on my `c` variable I would probably want to give it a better name
@wesleygamingnl4872
@wesleygamingnl4872 10 месяцев назад
@@izd4it would be fine how you use it, and for example in for loops to keep track of a certain number, but definitely not as ‘actual’ varliaboes
@mipmipmipmipmip-v5x
@mipmipmipmipmip-v5x 11 дней назад
Sounds like Fortran
@arhamsayyed9518
@arhamsayyed9518 Год назад
I suffer form this everytime 😭
@tocraft573
@tocraft573 Год назад
They nailed the idea of the joke, just not the example of the joke
@tjdjultima
@tjdjultima Год назад
“Like 4 hours if we really just sat down and did it” [6 months pass] “Like 4 hours if we really just sat down and did it”
@rakkis1576
@rakkis1576 2 месяца назад
I use chatgpt in my programming. Not to do the actual coding, it is crap at that. More... "I have a variable that is used for x, y and z. What do I name it? Give me ten suggestions."
@legendrags
@legendrags Год назад
Variable names and conflicts be like: hello mother- * board *
@oglothenerd
@oglothenerd 2 месяца назад
'db' is a fine variable name.
@noonecares616
@noonecares616 Год назад
There is nothing harder than naming variables
@moizmoiz02
@moizmoiz02 Год назад
Naming variables is the hardest part for me
@OM-el6oy
@OM-el6oy Год назад
Tip: If you struggle finding a good name for your variable, you may have a design problem.
@aaronbowie6339
@aaronbowie6339 Год назад
simple solution, name all variables var1, var2, var3... etc
@vaolin1703
@vaolin1703 8 месяцев назад
Or maybe var000001, var000002, etc. to have consistent indentation
@davidduffield1713
@davidduffield1713 7 месяцев назад
@@vaolin1703var010234 is NSFW don’t forget
@yinyang9508
@yinyang9508 5 месяцев назад
Just make it a small description Int bigD = 12; or something
@alejrandom6592
@alejrandom6592 5 дней назад
Context: they are planming the virtual nuke from Castle
@stand355
@stand355 11 месяцев назад
I just randomly pick a cuss word
@GHoStRider-ru1gx
@GHoStRider-ru1gx Год назад
- "I think it's too short" - "we're gonna be here all day" 🌚
@ganid1889
@ganid1889 9 месяцев назад
Yesterday I spend a lot of time thinking how to assign the ids in html 😅
@AE-cc1yl
@AE-cc1yl Год назад
Worst is trying to find variable names with SAME length so that all my expressions align 😢
@mrocto329
@mrocto329 Год назад
Whattt that's gotta be just you, I just add some spaces to align the equals
@bethshebaovercame5587
@bethshebaovercame5587 Год назад
And its so important to be good at it. As a new backend developer, Sr devs kill my understanding of the code with 1 and 2 letter variables lol. 😭
@yogasrinivasreddy504
@yogasrinivasreddy504 Год назад
As a person working in the same field i fully agree with this
@komalthecoolk
@komalthecoolk 11 месяцев назад
It's actually selecting the VSCode color theme.
@artwork-studios
@artwork-studios 2 месяца назад
Thats why I give variables funny names
@captheobbyist6434
@captheobbyist6434 Год назад
hardest part of programming is not the languages or syntax, but it'd planning out lots of stuff
@babywaffles
@babywaffles 3 месяца назад
Why is this so true lol. I always hammer my head because of variable naming and always get stuck at it for minutes.
@themindhelp9584
@themindhelp9584 Год назад
😂😂😂😂😂naming the variables I swear...ongoing struggleee
@prosmasher
@prosmasher Год назад
Last night I was giving a Reactjs test and I was stuck for 15 minutes naming a variable 😅
@andrewclarke4902
@andrewclarke4902 5 месяцев назад
Dare I suggest taking a look at Application Hungarian Notation?
@vaolin1703
@vaolin1703 8 месяцев назад
Naming variables really is one hard multivariate optimization problem.
@aashishsingla2499
@aashishsingla2499 9 месяцев назад
It is not necessary naming. It know what is doing what exactly and how to convey that in one word
@GoogolEnergy
@GoogolEnergy Год назад
Hardest part of the coding, where even a genius also stuck in the web is "Naming a var"...😂😂😂
@panlis6243
@panlis6243 Год назад
It's all fun and games until you have to debug a 4 moths old code and figure out what the variable named dbOnWdrsawrr is for
@JovemIrritadao
@JovemIrritadao 8 месяцев назад
use variables as, v1,v2,v3,v4,v5 etc
@DsComputerWorld
@DsComputerWorld 10 месяцев назад
Naming variables is the most confusing part.
@ganyrehs
@ganyrehs Год назад
Not just variable names, my IT team is having trouble coming up with printer names.
@kuratse205
@kuratse205 Год назад
. . . Printer names? Printers had names?
@goat7476
@goat7476 Год назад
Hahah I name my stuff Printer01 or by room names
@pervert_kun
@pervert_kun Год назад
I had named it db and then created another object that has connect method
@sprintmiles
@sprintmiles 11 месяцев назад
This is applicable to so many domains. So true!
@asagiai4965
@asagiai4965 Год назад
The hardest part of programming is actually . . . . Talking you way out Or if you want your idea implemented Talking your way in.
@paddotk
@paddotk Год назад
Date/times and timezone offsets. That's just lovely.
@mastermindinclude7198
@mastermindinclude7198 5 месяцев назад
dont worry, i call my database Jason
@jinx.love.you.
@jinx.love.you. Год назад
Nomenclature most important thing in programming… more than Algo and data struct… more than multi threads and shit… Nomenclature my dude
@PirateSimulator
@PirateSimulator 6 месяцев назад
Not the line problems😵‍💫
@chastitywhiterose
@chastitywhiterose Год назад
Not kidding, I have been trying to figure out the name of a library of C functions I want to write as well as what to name those functions! It’s only for fun but I have had ideas in mind for the longest time and never implemented anything because I can’t decide on names!
@elcapitan6126
@elcapitan6126 7 месяцев назад
the smugness of many PMs and POs (and to a lesser extent architects)... and they palm it off as "done we just need you to impliment it". incompatible design decisions and hidden assumptions be damned 😅
@alegon2
@alegon2 10 месяцев назад
Just ask for variable names in chatgpt 😂😂
@GodOfFaith
@GodOfFaith 4 месяца назад
I literally take my colleague's help for naming variables 😂Rest of the thing i can do on my own.
@slmille4
@slmille4 Год назад
Snake case for variables? What’s next, tabs instead of spaces?
@yamilao7556
@yamilao7556 6 месяцев назад
i think i have a talent for this, naming is literally the easiest thing i find in writing code xddd
@insoft_uk
@insoft_uk 9 месяцев назад
ChatGPT has solved the naming problem, also good at short comments when you’re code fails to describe itself and have to resort to a comment
@MohammedAliUno
@MohammedAliUno 10 месяцев назад
I start by it being a full sentence then by the end of the session it keeps on shrinking till it gets it's final most self explanatory form.
@linusgke
@linusgke Год назад
Using underscores for variables in Java is a crime.
@DiamondSaberYT
@DiamondSaberYT Год назад
String User_name = MainReader.readLine(); if (User_name == "Holmes") { // rip
@vaolin1703
@vaolin1703 8 месяцев назад
⁠​⁠@@DiamondSaberYToh god. That inconsistent capitalization too 💀
@1337kostas
@1337kostas 7 месяцев назад
Funny as funeral. Accurate as flatearther
@ousmanesidibe951
@ousmanesidibe951 Год назад
I'm missing silicon valley here
@ashishgaur1398
@ashishgaur1398 9 месяцев назад
The hardest part is coding with a beautiful lady like her in front of me 😅
@falcon4991
@falcon4991 Год назад
As a programmer with 4 years of experience I can confirm this.
@cix9420
@cix9420 5 месяцев назад
And then a leaking s3 bucket is found with everything that exists in your db
@chayankhoidream
@chayankhoidream 10 месяцев назад
And that's why there are silent geniuses that have solved all these problems, and made it so anyone from any country can participate, and everything is built on a strict language and 'geometric' structure.
@andrey.airsoft
@andrey.airsoft 7 месяцев назад
for me is naming things and text styling ...
@noobtv2033
@noobtv2033 9 месяцев назад
I once use chatGPT just to name my variables😅😅😅
@kinershah464
@kinershah464 Год назад
The hardest part is to motivate oneself to go and open that editor and start typing code. Believe me, it's really hard.
@tomlxyz
@tomlxyz Год назад
Really? For me it's the most fun part when I'm finally able to do that
@kinershah464
@kinershah464 Год назад
@@tomlxyz Yes, the fun starts after 2 mins of continuous typing.
@cc3
@cc3 11 месяцев назад
db unless you use more than one database
@madmanga64
@madmanga64 Год назад
Variable naming is a breeze! Variable1, Variabl2, Variable3, Variable4
@eduardosegatto8424
@eduardosegatto8424 3 месяца назад
"2 weeks?! No. I need it for tomorrow afternoon. 👋 See ya tomorrow"
@nildesperandum2034
@nildesperandum2034 9 месяцев назад
YOU'RE GREAT ❤❤❤❤ COD LANGUAGE SHOULD NOT BE EXIST IT SHOULD BE ENGLISH OR OTHER HUMAN LANGUAGE INSTEAD
@murtad123
@murtad123 Год назад
for me i jus do 1 2 3 and then i forget which is which and start to trail and error
@littlethings7587
@littlethings7587 Год назад
Oh my God, it's so amazing to see you with Tiff🥳
@danishsharjeel1549
@danishsharjeel1549 5 месяцев назад
True, naming a variable while keeping many variables in check.
@cleasbycode7506
@cleasbycode7506 Год назад
The amount of times I keep changing variable names... Lol.
@cablesimple
@cablesimple Год назад
It's easier when you start commenting your code with your variable names
@hike8932
@hike8932 3 месяца назад
Bro do "database" lol
@raiedfaisal7554
@raiedfaisal7554 Год назад
me who calls them all the first thing to come to mind and when the program is finished i will then decide the appropiate names and put all the comments
@andrewclarke4902
@andrewclarke4902 5 месяцев назад
db is NOT too short. all code has one. save typing and falling off the edge.
@horsied
@horsied Год назад
chatGPT big right in the middle is hilarious 😂
@tosanoru
@tosanoru Год назад
The life of a dev team😊
@TAP7a
@TAP7a Год назад
There are only two hard problems jn computer science: cache invalidation and naming variables and off-by-one errors
@devaashishsharma8564
@devaashishsharma8564 Год назад
Hey which editor theme is that ? can someone please help.
@somebody_2837
@somebody_2837 9 месяцев назад
pretty sure it's either vs code or intellij, but by looking at the bottom, it's most likely vs code.
@Unpluggedx89
@Unpluggedx89 10 месяцев назад
"a week? 2 weeks worth?" 😂😂😂😂
@local9
@local9 Год назад
No, no, no, no, no, this is PTSD
@HayWhy_Pappy
@HayWhy_Pappy Год назад
This is free information. RU-vid and the Internet is a goldmine.
@itasco24
@itasco24 6 месяцев назад
the most difficult part is programming and using a pen with nails this long
@issarlk
@issarlk 5 месяцев назад
Name the variables a, b, c, d, .. aa, ab, etc. Stick to it and you don't have that problem.
@Latrocinium086
@Latrocinium086 10 месяцев назад
😂love the It’ll take maybe 2 weeks said every hopeful coder ever 😂😂😂
@samigul3548
@samigul3548 Год назад
My first time relating to a programming joke, and understanding it. (I'm learning)
@GoonCity777
@GoonCity777 11 месяцев назад
I can feel the tension between the two
@smart_programmer
@smart_programmer Год назад
Naming variable are the hardest part 😂
@ivan33776
@ivan33776 Год назад
Everyone knows that naming things is the hardest part of being a software developer))😂
@IceifritGaming
@IceifritGaming Год назад
One of these days I'm gonna go full sociopath and just name all my variables VOne, VTwo, VThree, etc.
@polarbeatztv
@polarbeatztv Год назад
one of the hardest part is to name the variables... hahaha
@5095smf
@5095smf Год назад
😂😂 I love these skits
@oppopp9336
@oppopp9336 Год назад
"Mal nommer les choses c'est ajouter du malheur au monde" >> "Wrongly name things is adding sadness to the world"
@regulareric8759
@regulareric8759 Год назад
first thing I'll do when I make my first big project is make a file with nothing but comments to describe and explain every label and variable I have in my code plus where they're used as in what file, line and word number.
@kyzakplays
@kyzakplays 6 месяцев назад
I agree with variable naming
@bntheyoutube
@bntheyoutube Год назад
Junior devs 100%
@MrSquishles
@MrSquishles Год назад
when you say "what's this take 2 weeks" an alarm bell that you just fucked your life up should be going off in the back of your mind.
@egor.okhterov
@egor.okhterov Год назад
Db is like a standard name everyone uses. It's like "i" or "ctx".
@folksurvival
@folksurvival Год назад
She looks like Robin Wright.
@RomanianProductions
@RomanianProductions Год назад
This is hilarious, I called my database connection “link” since it was shorter than other variable names
@connorjade5460
@connorjade5460 5 месяцев назад
Hardest part is not to get distracted while coding.
Далее
The Most Legendary Programmers Of All Time
11:49
Просмотров 566 тыс.
Why You Shouldn't Nest Your Code
8:30
Просмотров 2,7 млн
I made a coding language... In Scratch!
3:21
Просмотров 4,1 тыс.
a day in the life of an engineer working from home
8:42
How To Study Programming The Lazy Way
11:15
Просмотров 143 тыс.
How I Would Learn To Code (If I Could Start Over)
13:43
how Google writes gorgeous C++
7:40
Просмотров 888 тыс.
2-Minute Rule to Learn Coding - Atomic Habits
7:58
Просмотров 1,1 млн
Coding Was HARD Until I Learned These 5 Things...
8:34