Updated 4_FUNctions.txt

Bobby Grayson authored
revision 768856b7ef4f8db1e7de9d3a9cb28343a0ce09f0
# FUNctions

Every programming language has functions. You make 'em, you call 'em, you yell at them, and more. These properties are reminiscent of children in our physical world; and like children they are little bags of potential that can change your world.

Functions make things *easy* in programming. This is a rare and wonderful thing when it comes to a field that largely results in one scratching their head and pondering when trying to solve a problem. Think of them as mallaeble legos you can form into the strangest of things for whatever unique purpose you need. But, like having children, sometimes it is not the best call to declare a function out of nowhere. We won't get too far into the specific use-cases here. This is to be a guide on syntax, not best practice (that comes when we're pro as shit later).

### Defining a FUNction

Functions are very easy to define and work with in Clojure. Since it is a functional programming language, its a damn good thing they did this or we would be having a bad time. However, with great power comes great responsibility. And one of Clojure's many powers is there are a LOT of different means to go about defining functions.