![]() |
Keywords: coding
Now you have the code. What does the code actually do? It looks nice, right? Not bad. It’s certainly more advanced than some of the code I came up with as a kid. The key here is the sequence of the codes (the digits) as a sequence of data (the instructions).
If you’re really interested in the details of programming, I’ve used this blog post by Danica Rizzi, where she walks us through code she coded for a model of working from home for her children.
You’ll notice there are no debugging instructions (mostly because I didn’t really do much of that). That’s for you to figure out if you want to work that out yourself (for better or for worse).
Download code
You’ll notice there’s no other files in this code. Why? I copied the code directly into a coding app called Codesynthesis (It’s free). It’s really easy to use: It gives you an API that you can use to code your own. From there, you can upload the code and it gives you a link back to your code. You can view the code by clicking on the link that comes up. I use the text input on my iPad as a placeholder in the code so I can do that and make sure the code is typing correctly. When you come to a function that doesn’t work, click the red X that comes up and it’ll save you that instance of code (it’ll put it into the documentation).
To edit code, do this: Click on the “Your Files” icon on the top right. The file that comes up will be the code file you made earlier (the code in the screenshot above was saved from earlier). The first thing I did was copy and paste the code into CodeSynergy.
No comments:
Post a Comment