<commit_before><commit_msg>start oop guide post<commit_after>---
layout: post
cover: 'assets/images/sloping_mountains.jpg'
title: OOP Guide
date:   2016-04-14 10:18:00
tags: ruby 
subclass: 'post tag-test tag-content'
categories: 'casper'
navigation: True
logo: 'assets/images/logo.png'
---

In a procedural language, behavior and data are separate. Data gets packages into variables and pass around to the behaviors. But an OO language combines them, and we have what is refered to as an object. Objects have behavior and may contain data. They invoke behavior in one another by sending each other messages.

{'fraction_non_alphanumeric': 0.07881773399014778, 'fraction_numerical': 0.022988505747126436, 'mean_word_length': 4.700934579439252, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '792258', 'n_tokens_mistral': 183, 'n_tokens_neox': 169, 'n_words': 80}