[QUOTE=Haskell;48220491]Christ, my head hurts after this
[code]using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;
using System.Dynamic;
using System.Reflection;
namespace TimGame
{
class ClassLoader
{
public dynamic Classes;
public ClassLoader()
{
Classes = new ExpandoObject();
}
private Type[] GetTypes(Assembly Assembly, string Scope="TimGame" ){
return Assembly.GetTypes().Where(t => String.Equals(t.Namespace, Scope, StringComparison.Ordinal)).ToArray();
}
public void ComputeClasses()
{
Type[] NamespaceClasses = this.GetTypes(Assembly.GetExecutingAssembly());
for (int i = 0; i < NamespaceClasses.Length; i++)
{
((IDictionary<string, object>)this.Classes)[NamespaceClasses.GetType().Name ] = NamespaceClasses;
}
}
}
}
[/code]
But now I feel like an amazing programmer.[/QUOTE]
I'm trying my best to understand how it works. Got an example?
[video=youtube;j_wBHI0weZw]https://www.youtube.com/watch?v=j_wBHI0weZw[/video]
John Cena is full of surprises.
[QUOTE=Davidn64;48220554]I'm trying my best to understand how it works. Got an example?[/QUOTE]
It loads all the classes inside a namespace, much like composer, because I hate having to do
[code]
public MyClass;
public MyOtherClass;
public void penis(){
MyClass = new MyClass;
MyOtherClass = new MyOtherClass;
}
[/code]
gta 4's pc version sucks dick
Ok so I can't watch a stream on Twitch,it tells me to install Flash Player and I have Flash Player installed,what do ?
Ok,it was just Shumway who blocked Flash
btw ninny what's the deal with all these stupid ratings?
i understand this one, not so much the others
[video=youtube;x33RbKZXUP0]https://www.youtube.com/watch?v=x33RbKZXUP0[/video]
Man, this brings back memories. I remember listening to this CD 24/7 when I got it. Even if you've never heard of or played Chrono Trigger, totally give this a listen. 10/10 music if I ever heard it.
I wonder do those donations that Concern workers talk you into it from door to door really go to charity?
[QUOTE=arleitiss;48220899]I wonder do those donations that Concern workers talk you into it from door to door really go to charity?[/QUOTE]
usually charities only give 10% of earnings to actual good causes, or so I've heard
The lower half of my body has totally shut down, I don't know why but I can't feel my thighs.. I hope I just slept the wrong way or something, if I don't feel better soon I might have to doctor :(
gingerbeer
[editline]16th July 2015[/editline]
thunderborgs
good morning everyone
i fell asleep after my alarm went off on accident but then i got a call from someone who called the wrong number and the ringer woke me up again
thanks random person
God damnit, I'm playing Bloodborn right now and people are just willingly being dicks to me. I summon a guy for a tough boss and about halfway through the guy just jumps off the arena to his death for no reason but to fuck with me. Then I died to the buffed up coop boss. Fuck you man.
And now a pigeon smacked itself on my room's window.
im graduating in 40 minutes help
ugh i'm so mad at myself for letting my room get this digusting. never again
[editline]16th July 2015[/editline]
wtf there's seeds all in my carpet did someone try to turn my floor into a weed farm or something
I'd just like to state that if the UK leaves the EU,
I will on all levels be fucked.
I am rather disappointed, GTA SA keeps glitching out and crashing on my perfectly normal pc. All other games I own work but GTA SA is just completely fucking up.
[QUOTE=kilerabv;48221060]And now a pigeon smacked itself on my room's window.[/QUOTE]
stop cleaning your windows so well
[url]http://store.steampowered.com/app/312530/[/url]
Does anyone wanna chip in for a Duck game 4pack?
[QUOTE=Haskell;48221111]I'd just like to state that if the UK leaves the EU,
I will on all levels be fucked.[/QUOTE]
How?
[QUOTE=Linkuya;48220503]I will never understand programming.[/QUOTE]
It's hard to understand C# when it's verbose as crap. Thing.this().getThat(OtherThing.getThingyDingy(this.boldEh())). If you want more confusion, give [URL=http://learnyouahaskell.com]Haskell[/URL] a shot. It does things very differently. /= instead of !=, ++ to join lists, and !! to get an index of a list. It almost makes me want to use [URL=https://en.wikipedia.org/wiki/CHICKEN_%28Scheme_implementation%29]Chicken Scheme Lisp[/URL] instead.
[editline]e[/editline]
Of course, I'm a Perl luser, so what do I know?
[QUOTE=Paranoia10;48221122]stop cleaning your windows so well[/QUOTE]
Never!
you guys ever miss somebody out of the blue that you haven't missed in a long time cuz i'm missing someone hard rn
i hope we'll study a programming language in HS
because i can't understand jack shit when i see code
[QUOTE=Paranoia10;48221208]i hope we'll study a programming language in HS
because i can't understand jack shit when i see code[/QUOTE]
I thought schools started teaching Java
you overestimate the education in this shithole
[QUOTE=EdvardSchnitz;48221226]I thought schools started teaching Java[/QUOTE]
I don't think that is a good thing
[QUOTE=EdvardSchnitz;48221226]I thought schools started teaching Java[/QUOTE]
i took a class in HS that taught java
maybe that's why i hate programming now
[QUOTE=Paranoia10;48221233]you overestimate the education in this shithole[/QUOTE]
Sorry to hear.
Sorry, you need to Log In to post a reply to this thread.