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: 1825.68 MB
Powered by
Channel Info
Network: freenodeChannel: #csharp |
Search in www.irclog.org
Log from #csharp at freenode 2006-07-31
[13:32]<kjr>sabiancra: you should use design patterns where they fit - nowhere else
[13:32]<kjr>sabiancra: and believe it or not, that's not 100% of scenarios
[13:33]<sz2yzgrzz>prolly 99% of them
[13:33]<kjr>if you're modifying your design to fit into some design pattern, you have it backwards
[13:33]<sz2yzgrzz>there are thousands of patterns
[13:33]<sz2yzgrzz>did i say using a particular one
[13:33]<kjr>sabiancra: technically anything used twice is a pattern
[13:33]<sz2yzgrzz>exactly
[13:33]<sz2yzgrzz>you can make a pattern
[13:33]<kjr>sabiancra: but, I somehow doubt that using a for-loop counts as a design pattern
[13:33]<sz2yzgrzz>but you should always use a pattern
[13:33]<sz2yzgrzz>don't do it one way in one app
[13:33]<sz2yzgrzz>then another in another app
[13:34]<sz2yzgrzz>and this convo is now done
[13:34]<kjr>sabiancra: that denotes that you never adapt, improve or learn
[13:34]<sz2yzgrzz>your just spoiling for a debate
[13:34]<kjr>you can quit yourself of the conversation, but you still remain incorrect
[13:34]<kjr>sabiancra: if I wanted to debate I'd join ##politics
[13:34]<sz2yzgrzz>i know what i am talking about and you know what your talking about you just want to pick at my choice of words
[13:34]<sz2yzgrzz>and I don't feel like biting the bait
[13:35]<kjr>sabiancra: words? no, ideas
[13:35]<kjr>if you don't want to converse, don't
[13:35]<sz2yzgrzz>right
[13:35]<sz2yzgrzz>so how about the sun
[13:35]<kjr>but you shouldn't use the same design over and over and over
[13:35]<sz2yzgrzz>its rising
[13:35]<sz2yzgrzz>give it up
[13:35]<kjr>and anyone who thinks that 1 size fits all is incorrect
[13:35]<hzzzd>4 sabiancra : no - the sun is extremely high)
[13:35]<sz2yzgrzz>haha
[13:35]<kjr>sabiancra: there are more people in the channel than you
[13:35]<sz2yzgrzz>wow
[13:36]<sz2yzgrzz>you know how to insult ones intelligence
[13:36]<lcs>there are?
[13:36]<sz2yzgrzz>i see lots of yous
[13:36]<lcs>wooow, there are
[13:36]<kjr>sabiancra: if you take offense, you should go take a walk away from your keyboard
[13:36]<sz2yzgrzz>i think i can make that decision for myself
[13:36]<sz2yzgrzz>thanks for the advise
[13:37]<kjr>you're taking offense at something not there
[13:37]<kjr>if I was aiming to offend you, you'd notice
[13:37]<hzzzd>4 sabiancra : where a u now situated?
[13:37]<sz2yzgrzz>kog, your still talking
[13:37]<sz2yzgrzz>i am in NYC
[13:37]<hzzzd>4 sabiancra : ok
[13:37]<kjr>sabiancra: I'm actually going to bed. Seeya cranky
[13:38]<sz2yzgrzz>night night, don't forget the nyquil
[13:38]<kjr>uh... no thanks
[13:39]<sz2yzgrzz>well, that was fun
[13:39]<sz2yzgrzz>maybe i will shower now
[13:40]<vxznrv>can I typedef in C#?
[13:40]<sz2yzgrzz>not per se
[13:40]<sz2yzgrzz>but you can alias
[13:40]<vxznrv>alias
[13:41]<vxznrv>nice
[13:41]<vxznrv>that command / function / macro, whatever is called alias?
[13:41]<sz2yzgrzz>no, let me ask what you are trying to do
[13:42]<vxznrv>sabiancra, I want make a dictionary, or a dictionary or a list or a string :)
[13:42]<vxznrv>or = of
[13:42]<sz2yzgrzz>hmm
[13:42]<sz2yzgrzz>maybe you want generics
[13:42]<vxznrv>that is?
[13:43]<vxznrv>if you can put it in terms of C++ that would be good since i am new to C# :P
[13:43]<hzzzd>4 threat : she try to ask you - why are u looking for typedef-for what
[13:43]<sz2yzgrzz>they are kinda like c++ templates
[13:43]<vxznrv>Harry, I want to make an alias pretty much
[13:44]<vxznrv>I dont want to make a template
[13:44]<vxznrv>or dont I have a choice?
[13:45]<sz2yzgrzz>if you want to alias then you can do something like
[13:45]<sz2yzgrzz>using someName = someNamespace.something.someType;
[13:46]<vxznrv>I tried to read the MSDN documentation on csharp, it is so ummm well typical Microsoft documentation, no details and vague
[13:46]<sz2yzgrzz>http://msdn2.microsoft.com/en-us/library/sf0df423.aspx
[13:46]<sz2yzgrzz>actually, after spending lots of time with java, i much prefer msdn
[13:46]<vxznrv>really?
[13:46]<vxznrv>I havn't gotten used to MSDN yet
[13:46]<sz2yzgrzz>over Java's docs
[13:46]<vxznrv>java's API isn't bad
[13:46]<sz2yzgrzz>yah, it takes getting used to
[13:47]<sz2yzgrzz>but there are lot more commenting and code examples
[13:47]<sz2yzgrzz>than the java docs
[13:47]<vxznrv>I havnt noticed yet :)
[13:47]<sz2yzgrzz>well, your just getting started
[13:47]<sz2yzgrzz>and your learning OO too
[13:47]<vxznrv>yep :) I have been trying to find similar datatypes to those in the STL
[13:48]<sz2yzgrzz>http://msdn2.microsoft.com/en-us/library/512aeb7t.aspx
[13:48]<vxznrv>I have found dictionary (for a map), List and ArrayList (for a vector)
[13:48]<vxznrv>but I can't find a set
[13:49]<hzzzd>4 threat : ArayList is not for vectors only
[13:49]<vxznrv>sabiancra, thanx for the links
[13:49]<vxznrv>Harry, I relise :)
[13:49]<hzzzd>it`s very powerfulll structure)
[13:49]<vxznrv>Harry, but it is the closet I have found to a C++ vector
[13:49]<sz2yzgrzz>threat, do remember, you don't program in the same style
[13:49]<hzzzd>4 threat : asnwer from my native preofessional channel
[13:49]<hzzzd>4 threat : NO
[13:49]<sz2yzgrzz>but what type of set are you looking for
[13:49]<vxznrv>sabiancra, yes I know :( I am trying to get used to the C# style, but it is well different
[13:50]<sz2yzgrzz>does a SortedList fit your needs?
[13:50]<vxznrv>sabiancra, I want to enforce uniqueness
[13:50]<hzzzd>4 threat : there are many difference







