I am a beautiful man.
No, seriously, I know C# and maybe that helps due to similarity. But Java feels like I'm not programming, it feels like I'm having an English discussion with the computer about some form of logic (but since it's Java, less logic than usual). I could say the same about C#, however the primary difference is that C# doesn't induce the sensation of dying brain cells. If you picture this in your head, make sure to add agonized screams as the brain cells die off one-by-one.
Quote from Oddball: July 26, 2014, 02:36:00 amNo, seriously, I know C# and maybe that helps due to similarity. But Java feels like I'm not programming, it feels like I'm having an English discussion with the computer about some form of logic (but since it's Java, less logic than usual). I could say the same about C#, however the primary difference is that C# doesn't induce the sensation of dying brain cells. If you picture this in your head, make sure to add agonized screams as the brain cells die off one-by-one.I approve of this description of Java
In computer science, reflection is the ability of a computer program to examine (see type introspection) and modify the structure and behavior (specifically the values, meta-data, properties and functions) of the program at runtime.
When you wrote your code you had bugs in it which you had to fix. Some of the bugs were probably easy to identify; others probably took more time.1. Characterise the kinds of bugs you had to deal with:
What University thinks reflection is:Spoiler : Quote from: lame reflection assignment exampleWhen you wrote your code you had bugs in it which you had to fix. Some of the bugs were probably easy to identify; others probably took more time.1. Characterise the kinds of bugs you had to deal with:Actually had to make shit up because I didn't have any? Then every reflection expands on this and I had to improvise..
What Reflection actually is:
What University is:Spoiler :
Java feels like I'm not programming, it feels like I'm having an English discussion with the computer about some form of logic (but since it's Java, less logic than usual)
/**Tue Mar 18 01:21:50 NZDT 2014iterate the data members*/public String getRetrieveCode(String table)throws Exception{String varName,code="table="+table;Field[]fields=getClass().getDeclaredFields();StringBuilder sb=new StringBuilder(fields.length*20);Field field;for(int i=0;i<fields.length;i++){field=fields[i];if (!java.lang.reflect.Modifier.isStatic(field.getModifiers())) {sb.append(String.format("&%s=%s",field.getName(),field.get(this).toString()));}}//4icode+=sb.toString();return code;}//me
umad
It's like watching Homer trying to make cereal.
Guy who can't get a job or finish first year of compsci at uni goes on rampage attempting to belittle others. Your actions have spoken far louder than words you type.
OH LOOOK SOMEONE SUMMONSED HIM! I SAW HIM POST IN ANOTHER THREAD AND COULDN'T BELIEBER IT SO I CAME HERE TO CHECK!