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: 1952.13 MB
Powered by
Channel Info
Network: freenodeChannel: #csharp |
Search in www.irclog.org
Log from #csharp at freenode 2006-07-26
[21:58]<mjzymygo>I've been using 'ajax' for years...
[21:58]<fyfuym-syfggag>ajax sucks
[21:58]<fyfuym-syfggag>:(
[21:58]<fyfuym-syfggag>makes everything crap slow
[21:58]<mjzymygo>and I send data over it via binary (JSON if I must)
[21:58]<mjzymygo>and it's damned faster than post-back
[21:58]<vynvyv>ooh wow i like C#'s enumerator compared to java's
[21:58]<kjr>Moridin8: just because ASP blows doesn't make AJAX great
[21:58]<mjzymygo>in an event driven UI model I can't fault it (if it's done right)
[21:58]<kjr>tieTYT: oh?
[21:59]<fyfuym-syfggag>php is better the aspo
[21:59]<fyfuym-syfggag>-o
[21:59]<vynvyv>yeah you can move to the next object and then reference the current as many times as you want
[21:59]<vynvyv>in java you have to say next() and store the result in a temp variable if you want to use it more than one time
[21:59]<fyfuym-syfggag>I love java
[21:59]<fyfuym-syfggag>:)
[21:59]<fyfuym-syfggag>java is god
[22:00]<mjzymygo>Hmm... Java coffee is wonderful...
[22:00]<fyfuym-syfggag>java == coffee
[22:00]<fyfuym-syfggag>:D
[22:01]<mjzymygo>Java is variant species of the arabica bean.
[22:01]<fyfuym-syfggag>java != programming language
[22:01]<fyfuym-syfggag>:)
[22:01]<vynvyv>maybe this is just msdn being more verbose, but I notice it says Hashtable : IDictionary, ICollection....
[22:01]<vynvyv>then i check idictionary
[22:01]<fyfuym-syfggag>tieTYT read up on genericts
[22:01]<fyfuym-syfggag>:)
[22:01]<vynvyv>and i see that it says IDictionary : ICollection
[22:02]<fyfuym-syfggag>idictionary is a interface for Dictionary
[22:02]<fyfuym-syfggag>:)
[22:02]<vynvyv>Liquid-Silence: that's a nice fact, why are you telling me that?
[22:02]<fyfuym-syfggag>tieTYT because it implements ICollection
[22:02]<vynvyv>then why does Hashtable need to?
[22:02]<vynvyv>it already implements IDictionary
[22:02]<fyfuym-syfggag>need to what?
[22:02]<fyfuym-syfggag>bath?
[22:02]<fyfuym-syfggag>Generics is faster :)
[22:03]<vynvyv>Liquid-Silence: that's nice
[22:03]<y-gz>generics are faster only for value types
[22:03]<y-gz>that's what msdn says
[22:04]<fyfuym-syfggag>i-nZ I know nothing about .net
[22:04]<fyfuym-syfggag>I just sit and trawl in here
[22:04]<mjzymygo>trawl == troll ?
[22:05]<mjzymygo>i-Nz.... in my exp they are faster for ref types too
[22:05]<fyfuym-syfggag>Moridin8 something like that
[22:05]<mjzymygo>but out of interest... do you have that article.
[22:05]<fyfuym-syfggag>:)
[22:05]<fyfuym-syfggag>Moridin8 we all know I am a idiot
[22:05]<fyfuym-syfggag>:D
[22:06]<kjr>and yet... we keep hoping otherwise ;)
[22:06]<fyfuym-syfggag>lol
[22:06]<vynvyv>http://papernapkin.org/pastebin/app/view/427
[22:07]<fyfuym-syfggag>Kog how are you btw?
[22:07]<vynvyv>this is what msdn does
[22:07]<fyfuym-syfggag>AnarkiNet dont click on that
[22:07]<fyfuym-syfggag>http sucks
[22:07]<fyfuym-syfggag>:D
[22:07]<vynvyv>they say B : A, I even though it's totally unnecessary
[22:07]<mjzymygo>i-Nz... article?
[22:07]<vynvyv>they could just say B : A if they want to
[22:07]<vynvyv>do C# developers generally do this in their code?
[22:07]<kjr>what was that an example for?
[22:08]<vynvyv>or is msdn just doing this in their documentation for convenients
[22:08]<vynvyv>that's an example of Hashtable
[22:08]<kjr>you anonymous coward!
[22:08]<kjr>that's totally not a hashtable
[22:08]<vynvyv>it says it implements ICollection even though it already implements IDictionary which itself implements ICollection
[22:08]<kjr>tieTYT: you sure you pasted the link you think you did?
[22:08]<vyzusdjvnev>sup people
[22:08]<vynvyv>err yeah
[22:08]<y-gz>SpikeLite: Dictionary Generic
[22:09]<y-gz>SpikeLite: msdn2 Dictionary<>
[22:09]<vynvyv>it's an example of what hashtable does in on its msdn reference
[22:09]<kjr>tieTYT: that link, I do not think it means what you think it means
[22:09]<vynvyv>that's what i meant
[22:09]<kjr>;)
[22:09]<rrd2uppnv>Error 2 Argument '1': cannot convert from 'myobject' to 'T' even though i have " public class mybindinglist<T>: System.ComponentModel.BindingList<T> where T : myobject"
[22:09]<y-gz>SpikeLite msdn2 Dictionary<>
[22:09]<slycnlyvn>i-nZ, Dictionary Generic Class (System.Collections.Generic): http://msdn2.microsoft.com/en-us/library/xfhwa508.aspx
[22:09]<fyfuym-syfggag>SpikeLite msdn2 Dictionary<>
[22:10]<vynvyv>i don't care about generics right now
[22:11]<fyfuym-syfggag>ok thats dumb
[22:11]<vynvyv>it is unrelated to my question
[22:11]<fyfuym-syfggag>but anyway
[22:11]<fyfuym-syfggag>.net 3.0 will be floaded with generics
[22:11]<kjr>tieTYT: what was your question...?
[22:11]<vynvyv>the fact that i'm talking about hashtable is unrelated too
[22:11]<y-gz>Moridin8: Hm I read it on one of the generic collections docs
[22:11]<kjr>I saw a statement, but no question
[22:11]<vynvyv>why does msdn say A : I, B : A, I
[22:12]<vynvyv>when they could just say A : I, B : A
[22:12]<kjr>or could they...
[22:12]<mjzymygo>i-nz... I'm confirming with bench marking... I need to see for myself.
[22:12]<kjr>tieTYT: they have a lot of random ass stuff as you start to look deeper into the samples
[22:12]<vynvyv>well the reason i care is cause i wonder if that's C# style
[22:13]<vynvyv>should i be doing B : A, I too?
[22:13]<vynvyv>when A : I already?
[22:13]<kjr>well, if you put them in seperate class files it may be nice to deliniate that it also inherits - but you can also use a comment for it
[22:13]<kjr>s/inherits/implements
[22:13]<txnjzd>tieTYT: there may be some crazy behaviour with explicitly implementing interfaces going on







