Author Archives: Tyler (Chacha)
Using Factories
Factories are neat, because they allow you to set common properties for objects before you create the object. Plus, all the objects coming out of the factory will have those same settings. For instance, take the follow factory: class Item{ … Continue reading
Building a Language: Math Expressions
If someone tells you to list every math operation you know, you might tell them: addition, subtraction, multiplication and division. And you would be right. Each of these are math operations. But to a programming language, these are the least … Continue reading
The 3 Levels of Thinking
Programmers all over the world start new projects everyday. You can see them start on social sites like Github, or in the shadows of the internet hosted on random servers. Each one of these projects has a purpose and function. … Continue reading
Modularity: What is it?
You may have heard of the term ‘Modularity’ before. In fact, I have several articles written about how to use it right on this blog. But, before you can use it you need to know what it is. As Wikipedia … Continue reading
Your Methods Are Showing: Why Public Methods Need Special Attention
So you are about to create a new class. You go to define the first method. You mull over whether to make it a private or public method, choose public, and go on with your day. This isn’t exactly the … Continue reading
Modularity: You Can’t Ignore the Big Picture
Building modular components can be a very efficient method of construction. Each component is its own mini-project, and all the parts come together to form something greater than the sum of its parts. Instead of building a blog, you build … Continue reading
Design Constraints
This year we attempted to design our robot modularly. We assigned separate teams to each design parts of the robot (lift, grabber, chasis, minibot) and then brought them all together. Whether or not this is the best way to design … Continue reading
Code: Reuse and Recycle.
Have you ever gotten the feeling that you’re currently writing a piece of code you’ve written before? I have. And when I started having those feelings too often, I knew that something had to be done. If I spend hours … Continue reading
URL: The Uniform Resource Locator
The basis of the entire internet might be connected to a single concept: The URL. Every website you go to, every link you click on, and every file you download relies on it. The funny thing is that most people … Continue reading
Cookies: What they are, How they work
Cookies are a marvelous feature given to browsers to allow websites to track users from page to page. They have been used for both good and evil during the short lifespan of the Internet, and here I am to provide … Continue reading