Skip to main content
GameDev.net gamedev.net
🔒 Locked

I Feel Really Stupid Now ...

Started by RLS0812 May 29, 2016 at 4:52 AM 3 replies 3.7k views
Original Post
RLS0812
RLS0812

We all have "one of those days" sometimes

For over 90 minutes I was attempting to assign a value to an initialized array - inside of the class body ...

( For you's that aren't familiar with Java, you can't do that - it throws errors )


public class Random{

// Can not do it this way
String a;
a = "Moo!";

// Correct way to do it
String b = "Moo";

// Also correct 
String c;
     public Random(){
     c = "Moo!";
     }

}
I cannot remember the books I've read any more than the meals I have eaten; even so, they have made me. ~ Ralph Waldo Emerson
MikeWillHugYou
MikeWillHugYou

90 minutes? I would have debugged that in half the time.

vanka78bg
vanka78bg

This is a typical symptom of mental exhaustion. Get a short vacation now! :)

spooneystone
spooneystone

Sort of thing i would do cos kids are bothering me all the time and i cant think straight.

SolDirix
SolDirix

Sometimes the dumb can infect us all at the most inconvenient moments. You are not alone.

View my game dev blog here!

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.