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.67 MB
Powered by
Channel Info
Network: freenodeChannel: #csharp |
Search in www.irclog.org
Log from #csharp at freenode 2006-07-20
Pages: < Prev
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
Next >
[13:14]<dzrrjgd>rikkus: no you don't
[13:14]<pzaanavqt0w2>ok.
[13:14]<mjzymygo>and the version I release may not be that stable initially due to those cuts.
[13:15]<mjzymygo>but if you hang around in here, I will let you know ;)
[13:15]<zyccus>DragonD: so when you build a Delphi application, it doesn't need any libraries?
[13:15]<drdyrrr>With non .net versions of delphi you get the option
[13:15]<pzaanavqt0w2>*cough*DBD*cough*
[13:15]<drdyrrr>either link to the vcl libraries or compile in-line.
[13:15]<drdyrrr>just like C++ with static or dynamic linking.
[13:15]<pzaanavqt0w2>rikkus: vaporware.
[13:16]<dzrrjgd>vaporware?
[13:16]<drdyrrr>that updates the shared vcl libraries... which as i just said you app can use or not.
[13:16]<pzaanavqt0w2>scuse me, crapware.
[13:16]<zyccus>ah
[13:16]<drdyrrr>delphi apps tend to be around 350kb bare without linking to the vcl iirc
[13:16]<drdyrrr>and about 60kb if you do
[13:17]<pzaanavqt0w2>theoritically, someone could statically compile the entire .NET framework into an application :)
[13:17]<pzaanavqt0w2>60mb executable, and such :)
[13:17]<drdyrrr>you wouldn't need the entire .net framework
[13:17]<zyccus>well, you can buy a product which bundles it and makes it kinda standalone
[13:17]<drdyrrr>just the portions you use
[13:18]<fyfuym-syfggag>rikkus clickonce does it
[13:18]<dzrrjgd>damieng: i've gotten them smaller than 100k without linking. but i forgot how, that was more that a year ago
[13:18]<fyfuym-syfggag>:)
[13:19]<drdyrrr>DragonD, probably stripped out the visual control library
[13:19]<zyccus>Liquid-Silence: lets you deploy .NET apps without the target having the framework installed?
[13:20]<zyccus>hmm, part of my start menu's gone black
[13:20]<dzrrjgd>damieng: yeah that sounds right
[13:20]<fyfuym-syfggag>rikkus no
[13:21]<fyfuym-syfggag>it will install it if you dont have it
[13:21]<zyccus>Liquid-Silence: ok, that's different :)
[13:21]<fyfuym-syfggag>yar
[13:21]<fyfuym-syfggag>I was not following mate
[13:23]<pzaanavqt0w2>i don't get why C# does not do Properties polymorphism.
[13:24]<drdyrrr>?
[13:24]<fyfuym-syfggag>Project2501b wtf?
[13:24]<fyfuym-syfggag>ofcourse it does
[13:24]<fyfuym-syfggag>omfg
[13:24]<mjzymygo>Project2501b: what?
[13:24]<fyfuym-syfggag>Matt *cough*
[13:24]<pzaanavqt0w2>well, i just tried compiling a "public DataTable DataSource" and a "public DataRow DataSource"
[13:25]<pzaanavqt0w2>and it wouldn't let me.
[13:25]<mjzymygo>nasty cough you got there
[13:25]<pzaanavqt0w2>erh, i mean, the compiler bitched at me.
[13:25]<fyfuym-syfggag>Project2501b
[13:25]<pzaanavqt0w2>yes?
[13:25]<fyfuym-syfggag>public DataTable objTableSource() { }
[13:25]<pzaanavqt0w2>?
[13:25]<fyfuym-syfggag>erm
[13:25]<fyfuym-syfggag>nm
[13:26]<fyfuym-syfggag>I have just made my name ass
[13:26]<fyfuym-syfggag>because I was not looking what I was typing
[13:26]<pzaanavqt0w2>yes, i'm stupid. could you please tell me what to RTFM for?
[13:26]<fyfuym-syfggag>finding a link
[13:26]<-- svgvsdyzgjvr_ xrs>/dev/null")
[13:26]<pzaanavqt0w2>k
[13:27]<fyfuym-syfggag>polymorphism
[13:27]<fyfuym-syfggag>errr
[13:27]<fyfuym-syfggag>http://www.codeproject.com/csharp/csharpintro01.asp
[13:27]<fyfuym-syfggag>http://msdn2.microsoft.com/en-us/library/ms173152.aspx
[13:27]<pzaanavqt0w2>thanks.
[13:27]<fyfuym-syfggag>http://www.csharp-station.com/Tutorials/Lesson09.aspx
[13:27]<dzrrjgd>Liquid-Silence: so you just copied polymorphism cause you couldn't type it huh?
[13:27]<fyfuym-syfggag>http://www.expresscomputeronline.com/20021118/techspace2.shtml
[13:27]<fyfuym-syfggag>DragonD correct
[13:28]<fyfuym-syfggag>and I am lazy
[13:28]<dzrrjgd>lol
[13:28]<drdyrrr>you want properties to have the same name but return different types
[13:28]<mjzymygo>hmmm where is our resident Bot?
[13:29]<drdyrrr>which would lead to confusion and ambiguity
[13:29]<zyccus>Project2501b: the CLR allows that, but C# doesn't
[13:29]<zyccus>because of what damieng said
[13:30]<pzaanavqt0w2>damieng: it would? it's just different types
[13:30]<pzaanavqt0w2>hmmm
[13:30]<mjzymygo>Project2501b: I agree with the policy myself.
[13:30]<drdyrrr>object something = yourObject.DataSource;
[13:30]<drdyrrr>which would it call?
[13:30]<zyccus>compile time error
[13:30]<pzaanavqt0w2>erh if you have a DataSoure that returns an object, then an object
[13:30]<pzaanavqt0w2>yeah
[13:31]<zyccus>which I think is fair enough
[13:31]<pzaanavqt0w2>compile time error
[13:31]<pzaanavqt0w2>type checking would fail
[13:31]<pzaanavqt0w2>unless you explicitely boxed it
[13:31]<zyccus>same as object foo; Bar(object) ... where Bar has 2 overloads taking X and Y
[13:31]<drdyrrr>and how would it be handled with reflection?
[13:31]<pzaanavqt0w2>same way it's handled in perl and lisp
[13:32]<drdyrrr>and what about; public class MyDataRow DataRow ...
[13:32]<pzaanavqt0w2>you go by property signature
[13:32]<drdyrrr>MyDataRow = yourObject.DataSource;
[13:33]<pzaanavqt0w2>that still works
[13:33]<drdyrrr>and what about when public class MyDataRow : DataRow, IBindableList ....
[13:33]<pzaanavqt0w2>cuz if you used a custom datarow, you'd have to be not stupid enough to realise that it has to be compatible with the MS one.
[13:33]<pzaanavqt0w2>if you use it with an MS datasource that is.
[13:34]<pzaanavqt0w2>anyway
[13:34]<drdyrrr>there is a technique already in .net for handling differing object types back from properties.
[13:34]<drdyrrr>it's called an interface.
[13:34]<pzaanavqt0w2>i do see the logic in not allowing such a thing
[13:34]<pzaanavqt0w2>well, yeah.
[13:35]<pzaanavqt0w2>anyway







