IRC Networks
Irc Logs Stats
Start date: 2007-09-27 02:48:27
Last update: 2008-10-24 20:19:38
Channels: 41
Logged Lines: 6230436
Size: 1822.42 MB
Powered by
Channel Info
Network: freenodeChannel: #csharp |
Search in www.irclog.org
Log from #csharp at freenode 2006-08-31
[16:03]<gruss_zoo>Appleman1234: did you set the class as abstract?
[16:03]<lcs>arent abstract classes really an interfaces?
[16:04]<svzz[wjzc]>no
[16:05]<jlvydus>hi rikkus
[16:05]<svzz[wjzc]>Abstract can have code, members, method, while interfaces have only and only abstract methods/properties
[16:05]<drdyrrr>abstract classes are real classes that the compiler ensures aren't created
[16:05]<rfffgdrgwq19>GaussZ88: I reset the class to virtual and no errors
[16:05]<rfffgdrgwq19>but that isn't following the uml
[16:06]<pzynsv-jp-psy>UML is teh devel
[16:06]<pzynsv-jp-psy>s/devel/devil
[16:06]<axudlxzyns>heh
[16:07]<gruss_zoo>Appleman1234: if you have abstract methods the class has to be declared abstract afaik
[16:07]<drdyrrr>marking a method abstract means that you're not defininig it here and that it must be implemented in a subclass
[16:07]<rfffgdrgwq19>I know
[16:07]<rfffgdrgwq19>the class is abstract
[16:07]<drdyrrr>well, technically you ARE defining it here, you're just not coding it.
[16:07]<fjn2svnz>uml has so many exciting notational possibilities that it'll eat you alive, unless you draw a simple diagram with pen & paper first ;[
[16:07]<rfffgdrgwq19>that isn't the problem
[16:07]<drdyrrr>So whats the exact problem?
[16:08]<rfffgdrgwq19>the only stuff doesn't like abstract methods
[16:08]<rfffgdrgwq19>prefers virtual
[16:09]<lcs>damieng: so they are like interfaces with 'premade' code
[16:10]<gruss_zoo>they are not like interfaces because you can only inherit from one abstract class while you can implement many interfaces
[16:10]<drdyrrr>no.. abstract classes are just like normal classes you can't NEW
[16:10]<lcs>damieng: so they are like interfaces
[16:10]<drdyrrr>no
[16:10]<lcs>you can do new on interface?
[16:10]<drdyrrr>no but an interface is nothing like a class
[16:11]<lcs>and abstrac class does?
[16:11]<mumnwq>Hi, what's the name of that software that's like VS that uses QT?
[16:11]<lcs>you cannot new them, you can only inherit from them
[16:11]<drdyrrr>no you don't inherit from them
[16:12]<lcs>them = abstract classes?
[16:12]<drdyrrr>no.
[16:12]<lcs>interfaces?
[16:12]<drdyrrr>right, lets start again.
[16:12]<gruss_zoo>is pks a troll?
[16:12]<lcs>Gauss_Z88: big oone
[16:12]<drdyrrr>an abstract class is in every respect a normal class. the compiler and runtime just stop you creating them.
[16:12]<gruss_zoo>thought so
[16:13]<drdyrrr>an interface is NOTHING like a class. It has no VMT, no memory allocation, nothing.
[16:13]<lcs>so it only has the schema
[16:13]<svzz[wjzc]>pks you got big tall spiky light green hair, two big eyes and a dumb smile?
[16:13]<drdyrrr>an interface is just a specification a class (or struct) can choose to meet.
[16:13]<lcs>StaZ[work]: hell no
[16:13]<svzz[wjzc]>then your not a real troll :P
[16:13]<lcs>StaZ[work]: i am looking rather like shrek
[16:13]<svzz[wjzc]>oh... those kind o' trolls
[16:14]<svzz[wjzc]>:(
[16:14]<lcs>actualy, he was an ogre
[16:14]<drdyrrr>i thought that was an ogre?
[16:14]<rfffgdrgwq19>Well it works in Visual studio but not in mono , but at least it works
[16:14]<svzz[wjzc]>pks maybe you should compare yourself to LOTR's trolls?
[16:15]<lcs>StaZ[work]: somehow i dont find myself so depresed to compare myself with them ;p
[16:15]<svzz[wjzc]>lol
[16:15]<drdyrrr>what would be cool is if the vs compiler had a way of automatically tying up an interface to an instance variable where the interface is not explicitly implemented in the class.
[16:17]<drdyrrr>e.g. public class NotifyOnClearList<T> : IList<T> on myList { private List<T> myList = new List<T>; public void Clear() { ... } }
[16:19]<rwyfcygs>damieng: Auto decorator?
[16:19]<drdyrrr>seeing as they don't want multiple inheritence and promote interfaces and encourage bridge pattern
[16:20]<drdyrrr>yeah would make decorators a breeze
[16:20]<drdyrrr>you could just define the behaviour that changes...
[16:20]<drdyrrr>it also means that they could then change interfaces in the next revision and you'd only break if it affected what you'd changed.
[16:21]<drdyrrr>at the moment they never want to change an interface because you break everything that implemented it
[16:22]<zugvydn>So how is everyone today?
[16:22]<svzz[wjzc]>so you really care ? :P
[16:22]<svzz[wjzc]></pragmatism>
[16:22]<zugvydn>Hell no.
[16:23]<zugvydn>another boring day..
[16:23]<gruss_zoo>runtime: we were all good, do we get our medicine now?
[16:23]<rwyfcygs>4 hours commuting.
[16:23]<svzz[wjzc]>runtime learn japanese
[16:23]<svzz[wjzc]>will get you busy for some time
[16:23]<rwyfcygs>I was temmpted to buy CAstlevania for the DS to play on the train
[16:23]<zugvydn>I have a lot of stuff to do its just that I'm too lazy..
[16:24]<zugvydn>it requires me to use my brain
[16:24]<rwyfcygs>I don;t'nt mind stuff that needs brain usage. It's stuff that requires brain-bruteforce-usage
[16:24]<zugvydn>Mono is OS right?
[16:24]<rwyfcygs>Yse, mono is OSS
[16:25]<zugvydn>anyone here made any useful programs?
[16:25]<lcs>no
[16:25]<rwyfcygs>No, we all just whack off onto the compiler.
[16:25]<zugvydn>I have an empty spot on my Start Menu...one more entry and it fills up 2 columns..
[16:25]<drdyrrr>Today is a great day.
[16:25]<zugvydn>so I have one space left for a program
[16:25]<drdyrrr>You should all be playing with XNA Game Studio Express and creating the next hit
[16:25]<lcs>runtime: make sure that is has nice icon?
[16:25]<lcs>s/\?//
[16:26]<svzz[wjzc]>runtime get a game from shockwave.com
[16:26]<rwyfcygs>A friend and I were looking at doing a 3rd generation "Quazatron"
[16:26]<zugvydn>pks: Does that add a start menu item?
[16:26]<drdyrrr>use XNA studio, write you own, after all it's C# too
[16:26]<rwyfcygs>Maybe we'll pick up XNA studio. Although he's a Java Pervert
[16:26]<lcs>runtime: no, it just make is look more professional
[16:26]<zugvydn>awilkins: WHo's a JaVa PeRVeRt?
[16:27]<drdyrrr>use java if you want to target mobile phones, C# if you want to target 360 and windows... C++ if you want to target everything else and are prepared to work hard.
[16:27]<zugvydn>lol
[16:27]<gruss_zoo>or just use java for every target :)
[16:27]<zugvydn>Gauss true that
[16:27]<drdyrrr>lol, for a game.
[16:27]<fjn2svnz>or learn C-half-plus if you wish to develop for symbian







