How good are you at coding?

There is a difference between learning the syntax of a given language and learning what do all the keywords mean. Someone who is well familiar with logic will have an easier time learning the meaning of those keywords. I say this because, a common theme in programming languages is that of a “type”. This is usually explained in vague ways to beginners. For example, in c#, a class is a reference type. But go try learning this and you’ll see analogies such as blueprints or templates. Now these analogies aren’t wrong and are indeed helpful. But they don’t give you the full picture. Whereas telling someone that a class is a reference type requires that they understand what a type is. This “type” is mostly meant as a type in terms of type theory. Now there are many other concepts of programming languages that are based on topics in logic. It’s just that someone familiar with things in logic will have an easier time understanding the concept. As for getting better at programming, practice is the best way to go. You can find a bunch of problems online for you to code. Doing these exposes you to different concepts of the programming language you’re using. As an example, if your programming language has some sort of data structure that mimics the structure of an array. Try writing a program that converts binary numbers to decimal without using that structure.

Side note: Someone familiar with mathematics will also be able to understand the concept of data structure a little easily as well. It mimics the idea of having a set in mathematics. Then we define rules on the set and make it a group, ring, vector space and so on. Whereas you have memory and certain rules defined on it. Then call it an array, list it tuple.

/r/math Thread