IRC Networks
Irc Logs Stats
Start date: 2007-09-27 02:48:27
Last update: 2008-04-02 18:00:08
Channels: 41
Logged Lines: 6229042
Size: 1797.84 MB
Powered by
Channel Info
Network: freenodeChannel: #csharp |
Search in www.irclog.org
Log from #csharp at freenode 2006-07-26
[21:30]<rrd2uppnv>everything that i have read says the collection has to be derived from bindinglist or something like that
[21:30]<fyfuym-syfggag>hungerian is a way of life
[21:30]<azyfm>if you are hungarian
[21:30]<nnzjpfrr>hungarian is stupidity collected into rules.
[21:30]<azyfm>the rest of us use english
[21:30]<nnzjpfrr>or just our brains...
[21:31]<azyfm>official .NET code guidelines: Do not use Hungarian notation
[21:31]<fyfuym-syfggag>and that make them correct?
[21:31]<azyfm>pretty much
[21:31]<zgzzcygnv>yes
[21:31]<nnzjpfrr>that has reasons that are far beyond microsoft or .net...
[21:31]<zgzzcygnv>it does make them correct
[21:31]<zgzzcygnv>huNotationSZ = bad
[21:32]<zgzzcygnv>ExplicitLongNamesAreBest
[21:32]<zgzzcygnv>TheyAreMoreDescriptive
[21:32]<zgzzcygnv>AndEasierToRead
[21:34]<nnzjpfrr>It was designed to be language-independent, and found its first major use with the BCPL programming language. Because BCPL has no data types other than the machine word, nothing in the language itself helps a programmer remember variables' types. Hungarian notation aims to remedy this by providing the programmer with explicit knowledge of each variable's data type.
[21:34]<nnzjpfrr>C++ and C# have explicit types thus hungarian notation is obsolete.
[21:35]<fyfuym-syfggag>zeroflag ok we can drop the topic now
[21:35]<fyfuym-syfggag>each to their own
[21:35]<fyfuym-syfggag>I am not going to argue with you
[21:35]<zgzzcygnv>no we cant
[21:35]<zgzzcygnv>untill you have been beaten to a bloody pulp
[21:35]<fyfuym-syfggag>heh
[21:35]<zgzzcygnv>for using hungarian notation
[21:36]<gxysvggz>Is the .NET framework integrated into windows vista?
[21:36]<kuggys>I agree with zero, using hungarian notion is silly now. What does it provide a modern developer?
[21:36]<nnzjpfrr>you deserve it for using it...
[21:36]<nnzjpfrr>http://en.wikipedia.org/wiki/Hungarian_notation#Criticisms
[21:36]<mjzymygo>eXistenZ: yeh
[21:36]<nnzjpfrr>read that and you know. -_-
[21:36]<zgzzcygnv>actually yes, new topic: can you cast a variable to the type of a Type variable?
[21:36]<mjzymygo>it makes up about 60% of vista
[21:36]<azyfm>someVar.GetType()
[21:36]<rrd2uppnv>what happened to my initial topic
[21:36]<gxysvggz>Is it any better in terms of security than xp?
[21:37]<nnzjpfrr>eXistenZ: could it be worse?
[21:37]<zgzzcygnv>Arild, yes, read my question again :)
[21:37]<fyfuym-syfggag>AnarkiNet,zeroflag have you ever considered the possibility of there being multiple correct standards for any given language
[21:37]<zgzzcygnv>i said cast to that type
[21:37]<zgzzcygnv>nope
[21:37]<rxrcr>the longest object name in the times app right now is: ReadOnlyDispatcherObservableCollection
[21:37]<zgzzcygnv>there isnt multiple correct standards
[21:37]<zgzzcygnv>there is ONE
[21:37]<rxrcr>closely followed by ArticleFlowDocumentPageViewer
[21:37]<gxysvggz>zeroflag, when it will be officially released?
[21:37]<nnzjpfrr>Liquid-Silence: yep, there are many common in c++ and c# which are all pretty good - but hungarian is none of them.
[21:38]<nnzjpfrr>eXistenZ: I heard something about first half next year...
[21:38]<azyfm>Liquid-Silence: If you release a class library that has any kind of hungarian exposed, no one will use it since it doesn't conform to the commonly accepted idiom
[21:39]<azyfm>there's only one commonly accepted naming standard in .NET, and that's the one MS has published (and uses in the FX)
[21:40]<nnzjpfrr>it's pretty similar to most c++ coding conventions so it has a broad basis.
[21:40]<zgzzcygnv>so
[21:40]<zgzzcygnv>i want to cast an object to a specific type that is only known at runtime
[21:41]<vufvuzn>Arild: eh, Java has naming conventions, but I doubt "no one will use it" is a legitimate claim. Guess it depends how pedantic someone is, and how important/useful the library is
[21:41]<azyfm>what's the point of that? You have to know the type at compile-time anyway, to declare the variable you're going to put it in
[21:41]<azyfm>@ AnarkiNet
[21:41]<zgzzcygnv>er
[21:41]<zgzzcygnv>no, its a valid situation
[21:41]<fyfuym-syfggag>vulture I agree with yoyu
[21:41]<fyfuym-syfggag>-y
[21:42]<vufvuzn>AnarkiNet: it's not valid
[21:42]<vufvuzn>AnarkiNet: what do you want to do once you cast it like that?
[21:42]<prnn>Error 1 'System.Windows.Forms.StatusStrip' does not contain a definition for 'panel' C:\Documents and Settings\Dejan Kostadinovic\My Documents\Visual Studio 2005\Projects\irc client\irc client\Kosta.cs 70 26 irc client
[21:42]<fyfuym-syfggag>eXistenZ vista will never be released
[21:42]<fyfuym-syfggag>the way microsoft goes
[21:42]<zgzzcygnv>i'm reading from XML data to define "schemas" for various packet formats, which will define exactly what types of objects will be transmitted with those packets
[21:42]<fyfuym-syfggag>AND WHY THE FUCK IS EVERYONE CODING IRC CLIENTS!
[21:43]<rxrcr>Liquid-Silence, the internal builds have improved substantially
[21:43]<nnzjpfrr>Liquid-Silence: good practice.
[21:43]<kuggys>Liquid-Silence I've heard the RFC for it is rather good.
[21:43]<fyfuym-syfggag>god
[21:43]<vufvuzn>AnarkiNet: so?
[21:43]<fyfuym-syfggag>there are 10000000 irc clients
[21:43]<vufvuzn>AnarkiNet: still don't see why that would necessitate casting anything dynamically..
[21:43]<fyfuym-syfggag>why reinvent it?
[21:44]<nnzjpfrr>Liquid-Silence: coding a client-server-type multiplayer game isn't much different but much more difficult so IRC clients are just fine. :P
[21:44]<kuggys>Liquid-Silence To study how to build a full blown application.
[21:44]<fyfuym-syfggag>eh code something decent then
[21:44]<rrd2uppnv>build a jabber client
[21:44]<zgzzcygnv>an IRC client is a step up from a notepad clone
[21:44]<rxrcr>heh Arild
[21:44]<fyfuym-syfggag>eh I never coded a notepad clone
[21:44]<fyfuym-syfggag>I guess I could do it in like 5 minutes though
[21:45]<kjr>go write FreeCell
[21:45]<fyfuym-syfggag>Kog how goes
[21:45]<rrd2uppnv>build gaim in c#
[21:45]<kjr>jaybuffet: it wouldn't be GAIM
[21:45]<fyfuym-syfggag>jaybuffet why
[21:45]<fyfuym-syfggag>we have msn
[21:45]<rrd2uppnv>that has your irc, jabber.. oooh sounds like fun
[21:45]<kjr>although, I take that back....
[21:45]<azyfm>$channel.Users | where { $_.IsLikelyFemale() } | foreach{ $_.Query( "Hi there!" }
[21:45]<fyfuym-syfggag>and we have trillian
[21:45]<zgzzcygnv>IRC is fundamentally broken
[21:46]<rrd2uppnv>built in c#, we could have c# plugins
[21:46]<fyfuym-syfggag>I dont know why I am in this channel
[21:46]<kjr>I dunno about broken, but it sure is boring
[21:46]<fyfuym-syfggag>sometimes people just speak crap
[21:46]<rxrcr>haha
[21:46]<vufvuzn>AnarkiNet: based on what definition of functionality?







