Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Learning Java...

Name: Anonymous 2019-01-07 14:44

Soooooo my employer tells me that I will never NOT have a job and will get paid high six-figures if I can learn Java at some point.

I'm a TOTAL beginner. Can you guys give me any tips, words of wisdom, or good places to go to learn Java programming or object oriented programming?

Name: Anonymous 2019-01-07 14:44

Can you briefly describe integers and float for me?

Reading HeadFirst Java but still don't get it.

Name: Anonymous 2019-01-07 15:54

use integers for small numbers, floats for large numbers

Name: Anonymous 2019-01-07 16:08

>>2
integers are integers
floats are rational numbers

Name: Anonymous 2019-01-07 16:47

Reject it. I would rather kill myself than use Java again.

Name: Anonymous 2019-01-07 18:11

I also would rather kill >>5-kun than use Java.

Name: Anonymous 2019-01-07 20:50

>>3
How do you decide if it's small or large?

Name: Anonymous 2019-01-08 2:16

>>7
Using the power of two!

Name: Anonymous 2019-01-08 7:28

if you don't get integers and floats then you need some CS101 about memory and data representation because using one in place of another will fuck your're are program up (watch Office Space to see an entire story based on some potential float bugs, and learn some ancient memes used by boomer programmers). basic CS knowledge is essential, don't yet dive into OOP or Java without it becasue if you don't, you'll be replaceable by a single uneducated pajeet code monkey who'll work for less money

Name: Anonymous 2019-01-08 9:05

Floats and doubles cannot accurately represent the base 10 multiples that we use for money. This issue isn't just for Java, it's for any programming language that uses base 2 floating-point types.

In base 10, you can write 10.25 as
1025 * 10-2
(an integer times a power of 10). IEEE-754 floating-point numbers are different, but a very simple way to think about them is to multiply by a power of two instead. For instance, you could be looking at 164 * 2-4 (an integer times a power of two), which is also equal to 10.25. That's not how the numbers are represented in memory, but the math implications are the same.

Name: Anonymous 2019-01-08 9:06

both floats and integers can represent repeating digits

Name: Anonymous 2019-01-08 10:52

>>11
checked

Name: Anonymous 2019-01-08 11:10

>>7
if it fits tightly inside your mom's anus it is large.

Name: Anonymous 2019-01-08 11:12

>>10
Doubles were made for scientists, not for your greedy merchants.

Name: Anonymous 2019-01-08 13:01

learn my anus

Name: Anonymous 2019-01-08 13:02

>>11
Checking for dubs with integers is easy. How would it be achieved for floats, without arithmetic?

Name: Anonymous 2019-01-08 16:24

Name: Anonymous 2019-01-08 18:48

>>10
Thats why we should represent money in string

Name: Anonymous 2019-01-08 19:57

>>18
String doesn't make very good money, even if you weave it with beads.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List