I used to write recursive methods, then I took an arrow to the knee.. I've been a developer just for a couple of years by now, but I actually never used recursive methods yet.
Alberto Biasiutti
Posts
-
how many times in your life have you implemented recursive methods -
Tech Review Phrases I Never Want To See AgainShure.. it was a typo :laugh: although I think that iTaly can hardly be an iSomething-killer, even for the average author
-
Tech Review Phrases I Never Want To See AgainSad but true.. nowadays it seems like every sinlge piece of electronic must be compared to an "iSomething" I read some news here in Italy (not properly tech reviews) about the kindle touch, that wrote something like "it's a good product, but not the anti-iPad yet". I though that the author should be killed for his stupidity :)
-
Choosing VCS for Single Developer, Small Projects, Two PC's, Two LocationsDon't know if anyone already suggested that, but I'm using Plastic SCM and I am quite satisfied by the product. It has some "advanced" futures, but it's quite simple for the base use. It's free up to 15 "client" installations, so it may be a good solution for you. It will optionally add scm actions to controlled files and folder via explorer. Only "limitation", you won't have integration in VS Express.. note: in any case, you will have to register and obtain a free license. Alberto
-
ASP.NET MVC: For Those Who Dislike ReusabilityI don't know the structure of your home page, but consider this.. You can have an "index" action that returns an "home" view.. the index view can cointains a "render partial" for your login control. As long as any partial has an "isolated" form (nested forms are obviously not supported), you can actually make it post to any specific controller/action, posting only the values effectively required for the specific action. From that action, for example "AccountController/Login", you return as result a RedirectToAction to "HomeController/Index" (or you could resend the user to the last request url). You could pass an optional "LoginResult" in your ViewData or ViewBag, and use it in the "login Partial" to check if the user is logged and/or display a message if login failed. I hope that it can give you my opinion about reusability of mvc actions. In this way, you can have a login form in wherever you want.. it will always post to the same actions, which will just have to set a ViewData and redirect you to referrer url. Hope this can help
-
Do you think in metric?do pepole REALLY still use old-fashioned, uncommon and limited systems such as imperial or metric? the ONLY appropriate set of units is FFF (Furlong/Firkin/Fortnight)
-
Do you think in metric?Same thing here.. I think it's quite a "common" thing in developers maybe, as we tend to use English quite often in our job..
-
Santa Claus as a developerHe already does.. all gifts to be delivered in a night... maybe he actually is a Developer.. search google for William Severance... he actually is a developer, and really looks like Santa.. ;P
-
Anyone using a serious multimonitor setup? Eyefinity?I suggest you to move to a dedicated pc (even better a workstation or server with UPS and backup internet connection) for porn: what if the computer you're "working" on crashes?? you'll have to reboot and loose the porn, while you could COMPLETELY dedicate to porn while rebooting!!!! If you have space, take a 50" Plasma and attach it to the wall over the 4 monitors: this way it will be easier to move your eyes from work to porn!!! :D
-
Is this the case to select case?Every time I come to CP, I feel dirty because I use VB! I'll denounce you for discrimination!
-
Is this the case to select case?I might offend, I'm also a vb guy!! :D At least, a I try to be as [C]sharp minded as possible :)
-
Is this the case to select case?I'm consider myself far from being a gur at programming, but those things make me cry.. I still have to understand if it's sadness or joy!! :D Thank's for the link
-
Is this the case to select case?No, this is not terrible, it's good... it made me laugh!! :)
-
Is this the case to select case?Here's a little jewel I found in the source code of a module I bought (just changed querystring parameter and variable names)
If Request.QueryString("queryParam") <> Nothing Then
Select Case Convert.ToInt16(Request.QueryString("queryParam"))
Case 1
var = 1
Case 2
var = 2
Case 3
var = 3
Case 4
var = 4Case 5 var = 5 Case 6 var = 6 End Select
Else
Hopefully the possible values of the parameter won't grow in future :)