Coding Tutor

Interactively learn to code

Published by: John Kountz

Description

I created Coding Tutor to help anyone learn to about coding.
The best description of this App might be that it works like an interactive book where you can both read and try.
You will learn by doing.
One of the great joys of writing code is watching it execute and being able to interactively engage with the program as it executes. No currently available coding app on iOS offers the ability to execute (interpret) code and run interactively on the device. Instead they submit the code to a remote server. To use these you MUST be connected to the internet.
Not so here. All code is executed on your device.
For example, when read(expression, expression, …) is running, you are prompted to enter responses for the variables interactively.
Learning by doing is fun.
I chose Pascal as the language because it is easy to read and understand. Pascal is a well structured procedural language with simple structure.
Today there are many beautiful object oriented (OO) programming languages. In my experience, object oriented languages (Java, Swift, C#, Python, Kotlin, TypeScript, etc.) are significantly harder to grasp.
Pascal is simple and provides a solid foundation for the novice learning to code.
I have implemented a tiny Pascal compiler, interpreter and runtime environment where you can safely learn and play in a sandbox which will not crash or otherwise wreak havoc on your device.
Keep in mind my goal here was not to create a complete Pascal compiler supporting every aspect of the language and runtime. This is a tiny app designed for teaching. Once you have the basic concepts, I would encourage you to investigate Free Pascal or any number of complete Pascal compilers that are freely available.
Here’s a brief summary of what is supported.
Variable data types:
- Integer
- Real
- String
- FileHandle
- Arrays of Integer, Real, or String.
- Records
This represents enough to begin learning. I have not implemented user defined types aside from Records. File writes are restricted to a limit of 8,192 writes per FileHandle. Array length is similarly limited to 8,192 elements. Enough to learn but not blow-up your devices.
Runtime library:
- Console write, writeln, read
- File (sandboxed) read, write, assign, append, reset, rewrite, close, seek (begin, or end), and delete.
- Array length (ArrayLen)
- String manipulation including StrLen, SubString (a.k.a. Copy), StrSplit, Upper/LowerCase
- Type conversions ToReal, ToInteger
- IsFinite to test for finite Real values
- Exit to end currently executing program
Control flow:
- if expression then else
- while expression do
- repeat statements until expression
- for var := expression {to,downto} do
Operator support is similarly a subset of the full Pascal language.
The App explains these concepts in detail and provides complete working code that can be modified, and executed interactively to help teach the concepts.
Finally, programming is a trade that can be learned by anyone with the aptitude. I created this app to help others discover the joys of writing code.
I am happy to answer questions, review programs you have written for which you have questions. In the Forward section of the doc’s you will find an email where you can send questions.
I am personally grateful to all of the giants that have gone before me and provided beautiful programming languages. Specifically I want to thank Anders Hejlsberg, a giant that helped me along the way.
Hopefully this tiny app will similarly inspire future programmers.
Cheers-
jkountz
Hide Show More...

Coding Tutor FAQ

  • Is Coding Tutor free?

    Yes, Coding Tutor is completely free and it doesn't have any in-app purchases or subscriptions.

  • Is Coding Tutor legit?

    Not enough reviews to make a reliable assessment. The app needs more user feedback.

    Thanks for the vote

  • How much does Coding Tutor cost?

    Coding Tutor is free.

  • What is Coding Tutor revenue?

    To get estimated revenue of Coding Tutor app and other AppStore insights you can sign up to AppTail Mobile Analytics Platform.

User Rating
App is not rated in South Africa yet.
Ratings History

Coding Tutor Reviews

App doesn't have any reviews yet

Keywords

Coding Tutor Installs

Last 30 days

Coding Tutor Revenue

Last 30 days

Coding Tutor Revenue and Downloads

Gain valuable insights into Coding Tutor performance with our analytics.
Sign up now to access downloads, revenue, and more.

App Info

Publisher
John Kountz
Languages
English
Recent release
1.12 (10 months ago )
Released on
Aug 2, 2024 (11 months ago )
Last Updated
1 month ago
This page includes copyrighted content from third parties, shared solely for commentary and research in accordance with fair use under applicable copyright laws. All trademarks, including product, service, and company names or logos, remain the property of their respective owners. Their use here falls under nominative fair use as outlined by trademark laws and does not suggest any affiliation with or endorsement by the trademark holders.