Welcome Guest, Not a member yet? Register   Sign In
Math and coding
#1

Hi! 
Soon I will jump into IT and I want to know - is a math mandatory? 
I got just a basic knowledge of this subject, so would be nice to hear about your experience with good math skills or absence of skills in general.
Thanks in advance.
Reply
#2

1 + 1 = 2
Or = anything you want

Learning CI4 from my works, from errors and how to fix bugs in the community

Love CI & Thanks CI Teams

Reply
#3

(09-14-2020, 10:03 PM)nc03061981 Wrote: 1 + 1 = 2
Or = anything you want
that is not something I wanted to hear,but thanks..Smile
Reply
#4

Very broad and open question.
My personal opinion is that a good programmer should have skills in problem-solving and language. By language I don't mean programming language but instead the skill of expressing thoughts and ideas, both in writing and verbally. Once you have this skill, you can easily learn new programming languages and express yourself in that language. I use C, PHP, Xojo Basic, shell and JavaScript on a daily basis for work and I'm not preferring any over the other - they are good at different things.
I've been mentor for students in college where they teach a specific language (almost exclusively Java but also some JavaScript and (sigh) HTML). Learning a language but not learning problem-solving gives excellent programmers that are useless at solving an actual problem and if you have learned to do OOP specifically in Java but haven't grasped the OOP concept you are likely to fail in a real-world project.
As to math - it gives you an important aspect when it comes to problem-solving and which is good. I have been working in projects heavy on math so I had to refresh integrals and statistic analysis methods for that specific project (I attended university in late 90's for a master in Electrical Engineering so some of the details of Newton-Raphson's method were lost to me and I had to refresh).
As to literature on programming I prefer language-agnostic books describing concepts and algorithms in pseudo-code. This makes is possible for me to implement the concept in the language of my choice. Some personal favorites are:
* PHP and MySQL Web Development (Thomson and Welling) - the first edition of this book took me from programming web-systems in perl to PHP back in 2001.
* Design Patterns (Gemma, Helm, Johnson and Vlissides)
* Algorithms (Sedgewick and Wayne)
* The Art of Computer Programming (Knuth) - a must have as a programmer, but I doubt most of us have actually read it cover-to-cover...
* (More recent) - The Fizz Buzz Fix (Barnard)

Wishing you all luck in your programming career!
/Mattias
Reply
#5

Big thanks to you Mattias!
Also the literature list - so appreciated, so hard to find the appropriate literature now.
Hope one day I`ll become a big programmer Smile
Reply
#6

Computers use Binary math zero (0) or 1 (1) on/off yes/no.

Unless you are coding in binary you do not need to learn binary math.

For example a binary word has 8-bits 0 to 255 what happens if you add 1 to 255?
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply
#7

(09-15-2020, 02:45 AM)InsiteFX Wrote: Computers use Binary math zero (0) or 1 (1) on/off yes/no.

Unless you are coding in binary you do not need to learn binary math.

For example a binary word has 8-bits 0 to 255 what happens if you add 1 to 255?
crash?xd
Reply
#8

No it wraps around and sets the sign bit -+
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply
#9

Beware of computer arithmetic Smile

https://0.30000000000000004.com/
Reply
#10

You need to know a minimum of math. Depending of what you are coding you may need a lot of math. For example, if you plan on developing games, you will need math for the physics formula, if you use bitwise operation you need to know binary.
CodeIgniter 4 tutorials (EN/FR) - https://includebeer.com
/*** NO support in private message - Use the forum! ***/
Reply




Theme © iAndrew 2016 - Forum software by © MyBB