Conversation
Notices
-
Im currently stuck in an infinite loop.
Line 1: talk_on_social_media()
Line 2: lay_down_and_watch_a_video()
Line 3: attempt_to_do_something_productive()
GOTO line 1Sunday, 10-Aug-14 19:43:16 UTC from web-
@l1ghtsword I'm pretty much the same.
public static void tairas_day
{
while (taira.equals ("bored")
{
activity = (int)(Math.random() * 3) + 1;
if (activity == 1)
{
watch_anime();
}
else if (activity == 2)
{
use social media();
}
else if (activity == 3)
{
listen_to_music();
}
}
}Sunday, 10-Aug-14 19:57:31 UTC from web-
@northernnarwhal Let's teach you about the switch statement
Sunday, 10-Aug-14 19:59:00 UTC from web-
@redenchilada That would probably help out, though it's not like I'm really planning on doing any programming in the foreseeable future, I was just in a Comp Science class ~a year ago and picked up a bit of code.
Sunday, 10-Aug-14 20:01:51 UTC from web -
@redenchilada Can you teach me how to Dougie instead?
Sunday, 10-Aug-14 20:03:11 UTC from web
-
-
Sunday, 10-Aug-14 19:59:58 UTC from web
-
@l1ghtsword I really haven't touched anything code related in almost a year and only ever did any actual programming for a little bit in a Comp Science course I took back last year, so I know there are going to be mistakes and I'm going to forget things.
Sunday, 10-Aug-14 20:04:13 UTC from web-
@northernnarwhal its really just spacing. i spend way to much time on arrangement, pay me no mind
Sunday, 10-Aug-14 20:07:33 UTC from web-
@l1ghtsword Is it the curly brackets?
Sunday, 10-Aug-14 20:08:03 UTC from web-
@northernnarwhal For most OOP language yes.
Sunday, 10-Aug-14 20:10:06 UTC from web-
@l1ghtsword That's just how I'm used to arranging them. Helps me keep track of what's open and closed.
Sunday, 10-Aug-14 20:11:27 UTC from web-
@northernnarwhal This is a snippet of a bowling game i was doing for PROG year 1. http://rainbowdash.net/url/772827
Sunday, 10-Aug-14 20:14:59 UTC from web-
@l1ghtsword I actually understood most of that
Sunday, 10-Aug-14 20:16:43 UTC from web-
@northernnarwhal Its not too sophisticated but that's generally how i do my spacing and code structure. for my own sanity, heh
Sunday, 10-Aug-14 20:17:33 UTC from web -
@northernnarwhal That is c# actually
Sunday, 10-Aug-14 20:18:07 UTC from web-
@l1ghtsword A lot of the syntax is similar to Java though, I understand the logic of the code.
Sunday, 10-Aug-14 20:18:44 UTC from web-
@northernnarwhal its IDENTICAL to java XD, That's why i had no problems doing this year 1. I think the only difference was the syntax for array's
Sunday, 10-Aug-14 20:22:41 UTC from web-
@l1ghtsword If I ever pick up programming again I'll try learning it then, since I already know the basics of Java
Sunday, 10-Aug-14 20:25:12 UTC from web-
@northernnarwhal true
Sunday, 10-Aug-14 20:25:28 UTC from web
-
-
-
-
-
-
-
-
-
-
-
-
-
-