r/javahelp • • May 08 '19

Good at math to learn java

I have discalculia im horrible at math do you need to be good at math to learn coding java and java script

22 Upvotes

20 comments sorted by

View all comments

5

u/tragicxharmony May 08 '19

I have dyscalculia and I've been studying Java in school for the past year. It's going pretty well, honestly, but I've had to be very careful when working on projects because I have a lot of trouble with numbers moving around on me. One of the biggest things that trips me up is < and > symbols--I use them wrong all the time, for no good reason, and it creates a lot of errors so I always double and triple check. I use a lot of comments to remind myself what numbers are there for (as well as very very obvious variable names--nothing like just int i = 1 because I'll lose track of what's going on), and if something isn't going right I have been known to print out whatever I'm working on and highlight things because for some reason seeing the code in a different form works better sometimes.
I'm naturally good at English and writing; coding isn't as natural to me, but adjusting things to fit my learning style has worked so far for me. I'm very lucky because my degree is a Bachelor of Arts in computer science, rather than a Bachelor of Science, so I don't have to take any math higher than college-level algebra. I don't know if you were looking to do a traditional college program or something different entirely, but that may be something to look into as more colleges are beginning to offer less math-heavy degree tracks.

3

u/DupeDawn May 08 '19

Thankyou this comment was very helpful

1

u/AnonymousHerbMan May 09 '19

so I don't have to take any math higher than college-level algebra

/u/tragicxharmony this doesn't seem right. Are you sure that college-level algebra is your highest? That would mean you don't even need calculus?

Look, I'm in the same boat right now as /u/DupeDawn, 100%. I promise you. Well, the boat that can see the shoreline anyway.

I failed algebra in highschool but passed the following year. Failed pre-calc twice as a freshman in college, but passed the third semester. Calculus, however... that's a battle I've been fighting for 4 years now.

I'm also getting a Bachelor of Arts in Computer Science, and I chose my school because it had the least math of those I looked at. The classes I had/have to take are:

  • Pre-calc

  • Calc 1

  • Discrete Math

  • Discrete Math 2

Most colleges offering a BA in CSC will have something near identical to this (plus or minus a class). I don't want you getting the idea that you can skirt by with just college algebra. You can definitely expect to take at the least Calc and Discrete Math (or some equivalent logic class).

I'm in my 5th year still taking Calculus (actually looks like I'm gonna pass this time!) and Discrete 2. I've finished all of my CSC classes (except for 1) and my minor in CIS. The only things left is the math -- I'm at the finish line.

For me personally, Discrete math plays the biggest role in coding. This becomes especially true in the later classes. If you haven't taken the proper discrete classes (which may have calc as a pre-req), you might find yourself lost when discussing certain subjects. 1 class in specific that I'm currently struggling with has Discrete 2 as a pre-req. I don't find the code or concepts around the algorithms difficult -- It's when I'm asked to write a proof of the algorithm that I'm SOL.

So do you really need to know calc in order to code? Debatable. I spent an entire summer at an internship coding for industrial machines in C#. Calc made up about 15-20% of my code. A large portion of it was easily searchable online or reused code from other methods. But in a case like that, you might want that calc backbone.

But there's also lot of times where calc out of sight, out of mind. I've currently worked my way as a freelancer developing websites for $50/hr, and I don't use calc in the slightest. So depending on your end goal with where you want to go as a coder, the need for calc becomes debatable. If you're gonna pursue CSC for a degree, you'll only need calc for the occasional formula or graphics problem.

**TLDR: Whether or not you need Calc is debatable and depends a lot on what field of programming you intend to pursue. But if you're looking at a degree in Comp Sci, calc is mostly just a checkbox pre-req for other things.

1

u/tragicxharmony May 09 '19

Yes, I know the course requirements for my major. I need to take algebra and a discrete math course specifically for the Computer Science degree. According to people who have taken that discrete course, it's theory-based, and I generally do well in theory-based courses.
The ONLY difference between the BA and the BS is that two math classes have been taken out of the BA, replaced by one more mandatory computer science course and one elective computer science course. I know this is highly unusual compared to usual requirements, but I very much know what my degree requires me to take. I don't expect or want a traditional software developer position when I leave school, because I know I'm not as technically skilled in math and have an extensive background in English and communications.