Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

General Discussion

Where does it come from?

I've taken a few short, but compact, classes before. I'm starting over because I have lost almost everything. My question is is that when I type something in whatever code I'm using. what is telling it to do what I'm typing. What is the underlying code that makes it so my code works or doesn't based on what I type?

1 Answer

Bryan Land
Bryan Land
10,281 Points

When you type in a shell with whichever language you are writing in, the interpreter expects patterns of text that match that language. It Reads what you type, Evaluates, Prints the result and Loops back to start again. What I think you're wondering is what drives it all. For that we can thank Ada Lovelace and her analytical engine. Maybe too general an answer, but feel free to add to it everyone :)