Recursion is very powerful, I haven't been programming for very long, in fact I've only been programming since last semester when I took CSC108. After about 5 months of learning how to code I didn't realize how much extra work I had been doing until I learned of recursion for recursion truly does take out a lot of unnecessary code. The process of recursion, from what I understand, is that of using a function inside of itself. A rather poor example of this would be the equation f(x) = f(x) + x^2. Obviously this function is a bad example, as you would continue to square x an infinite amount of times, but it gets you thinking about where recursion could work. From that equation you could say: "How do I end this?" or "When would this be useful?". It turns out to be useful in many different ways for instance you may want to create trees that repeat themselves in a certain pattern a certain number of times and this can be done much faster and much easier with recursion.
Recursion allows the programmer to make an infinite amount of iterations of a problem with only a finite amount of resources. If we could do that in every other field of the world we would run out of problems in our world pretty fast. Recursion does something very extraordinarily unique and that is why it's so powerful.
Sunday, 1 March 2015
Sunday, 25 January 2015
Why Geeks Should Write
So why should geeks write? First of all, I think there are many reasons why all people should write:
1) Writing is a beautiful way to express yourself and probably the most atrticulate.
2) Writing is arguably the best way to learn a new subject when you do not have someone to teach you.
3) Writing is also an amazing way for a person to strengthen their own knowledge or beliefs.
So to back ot the original question, why should geeks write? Well, geeks(G) are a subset of people(P) and if all x in P should write then this implies that all x in G should write too. When geeks write they are able to spread their knowledge to places where before it might not have reacherd. They can provide insightful and powerful thoughts and beliefs and in this provision they become more and more confident in what they are saying. Geeks also have a lot of information about very niche areas in the world. The only way for us to expand our knowledge base is for people, like geeks, to continue to broaden our horizons on things we did not even know we wanted to know. This is incredibly important as the only way for us to grow as a society is for us to work in areas that have not been discovered. When geeks write, they inspire more people to become geeks, and without geeks there is no way we would even be half as developed as we are today so the growth of the geek population is very important. So, if you're a geek, go grab a pen, if you're not, then keep learning until you become inspired enough about something to become one. Keep doing you, geeks.
1) Writing is a beautiful way to express yourself and probably the most atrticulate.
2) Writing is arguably the best way to learn a new subject when you do not have someone to teach you.
3) Writing is also an amazing way for a person to strengthen their own knowledge or beliefs.
So to back ot the original question, why should geeks write? Well, geeks(G) are a subset of people(P) and if all x in P should write then this implies that all x in G should write too. When geeks write they are able to spread their knowledge to places where before it might not have reacherd. They can provide insightful and powerful thoughts and beliefs and in this provision they become more and more confident in what they are saying. Geeks also have a lot of information about very niche areas in the world. The only way for us to expand our knowledge base is for people, like geeks, to continue to broaden our horizons on things we did not even know we wanted to know. This is incredibly important as the only way for us to grow as a society is for us to work in areas that have not been discovered. When geeks write, they inspire more people to become geeks, and without geeks there is no way we would even be half as developed as we are today so the growth of the geek population is very important. So, if you're a geek, go grab a pen, if you're not, then keep learning until you become inspired enough about something to become one. Keep doing you, geeks.
Subscribe to:
Posts (Atom)