 Today we're going to continue with the theme of my previous videos where we're looking at how yeah You can create software real easily and fast But it's those little changes little things that you do that make it that much better and you can do these things forever The software is like art You know the whole saying of art is never done never completed. It's just abandoned software kind of same way It could always be improved But I'm going to show you a real-world scenario here on some software that we use where I work Okay, so this is basically what the form looks like on the web page we use It's obviously the actual one has a little bit of CSS to make it look slightly nicer And it's embedded in a page with menus and stuff around it But this is what the form looks like you choose what type of a time you want off Here would be a list of names and you choose who you're sending it to When you want your time off to start and and notes and I do like a lot of times in forms to you know I say in general in the previous videos you want to limit what they can input But it also is nice to have a comments area where they can add something some sort of note to who it's being sent to in case the form doesn't You know contain some information. They want to give you so that's not bad The problem I have with the one that we have it's not the main focus of this video is the notes are required Which is weird when I'm spending time off. That's like I shouldn't I don't there's no requirement for me to tell them Why I want time off so lots of times I just end up gibbering in here or I'll just put a period or something There's got to be something in that box or or they won't let me submit it but the main problem is this top drop-down option and There are going to be times where you want to have a default option in your drop-down menu But this one has caused problems in the past not huge problems But when we first start using it what would happen and I've done this myself even after I knew it was an issue I'd come to the page. I click on here I'd select someone's name I put in my end I start time my end time and type something in for the notes and submit it and Never change this and it's just something. I don't know the way. It's designed. I'm not the only one There's an issue with people forgetting to change that and the thing is it defaults to education leave Which is probably one of the least I mean people take educational leave, you know for continuing education But most people are probably use vacation and personal time We're probably the first two that people are going to use but it defaults to education and again after even knowing this problem I've submitted stuff Forgetting to change that and then I get a message from the person. I submitted to going hey you select educational leave Obviously, that's not what you want. What do you want to use? Do you want to use vacation time or personal time? And and then I feel like an idiot because I know I know to change this But for some reason I forget and I'm not the only one so how could this easily be fixed well, let's look at the code and I wrote up most of this just to look like the one but the actual drop-down menu the select option is Copied from the actual website. So this is what it looks like all they would have to do is something like this Put in an option with nothing or a value of null and then when you go to submit it have it check is That null or is it something else? There's a few different ways to do it, but not have a default option So when you come in here, it's blank and you can't submit it until you choose one of the other things Again, that's that's a tiny thing and this is a company that this is what they do They they make software that this set software for fire fighters Emergency response units and I think a lot of nurses staff and stuff like that. It's basically they do calendar stuff And so smitting time off as part of that and I would think that would be an ongoing issue And you would think one of the developers would go Oh, hey, let's just change it so the default is null and you have to choose something or you can't submit it Yeah, so again one little line of code in my opinion would have made this a lot better and and caused issues because this is still still happening I I still have many years of work, and I would not doubt that at some point during this I'm going to do that again. I'm gonna accidentally forget to change that so yeah the little things can make software better So there you go That was a quick example of a real-world scenario where one little thing can make something better And again, I'm not blaming them for writing it that way It's like when you develop a software maybe you don't thinking. Oh, this shouldn't default to education But you would think as time goes on that companies would complain someone would go Oh, this is an issue. I mean to fix it again. Maybe companies aren't complaining I'm sure my management a lot of times probably they don't care enough that whoever communicates with the software company It's not their issue because they might not be the ones that are collecting the time off You know two different people so they're not bothered by it. So it's not being fixed either way if you are a software developer think about little things like that and That's it. Thanks for watching films by Chris comm. That's Chris the K check out the link in the description as always I hope that you have a great day