| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12
Comments:
<0> i dunno. <0> sometimes I think it's better for them not to contribute. <0> :x <1> God, I hate buying memory for computers sometimes. <2> Can anyone think of a reason Borland.Studio.StarTeam.dll or Borland.SCI.Gate.dll would bug out on loading BDS? They are throwing exceptions, but then BDS loads up anyways <3> warez version? <3> yawwwwwn <4> damnit <4> I always put the ? and : in the iterary operator wrong <2> no, legitimate architect version <0> i recently discovered the rather awesome ?? operator in C# <4> C#2 <4> unless you meant ? <0> no, ?? <0> I think they added it for nullable types <4> yeah
<4> it's new in v2 <0> but apparently it works just as well with reference types <0> and if you thought ?: was a confusing operator to read, ?? it just mind-boggling :) <4> hehe <4> Well I tend to write them in the wrong order <4> : and ? <4> instead of ? and : <0> really? <0> I never really had a problem with that. <4> Dunno why <4> I'd much rather use the Chrome IIF internal function <0> it's pretty much like natural langage. <4> way more obvious <0> is x ? then y : else 0 <0> yeah. <0> I liked Iif in VB too except it wasn't short-circuiting. <0> stupid VB <4> Chrome's is <0> of course. <0> cuz that makes sense! <0> well actually, it kinda doesn't make sense <0> but every other language in the world short-circuits <4> it's like one of the 6 internal function. <0> :) <0> I just reinstalled X-Chat and all it's scripting plugins <0> so now I have to decide if I want to learn perl, python, tcl, or ruby. <0> well, I know Tcl, and Perl kinda. <4> With the scripts you wrote <4> I would ***ume tcl would come natural <4> then again <0> ahaha <4> I doutb TCL actually can become natural. <0> Tcl is a lot of things. <0> NATURAL <0> not one of them <4> oh yeah <4> I think it's besides VB and Whitespace that acts completely different on the basis of an enter. <4> the only language * <0> it's a completely logical and internally self-consistant language. <0> it's like LISP for idiots. <0> everything's a list <4> Well Lisp is functional <4> TCL is still procedural <0> true <0> I also don't get all the hype around Python <4> same for ruby. <0> it looks just as cobbled-together as PHP <4> it's "yet another scripting language" <0> it's got a gigantic built-in library. and it's "OOP" in some twisted, javascripty sense <4> heh <4> the most used internet lib for Python <4> is called "Twisted" <0> but seriously, it's bad enough that some language treat enter as special. <0> Python treads *leading tabs* as special <4> it does? <0> yes <4> I tend to consider Python as execute only <0> blocks, like loops/ifs/etc <0> are set off by indentiation <0> as in <4> yikes.
<4> the end of the loo <4> loop <0> you indent the block, and as soon as the indent ends, that's the end of the block <4> is found by looking at the identation? <0> yes. <4> indent* <4> ouch <4> you checked out the new LINQ stuff btw/ <4> That's cool <0> a bit. <0> not too much yet. <4> say you have an array of cl***es <4> and you want to sort it on a field <0> I'm still trying to bring our internal .NET libraries up to 2.0 with generics <0> speaking of stupid operators. <0> C# has a :: operator <0> and for the life of me I can't figure out why. <4> yeah but that's only for scoping. <0> but how is it any different from the . operator? <0> how is System::Int32 different from System.Int32 ? <4> How to: Use the Namespace Alias Qualifier (C# Programming Guide) <4> hrmm <4> why don't msdn links work <4> KutuluMik: It's useful if you have something in scope that hides in front of a namespace <0> ... <4> cl*** System { ... } <0> so if you're stupid enough to have a cl*** named "System" ? <4> yep <0> brilliant <0> I guess I shouldn't judge, though <4> one of those things <4> you really shouldn't use <0> this project I inherited has ~ 25 namespaces in it's heirarchy.. 6 of them have an Application cl*** and 19 of them have a Process cl***. <4> nice <0> yes. <4> so if you wanna use the real Process cl*** <4> you have to alias it <0> we use namespace aliases rather extensively. <0> yes. <4> I have one lib <4> that uses "Type" <4> as a cl*** name <0> kutuluware.appname.business.financial.payments.Process pmts = new kutuluware.appname.business.financial.payments.process(); <4> hehe <0> kutuluware.appname.business.scheduling.students.Process students = new kutuluware.appname.business.scheduling.students.process(); <4> anyway: <0> ok, Type might be worse than System <4> Array.Sort(mylist, (a, b) -> (a.Field1.CompareTo(b.Field))); <0> yeah, I've seen that <0> I'm kinda concerned, though. <0> our apps run so goddamned slow as it is. <4> well <4> the code this translates to: <0> it's all I can do to make then perform remotely as well as pre-.net apps, I'm scared to layer another level of indirection into them <4> Array.Sort(mylist, new CompareDelegate(mycomparemethod)); <4> int Mycomparemethod(Cl***1 a, Cl***1 b) { return a.Field1.CompareTo(b.Field1); } <4> it's a shortcut <4> to write the same code <4> just with a lot less work <0> yesterday I wrote a data access method that uses a DataReader with hard-coded field indices in it because using the names was too slow :( <4> ah <4> hrm <0> and I had an awesome time explaining to the rest of the team why: int a = (int)myDataSet["Field1"] <0> performs faster than: int a = int.Parse(myDataSet["field1"].ToString()); <4> hah <4> clueless <0> I'm not kidding. that's our entire data layert. <0> of course, I later found out why. <4> lemme guess <4> they had a Byte field somewhere in the db <0> our DBA arbitrarily chose to make some fields smallint and some fields tinyint <4> that didn't cast to Integer properly. <0> yup. <4> :)
Return to
#delphi or Go to some related
logs:
#stocks #politics #online #red #gamedev #stocks #barcelona #3dsmax Uploader.Files.Items Find name of the field #hardware
|
|