303 reputation
110
bio website dematte.org
location Italy
age 34
visits member for 3 years, 3 months
seen 2 days ago

I am a developer: I love to code! Particular areas of interest:

  • C#: with its mixed OO and functional concepts, it is a joy to use
  • Windows internals...
  • ...and linked to that, debugging! At any level
  • Programming languages specifics
  • Low-level programming (C/C++), especially in Windows
  • LINQ
  • Runtime code generation and manipulation
  • Concurrency in .NET
  • ASP.NET MVC with Razor
  • WPF/Silverlight

In my spare time, I like to spend time with my wife and family, take pictures with my Nikon, and fix my old BMW


Aug
1
revised Avoiding Double POST
added 210 characters in body
Aug
1
answered Avoiding Double POST
Jun
26
comment Which are the alternatives to using a stack to represent function call semantics?
@supercat that does not work with recursion
Apr
4
answered Why is CPU cache memory so fast?
Mar
14
awarded  Popular Question
Jan
24
answered What is an example of a computationally impossible business problem?
Jan
15
comment How has an increase in the complexity of systems affected successive generations of programmers?
My point is: just because it's "lower level" it does not mean it is slower, or more wasteful.. libraries benefit from years of experience of other programmers, people that often is more clever then me or knows better. And on modern architectures, gain performance at low level (with multiple level cache, alignment, branch prediction,..) is much harder than it used to be. I'd say: know it (you always need to know how it works), but leave it to the experts.
Jan
15
comment How has an increase in the complexity of systems affected successive generations of programmers?
@Benjol you are right. And Eric, let me add that not only the compiler, but also the basic libraries got better and better. I remember this old "race" between Raymond Chen and Rico Mariani, in which they compare performances and optimization between native and managed code. Raymond "won" in the end, but.. he is Raymond! :) And look at the effort!
Nov
11
awarded  Nice Question
Aug
8
comment How to handle complex views (consisting of several parts) in MVC web application
@Hedin oh, ok... I thought that your approach #1 was more "monolithic", with one big (different) viewmodel. So yes, I use 1 and find it good. I also like the third one less but it is good wrt caching. If you have performance issues, or need to cache parts of the view, it may be worth trying it.
Aug
8
comment How to structure a modern web application
Yes, absolutely: I am not criticizing jQuery, but the apps and examples built (mis)using it, that make it difficult to learn how to use it properly (and choose what to use it for). I will definitely look at KnockoutJS, thank you.
Aug
8
comment How to structure a modern web application
Thanks for the "answer". Probably I am still failing to see the connection between native app development (which I did in both Qt and WPF) and web applications. I still consider them different worlds, and I worry too much about the differences to see the similarities...probably. And there are too many "bad" jQuery applications and examples out there, I suppose
Aug
8
comment How to structure a modern web application
Yes, I should made more clear that Angular is just used as an example of client-side MVVM/templating framework.. I have read that (excellent) Q&A when I built my Angular application, it was indeed a very good read!
Aug
8
awarded  Yearling
Aug
8
comment How to structure a modern web application
No problem! Thank you for bringing up the issue and letting me clarify why I am asking, and what I am looking for
Aug
8
comment How to structure a modern web application
By "confirmation" I do not intend "approval". I do not want to know what other think of my design, I would like to know if there are some fundamental design issues that I am not seeing. Hope it is more clear now.. :)
Aug
8
comment How to structure a modern web application
I tried to write it in the most neutral way possible, not asking for frameworks (ASP.NET MVC, jQuery and Angular are the ones I am planning to use, but it may be Scala Play and Knockout...). Best practices are "opinions" after all, but... In areas in which I am more expert, I can immediately see an approach and tell "oh, you do not want to do that because is bad" where bad is supported by facts learned through experience. Here I am not that experienced so.. I ask the experts! I have gut feelings, but I need expert "confirmation" :)
Aug
8
answered How to handle complex views (consisting of several parts) in MVC web application
Aug
8
asked How to structure a modern web application
Jul
5
comment “Never do in code what you can get the SQL server to do well for you” - Is this a recipe for a bad design?
@Oded vendor lock-in related to DB server burned me too many times in the past :)