415 reputation
415
bio website
location
age
visits member for 3 years, 11 months
seen 4 hours ago

2d
comment Can we replace XML with JSON entirely?
@SK-logic are you seriously suggesting a lack of good tooling for xml?
2d
comment Why did Alan Kay say, “The Internet was so well done, but the web was by amateurs”?
For its designed purpose, hypertext, html is fine. But as an application platform it fails miserably. The only advantage was no deployment and platform agnostic. Searching is not the only thing people do on a computer. Financial planning, games, social interactions, etc. Who cares if I can't search my blackjack game? Given a choice between web app and mobile app, people overwhelmingly choose the native app. There's a reason for that.
Mar
28
comment Why did Alan Kay say, “The Internet was so well done, but the web was by amateurs”?
@mpw no, the browser isn't fulfilling that. Brower "apps" are horrible because they try to abuse the browser into being something its not. It offers the most basic of controls and JavaScript is used to try and make anything remotely close to the rich control set of desktops. What is pushing kays vision forward are the app stores from Microsoft, Apple and Google. I suspect normal users will use browsers less as apps continue their rise. The web will still be there but it will be used behind the scenes by apps.
Mar
28
comment Why did Alan Kay say, “The Internet was so well done, but the web was by amateurs”?
"well specified declarative language like HTML ". That's rich.
Mar
13
comment Should one check for null if he does not expect null?
Use code contracts and add Ensures where appropriate (almost everywhere).
Mar
12
answered Put Business Logic and Model Declaration in Different DLL
Mar
12
comment Why JavaScript? What's the advantages?
" it's pretty hard to find something that's not possible to do in JS" Well that's true in any language really.
Mar
12
comment Why JavaScript? What's the advantages?
@Katana314 There are plenty of good alternatives, with the one exception of web browsers.
Mar
12
comment Handling epics that only provide a shippable product at the end
To some extent you can pick and choose how to do agile, but some core tenants you cannot. I've worked like that, and one possible outcome is waterscrum, which is worse than either pure methodology would have been.
Mar
11
comment How would you design a user database with custom fields
@noobcser FYI I've actually encountered these requirements quite frequently in my career and have experience with each of the proposed solutions, so I'm suggesting the one which has worked best in my experience. Use of xml data types for this sort of thing is partially why I hate that MS adding xml as a native data type.
Mar
11
comment How would you design a user database with custom fields
@noobcser The data growing as rows doesn't really matter, after all databases are designing around rows and joins. In any event you'd more likely use Common Table Expressions for this which are quite good at this sort of thing. I'm not sure if you missed the part where I said you can use sql_variant as the data type for the value column, which stores the value as whatever type you stick into it. While i'm naming MS SQL server feature names, i'd expect other mature DBMS to have similar features.
Mar
11
comment How would you design a user database with custom fields
Are you referring to my answer or the OPs idea of tacking all the extra columns onto the customer table?
Mar
11
comment How would you design a user database with custom fields
This can work as well, but I feel becomes limited once you actually need to do something against the data stored in the XML / JSON field.
Mar
11
awarded  Yearling
Mar
11
comment How would you design a user database with custom fields
And if you have thousands of customers a table per each can quickly become unmaintainable, not to mention that you'll need custom code for each customers' custom fields.
Mar
11
answered How would you design a user database with custom fields
Mar
9
answered What's the correct way to architect multiple ASP.NET MVC applications dealing with similar data?
Mar
3
comment Is it worth even checking to see if Guid.NewGuid() is Guid.Empty?
@rjzii Its still code you're working on, and if ever saw that I'd immediately remove the .ToString() calls.
Mar
2
comment Is it worth even checking to see if Guid.NewGuid() is Guid.Empty?
I love code contracts.
Mar
2
comment Is it worth even checking to see if Guid.NewGuid() is Guid.Empty?
Why on earth are you converting the guids to strings and then comparing? they compare fine on their own.