Skip to main content

Um, Life?

Thu Jun 25 01:41:13 PM MDT 2026 Today feels like there are so many difficult things going on, and I don’t know how to even do that! It’s annoying at least, but what am I supposed to do about it? I don’t know. Life will always be what it will be and that’s all there is to it. I mean, come on. If I had the ability to make this life listen to me, do you honestly think I would be here thinking about it all? I highly doubt it. There’s nothing in this life that will make me want to understand it less than someone in my face yelling at me telling me everything will be “fine.” Yeah, that doesn’t fly for me. Not at all.

KISS

Keep It Simple Stupid (No Really)

From time to time I find it amusing what kind of code can be written and what code actually gets passed through to a production setting. Most of the time it’s something I’ve written myself. Ever look back to a project you worked on a long time ago? That’s a scary thought now isn’t it? You take a look back and go… how did that ever work? You also might think, what in the world was I thinking when I coded that?

Awful Markup

Back when I first started learning HTML it was the standard to have all of your tags in uppercase. Uppercase! I suppose someone wanted to establish content from presentation or structure. Yeah structure. HTML isn’t a presentation layer, that would be CSS. Looking back at that code I cringe. Why would anyone ever even want to code in all uppercase? It didn’t make any sense. Not only does it hurt the eyes to look at it, but it’s also hard to read.

Method Lengths

How long should a method be exactly? I’ve read that methods should be a few lines long. Don’t write hundreds of lines in a single method. You’d go crazy nuts trying to find a bug in there! No really. Be like searching for a needle in a haystack. Don’t try it. You’ll go blind.

Just keep your methods/functions short and simple. I’d rather look at several methods with a few lines of code than a few methods with lots of lines of code in them. What’s going on where? Make it easy and simple to understand.

Comments

Make your code self documenting. Don’t flood it with unneccessary comments. If you want a method to return a string in HTML format, name it like that. Instead of getContent() call it getContentAsHtml(). Makes sense right? Whoever is looking at the source code later on down the line won’t wonder what format the content will be returned as.

Documentation

Provide adequate documenation. Don’t write novels with your documentation. But write what is needed to get someone started. You know how projects have a two minute get started guide? Yep do that. If it’s a Java project, have Javadocs available for it. You don’t want to have your users in the dark about what your project does.

Write Tutorials Smart

If you’re going to write a website that contains tutorials. Um, keep them simple and easy to follow. Also keep with the actual current standards. I should say that again. Keep with the current standards.

An example of this. Years ago, it was typical to have your HTML markup in uppercase. That isn’t the case anymore (no pun intended… or was there?). No realy though. Do not put your HTML in upper case. Don’t! It’s bad. You will be looked down upon so bad. So very very bad. Keep current with whatever language you’re running with and be good at it. Seriously do it. You can deprecate things, that’s just fine. Most languages have a way to do that. Use it!

Comments

Popular posts from this blog

Schizoaffective Disorder

I want to say it first began in High School when I thought I was trying to beat the devil. Now when I say I was "trying to beat the devil", I mean I actually thought I was hearing the devil speak to me at night and that I had to find some way to overcome him. Looking back I should have sought professional help then. I remember telling a friend about this experience, and he looked at me like I was nuts. Talk about craziness right? Yeah something like that. I believe my first mental break was when I was serving a mission for The Church of Jesus Christ of Latter-Day Saints . I wanted to go home so bad. It could have just been homesickness . But...there was something more to it. About halfway through I was just done with it all. I had had enough of rejection and wanted to go home. But I was afraid that I was unable to because I would simply be told no . I know that sounds silly to people. But that's what happened. I didn't b...

Temptation Bible vs Book of Mormon

In the Bible in 1 Corinthians 10:13 we find: There hath no temptation taken you but such as is common to man: but God is faithful, who will not suffer you to be tempted above that ye are able ; but will with the temptation also make a way to escape, that ye may be able to bear it. But what might seem as a contradiction is found in Alma 13:28 But that ye would humble yourselves before the Lord, and call on his holy name, and watch and pray continually, that ye may not be tempted above that which ye can bear , and thus be led by the Holy Spirit, becoming humble, meek, submissive, patient, full of love and all long-suffering; So, which is it? Either God tempts you to a point and stops, or you have to actively pray not to be tempted beyond that no return point. Which is it?

Didn't Sleep

 What's the point of sleep anymore if I can't sleep? I don't think I slept any good last night. I was awake at 3 am wondering to myself, what on earth am I doing awake? Yeah, that happened. It doesn't make any sense. Fortunately, it's the weekend. So, I can catch up on sleep tonight. I don't have to be anywhere tomorrow, so it's a good opportunity to actually sleep for once. Whatever the case, I hope I'll be able to fall asleep and stay asleep. We will see what happens.