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
Жыл бұрын
god its just confusing to name variables
@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
Жыл бұрын
Put a comment after every variable 😂
@godwhitelight8877
Жыл бұрын
dbInstance is meh
@Lucas-pq8hs
6 ай бұрын
The most unrealistic part is how fast they agree with each other.
@spencercooper1603
6 ай бұрын
I can't believe there is even more than 1 dev in a room 😮
@markfrederickromualdo9191
Ай бұрын
hahahahaha
@mohamedmourad5230
Жыл бұрын
Planning for our project VS how it ends up 😂
@sexymeal2427
Жыл бұрын
we're all living the same life
@melissaharpster
9 ай бұрын
@@sexymeal2427😮😢
@imzaino
3 ай бұрын
guys where can I write code? not learn, I just want to make my own code.
@NandaP249
2 ай бұрын
@@imzainovs code
@Senko1800
2 ай бұрын
@@imzainovs code i believe
@ExplodeCode
Жыл бұрын
Naming variables is my bad part of programming.
@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
10 ай бұрын
@@iliyasamine6483 underscores by far
@davidbreier84
10 ай бұрын
Writing useful comments and/or commit messages comes a close second
@vnc.t
10 ай бұрын
@@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
@SiimKoger
9 ай бұрын
Just use a variable that kinda fits and you can just rename it when the functionality is done. Refactoring is easy with IDEs that we have today.
@BrianHaddad
Жыл бұрын
What is it they say? There are only two hard things in computer programming: cache invalidation, naming things, and off by one errors.
@freeloaderuser6793
Жыл бұрын
You forgot segmentation errors
@mudubasa
Жыл бұрын
@@freeloaderuser6793 so there are 5 hard th Segmentation fault (core dumped)
@kuroxell
Жыл бұрын
@@nigerianprince2620 u into structs huh
@carlosrobinson4230
Жыл бұрын
😂😂
@saikaushikvardhan
Жыл бұрын
I see what you did there 😂
@jaejonmalloy1341
Жыл бұрын
This is why I took the white board off of my wall, and started using a spiral bound notebook for project planning and design. Also, I stopped abbreviating objects and variables, and began using the most obvious descriptors possible, regardless of length, which ultimately led to more readable code. 🤘
@AlmightyTJDR
11 ай бұрын
I'm gonna do this when I get deep into coding
@benjaminjordan2330
10 ай бұрын
Lol yeah I used to think it was cool to make variable names super compact but over the years I have started to make them very obvious and descriptive.
@kukuricapica
10 ай бұрын
@@benjaminjordan2330 it depends really on the style. I think that in the case of programming "too much of anything hurts". Keep it sleek, readable, document and use comments. You should be fine.
@skyleonidas9270
10 ай бұрын
Long ass names are also not readable, they must be as short as possible yet understandable
@v0id_d3m0n
7 ай бұрын
Based
@ardentofzeal6244
Жыл бұрын
This is like listening to my boss try to describe an app he wants to build. I'm sitting there the entire time just thinking, "I could maybe accomplish 1/3 of what you asked"
@user-kt7li4le8s
Жыл бұрын
@@OpenWebDiscourse1/3 of cancer cure is quite good actually
@TheRealInky
Жыл бұрын
That's probably because it made ~33% sense though, in your defense
@gutsjoestar7450
10 ай бұрын
Where do you work at
@goosydev
9 ай бұрын
can it blockchain?
@TacTicMint
7 ай бұрын
I had a project manager/former code describe how we might fix something for five minutes. The programmer supervisor who's German sits through the whole thing thinks for about ten second on how to put it nicely and says "No. I'll figure a way to do it."
@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.
@IvanRandomDude
Жыл бұрын
go developers: hold my one letter variable name
@thomas.thomas
11 ай бұрын
oh god i hope i wont ever need to maintain your old code
@izd4
8 ай бұрын
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
7 ай бұрын
@@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
@arhamsayyed9518
Жыл бұрын
I suffer form this everytime 😭
@MaximBordyug.
6 ай бұрын
The main reason I haven't succeeded in learning programming is that I constantly watch videos like this instead of learning, haha)
@DetectiveNoir_
4 ай бұрын
I hate how relatable your comment is. F*** you dude!! 😭
@arthurbella-un2gs
3 ай бұрын
😂😂😂😂😂
@valeriacerpasalas2330
2 ай бұрын
x2
@khableguy
Ай бұрын
me too fam
@DudeWhoCodes
Жыл бұрын
The Collab we never expected 😮.
@elcapitan6126
Жыл бұрын
"what's in a name?" is an underrated question in design. the naming arguments reflect design thinking that has to happen and often takes way more effort than a whiteboarding session will suggest.
@CodingWithLewis
Жыл бұрын
Last video with Tiff! Working with her was a pleasure. Make sure you check out Tiff in Tech!!!
@Scuffy
Жыл бұрын
You better have clapped
@weissProduction
Жыл бұрын
💀
@dr_corrupt1014
Жыл бұрын
@@Scuffy she has a bf but if he played his cards right woulda been easy..
@boonmercado5114
6 ай бұрын
@@Scuffyi suddenly wanna became a programmer
@Scuffy
6 ай бұрын
@@boonmercado5114 nah us programmers are virgins this is the only programmer that ever got close to a girl that’s why I said he better have taken the chance.
@comedyclub333
Жыл бұрын
Half of my commits are basically for renaming variables because I start to hate the names I gave them 😅
@outside8312
Жыл бұрын
Me struggling to not put swears in the names when other people are going to see it 😅
@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”
@pervert_kun
Жыл бұрын
I had named it db and then created another object that has connect method
@tocraft573
11 ай бұрын
They nailed the idea of the joke, just not the example of the joke
@orivalx
Жыл бұрын
Be a madman name the variable peepeepoopoo
@babywaffles
4 күн бұрын
Why is this so true lol. I always hammer my head because of variable naming and always get stuck at it for minutes.
@johnshaff
Жыл бұрын
Literally how non technical PM’s talk 😂
@cablesimple
Жыл бұрын
Pro tip. It's easier to just say PMs
@TheRealInky
Жыл бұрын
This video is just pain
@michaelvik870
Жыл бұрын
Yea, the "variable-naming crisis" thing is very relatable 😂
@Lkabss
Жыл бұрын
I am both horrified and glad that never goes away and its not just me.
@greentower6192
Жыл бұрын
Connecting two seperate things is very difficult. We have to know everything to the core.
@nicholasfinch4087
Жыл бұрын
Oh good lord yes. And then scaling is a terrible nightmare if the code you made wasn't made for hundreds of thousands of rows. Trust me... I went down that road. Always paginate your shit 🤣
@RealSaudiExplorer
Жыл бұрын
You don't have to know everything to the core.
@core36
11 ай бұрын
@@RealSaudiExplorer not if someone else knows it for you
@ainewslatest1
4 ай бұрын
@@nicholasfinch4087 Connecting things in code can be challenging, but not necessarily requiring knowledge of everything: Abstraction and Interfaces: Modern programming leverages abstraction and well-defined interfaces. You don't need to know the internal workings of every system you connect with; understanding the interface (functions, arguments, data formats) is often sufficient. Libraries and Frameworks: Existing libraries and frameworks often handle the heavy lifting of connecting systems, providing ready-to-use components and simplifying the process. Standardization: Established standards and protocols across domains (e.g., APIs, data formats) make connecting systems interoperable without needing profound knowledge of each. However, challenges remain: Complexity: When dealing with highly complex systems, understanding their underlying principles can be beneficial for troubleshooting, optimizing integration, or creating more resilient connections. Edge Cases and Compatibility: Unforeseen scenarios or compatibility issues might arise, requiring deeper understanding and debugging skills. Performance Optimization: For performance-critical connections, knowing the internal workings of both systems can help optimize efficiency and resource usage. Ultimately, the difficulty of connecting things in code depends on several factors: Complexity of systems involved: Simpler systems with clear interfaces are easier to connect. Availability of tools and libraries: Pre-built solutions can significantly simplify the process. Desired level of integration: Deeper connections might require more in-depth knowledge. Programmer's experience and familiarity: Expertise and understanding of relevant concepts make connections smoother. Instead of requiring knowledge of everything, the key is to: Understand the interfaces and protocols involved. Leverage existing tools and libraries whenever possible. Be prepared to learn and troubleshoot for potential issues. Seek help from communities and documentation when needed.
@haroldcruz8550
2 ай бұрын
That's what software engineers are for, unless you are the software engineer.
@danishsharjeel1549
2 ай бұрын
True, naming a variable while keeping many variables in check.
@supernovic99
Ай бұрын
I just name it whatever comes to mind. I know its bad programming practice but i'm pretty used to it now.
@FireRust
Ай бұрын
I’m a newbie to programming, and naming variables is the absolute worst. Takes half my time
@stand355
8 ай бұрын
I just randomly pick a cuss word
@legendrags
Жыл бұрын
Variable names and conflicts be like: hello mother- * board *
@wobbywells
Жыл бұрын
Glad to hear others go through this
@themindhelp9584
11 ай бұрын
😂😂😂😂😂naming the variables I swear...ongoing struggleee
@mohammedeleriaan5986
Жыл бұрын
Her : It's gonna be too short. Him : we are gonna be here all day.
@murtajiz545
5 ай бұрын
Thank you, KC. Your words resonate with me deeply, man.
@neck-o
2 ай бұрын
I think it helps a little bit in order to not be stuck in the naming the variable phase when I just use immediately whatever pops in my mind at the moment and just mass rename it later when I changed my mind. That way my workflow isn't derailed and I'm able to accomplish more.
@szilagyimiklos4757
8 ай бұрын
A variable cannot be short enough. I never ever heard that complaint
@sprintmiles
8 ай бұрын
This is applicable to so many domains. So true!
@alfellati
7 ай бұрын
Great collaboration
@moizmoiz02
Жыл бұрын
Naming variables is the hardest part for me
@noonecares616
Жыл бұрын
There is nothing harder than naming variables
@yogasrinivasreddy504
Жыл бұрын
As a person working in the same field i fully agree with this
@lunaletuna
Жыл бұрын
There needs to be a vscode pluging where you can just put random var names in and later down the line you can run the plugin and chat gpt will write var names in
@bankaihampter2802
Жыл бұрын
Oh man... I was today making variables, and for the second user I was naming them 'second_variable' when I came to name user seconds I was totally dumb folded if I really should name it second_second 💀
@sshad00ww95
Жыл бұрын
Just name them variable2 and second2, i mean i dont know if u cant name them like this cuz of something else, but idk, im still just a beginner.
@bankaihampter2802
Жыл бұрын
@@sshad00ww95 I know. But the variables are seen by the user, I'm making a discord bot and it was a part of a command. Writing second looks more user friendly than a number would
@sshad00ww95
Жыл бұрын
@@bankaihampter2802 oh ok then but maybe u can make that if variable is variable2 make that string they see second, idk it is just an idea xd
@BaronXOfficial
Жыл бұрын
I don't know what your intent I was with this but I am not a fan of that naming convention nor am I a fan of any of the suggestions, I would take some more time to consider it which kind of goes along with the meme but those names wouldn't fly in a coding interview as they seem very beginnerish. Maybe even OOP might be useful here e.g. having a user object with a time_in_seconds attribute
@renisrrenis9225
Жыл бұрын
OOP solves all the problems.
@littlethings7587
Жыл бұрын
Oh my God, it's so amazing to see you with Tiff🥳
@avidrucker
Жыл бұрын
Love the tech channels collab!
@Coups_Detat
Ай бұрын
90% of the work is planning and meetings the rest Is actual work, Everytime I come up with a good idea I end up stuck in variable naming
@hanac5586
Ай бұрын
True
@eduardosegatto8424
23 күн бұрын
"2 weeks?! No. I need it for tomorrow afternoon. 👋 See ya tomorrow"
@saram2339
7 ай бұрын
the part about naming variables is just sooo true
@oliveryt7168
Жыл бұрын
Love it! (I am only a CS student, but this is actually how it often is -> even naming a variable is very important)
@AE-cc1yl
Жыл бұрын
Worst is trying to find variable names with SAME length so that all my expressions align 😢
@mrocto329
Жыл бұрын
Whattt that's gotta be just you, I just add some spaces to align the equals
@5095smf
Жыл бұрын
😂😂 I love these skits
@tootyrnt5533
3 ай бұрын
Choosing PR label colors is definitely one of the hardest things I’ve had to do
@AskAKill99
2 ай бұрын
Lmao naming variable😂 cracks me up!!! Honestly ive learned for myself to just give them weird short names that i just think of like "int aglio = 2751;" or "var ayk" is definently better than having long names
@MohammedAliUno
7 ай бұрын
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.
@failednova6533
7 ай бұрын
Just name it as "a"
@mohaabd5614
Жыл бұрын
Suffering from naming more than solving problems 😂😂😂😂
@stoufa
5 ай бұрын
yup! cache invalidation and naming stuff, these are the hardest couple of things in computer science! 😁
@handletodizmantle
2 ай бұрын
That is soooo real it looks realistic
@herom123
11 ай бұрын
THIS IS SO GOD DAMN TRUE!! All that shit and i be sitting trying to name some MOST INSIGNIFICANT VARIABLES!!!
@studraiyanjaffer9252
Жыл бұрын
This channel is very helpful for every experience and beginner programmers, the every videos are helpful to become good programmer ❤😊, Keep growing love from india.
@paddotk
Жыл бұрын
Date/times and timezone offsets. That's just lovely.
@GHoStRider-ru1gx
Жыл бұрын
- "I think it's too short" - "we're gonna be here all day" 🌚
@bethshebaovercame5587
9 ай бұрын
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. 😭
@kyzakplays
3 ай бұрын
I agree with variable naming
@williamseipp9691
6 ай бұрын
I'm still getting my color scheme setup, hold up there on the database handles there buddy!
@paragggoyal1552
8 ай бұрын
I sometimes gives full context to chat gpt to give me variable names and it is still confusing
@zuhaibahmed2241
Жыл бұрын
If Naming variable is hard for you then you are a really good programmer. It means you take the time to ensure your code can be understood by anyone without having to explain it.
@HikaruAkitsuki
Жыл бұрын
That's one thing. But we supposed to design it so that we understand "why the heck did we built this function again?".
@alegon2
7 ай бұрын
Just ask for variable names in chatgpt 😂😂
@prosmasher
Жыл бұрын
Last night I was giving a Reactjs test and I was stuck for 15 minutes naming a variable 😅
@judahschwartz7459
Жыл бұрын
There are 2 things that are hard about computer science Cache consistency Naming variables Off by one errors
@Nathankingston0
5 ай бұрын
There legit dumb I’m smart I’m rich of wow gold loser
@lordgiacomos2551
Жыл бұрын
When building something from scratch: You're naming an object with the Database type, use `main_db_obj` or really just `db_obj`. If you need multiple databases, name them what they're used for (i.e. `users_db`, `products_db`, etc.). Working on existing code and scared to have conflicting names: Use same basic naming logic, but come up with a short prefix representing this specific round of additions. Adding a new database for who all worked on the thing? Use something like `crdtsStff_contributors_db` (consonant only version of credits stuff). It doesn't matter what the naming is if you're going to obfuscate it, and it makes it convenient for others to do forensic code analysis to figure out what was added when and why. But if you're feeling brave and confident in your debugging skills & tools, just come up with the simplest descriptive names you can think of and debug as you go. For the love of God though, get some mind map software to digitize that whiteboard.
@Brahdyssey
Жыл бұрын
I agree, that is too short!
@jerryhall5709
2 ай бұрын
"Make it work" is my philosophy. You can come up with smarter solutions later but first you need something.
@murtad123
Жыл бұрын
for me i jus do 1 2 3 and then i forget which is which and start to trail and error
@andrewclarke4902
Ай бұрын
Dare I suggest taking a look at Application Hungarian Notation?
@geek_24
Жыл бұрын
Center a Div is still the most difficult thing in the world
@armielgonzzz
2 ай бұрын
what is the vscode theme used in this video? it looks cool
@JovemIrritadao
5 ай бұрын
use variables as, v1,v2,v3,v4,v5 etc
@nitensapkota8606
Жыл бұрын
INT does represent whole number , whole start from 0 and goes up to infinity ,which does not include negative numbers where we can say that INT represent integer number which ranges from (-infinity , +infinity)
@samigul3548
Жыл бұрын
My first time relating to a programming joke, and understanding it. (I'm learning)
@komalthecoolk
8 ай бұрын
It's actually selecting the VSCode color theme.
@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
@energiemic
Жыл бұрын
Me that use x y z as variable name
@scherzer6428
5 ай бұрын
Yeah let's draw some random words all of the place 😢lol
@kilteddwarf
Жыл бұрын
The 2 things hard in it: - Cache - Naming things - Off by 1 errors
@devaashishsharma8564
Жыл бұрын
Hey which editor theme is that ? can someone please help.
@somebody_2837
6 ай бұрын
pretty sure it's either vs code or intellij, but by looking at the bottom, it's most likely vs code.
@aashishsingla2499
6 ай бұрын
It is not necessary naming. It know what is doing what exactly and how to convey that in one word
@grevel1376
Күн бұрын
you forgot about cache invalidation
@inod5656
Жыл бұрын
Rough architecture skit vs. actual coding.
@OM-el6oy
Жыл бұрын
Tip: If you struggle finding a good name for your variable, you may have a design problem.
@therandomsomeone.
3 ай бұрын
snake case in java in anything other than constants is a crime
@GoogolEnergy
Жыл бұрын
Hardest part of the coding, where even a genius also stuck in the web is "Naming a var"...😂😂😂
@georgwagner5577
6 ай бұрын
I like to name variables with a single letter.
@AkivaB
Жыл бұрын
That hits so close
@cholobok
5 ай бұрын
Naming variables really is one hard multivariate optimization problem.
@Salieri01
7 ай бұрын
The guy started the video with “block chain” like really man lol
@andrey.airsoft
4 ай бұрын
for me is naming things and text styling ...
@DsComputerWorld
7 ай бұрын
Naming variables is the most confusing part.
@donutdude4174
2 ай бұрын
Ez tip for naming things in minimal letters (make a table key in the comments near the Top) even the most obvious ones U will tend to forget after a while.
@iseeflowers
5 ай бұрын
Nowadays, the hardest part is getting a programming interview/ job and passing the coding interview.
Пікірлер: 719