Click here to Skip to main content
15,890,690 members

The Insider News

   

The Insider News is for breaking IT and Software development news. Post your news, your alerts and your inside scoops. This is an IT news-only forum - all off-topic, non-news posts will be removed. If you wish to ask a programming question please post it here.

Get The Daily Insider direct to your mailbox every day. Subscribe now!

 
GeneralRe: Namespaces are dead Pin
Andrei Straut5-Sep-12 4:14
Andrei Straut5-Sep-12 4:14 
GeneralMessage Removed Pin
5-Sep-12 4:20
professionalN_tro_P5-Sep-12 4:20 
GeneralRe: Namespaces are dead Pin
the.komplikator5-Sep-12 11:12
the.komplikator5-Sep-12 11:12 
GeneralRe: Namespaces are dead Pin
Dave Kreskowiak5-Sep-12 5:04
mveDave Kreskowiak5-Sep-12 5:04 
GeneralRe: Namespaces are dead Pin
the.komplikator5-Sep-12 11:30
the.komplikator5-Sep-12 11:30 
GeneralRe: Namespaces are dead Pin
Pete O'Hanlon5-Sep-12 11:58
mvePete O'Hanlon5-Sep-12 11:58 
GeneralRe: Namespaces are dead Pin
the.komplikator5-Sep-12 21:23
the.komplikator5-Sep-12 21:23 
GeneralRe: Namespaces are dead Pin
Dave Kreskowiak5-Sep-12 12:58
mveDave Kreskowiak5-Sep-12 12:58 
the.komplikator@gmail.com wrote:
Microsoft .NET Framework is an all-in-one generic framework. It encompasses all
functionality you could ever need on a computer and even further. Ever. No
matter what kind of project you are making.


Uhh, where in the Hell did you get THAT from?? No, it doesn't encompass everything. It tries to supply a lot of functionality that is common to all types of projects, but it does not cover everything.


the.komplikator@gmail.com wrote:
.Net already IS broken down to little pieces. They are called assemblies


Yes they are, but do you need to deply ALL the assemblies in the .NET Framework with every project type?? Is every project going to use every assembly in the .NET Framework?? No. Namespaces help keep all the assemblies oraganized into large related collections, most decending from the System or Microsoft namespaces. That's completely unneccessary. The root namespace for a collection of functionality should be the assembly itself, not the entire framework. In most cases, that greatly reduces the height of the namespace tree to one or two levels.


the.komplikator@gmail.com wrote:
So, now you have an enormous bunch of code deployed to you by default. Imagine
if there were no namespaces. Then, get some source code that was made by someone
else. And then build some reusable library. Hey, that's a bunch of code that has
no programmatic organization. Wow! That's useful.


Actually, we already have examples of this. Ever hear of the Entity Framework? NUnit?Each has a very small namespace tree. Is it REALLY required?? No. Today, namespaces only exist to avoid name collisions, not really for functionality or organizational reasons. What are the chances a namespace tree in a library is going to have two classes with the same name?? Virtually zero.

Yes, namespaces still offer functionality organization, but is it really necessary to write code?? No, it's not. I dare you to give me a single compelling reason from a developers perspective to justify the existance of namespaces in a library. Sure, from the library developers point of view, it's nice because you can keep your functionality seperated and organized for that developer.

But, from the consuming developers point of view, it's more crap I have to type at the top of my code files to get VS to do the name resolution for me so I don't have to type out complete namespace paths for every frickin' object type. I just want to reference EntityFramework.dll and that's it. All the classes in that .DLL should now available to me under a single "namespace" called "EntityFramework". I don't want a 3 or 4 level deep tree.

On top of that, now I just have to deploy EntityFramework.dll to get the functionality instead of having it baked into a 300MB .NET Framework I have to deploy.


the.komplikator@gmail.com wrote:
This looks like some people (and I'm not pointing fingers now!) are pushing some
obviously rather unpolished technologies and reinventing the wheel


What?! EVERY technology and paradigm at v1.0 is unpolished! Do you think the HTTP 1.0 spec was a chrome plated masterpiece when it was released?? Hell no! Everything, from specifications to implementations to paradigms are all unpolished trial-and-error works at v1.0. Everything evolves over time with use to see what works and what doesn't.

Having no namespaces is just another example of a "Hey, try this and see what happens" idea.

GeneralRe: Namespaces are dead Pin
the.komplikator5-Sep-12 21:31
the.komplikator5-Sep-12 21:31 
GeneralRe: Namespaces are dead Pin
Dave Kreskowiak6-Sep-12 6:33
mveDave Kreskowiak6-Sep-12 6:33 
GeneralRe: Namespaces are dead PinPopular
Terrence Dorsey5-Sep-12 5:34
sitebuilderTerrence Dorsey5-Sep-12 5:34 
GeneralRe: Namespaces are dead Pin
Andrei Straut5-Sep-12 8:25
Andrei Straut5-Sep-12 8:25 
GeneralRe: Namespaces are dead Pin
Terrence Dorsey5-Sep-12 9:56
sitebuilderTerrence Dorsey5-Sep-12 9:56 
GeneralRe: Namespaces are dead Pin
Andrei Straut5-Sep-12 9:58
Andrei Straut5-Sep-12 9:58 
GeneralRe: Namespaces are dead Pin
Terrence Dorsey5-Sep-12 13:56
sitebuilderTerrence Dorsey5-Sep-12 13:56 
GeneralRe: Namespaces are dead Pin
Clifford Nelson5-Sep-12 8:39
Clifford Nelson5-Sep-12 8:39 
GeneralRe: Namespaces are dead Pin
PIEBALDconsult5-Sep-12 8:44
mvePIEBALDconsult5-Sep-12 8:44 
GeneralRe: Namespaces are dead Pin
Ravi Bhavnani5-Sep-12 9:30
professionalRavi Bhavnani5-Sep-12 9:30 
NewsWhy HTML5 is in trouble on the mobile front Pin
Karthik J, Coimbatore5-Sep-12 1:56
Karthik J, Coimbatore5-Sep-12 1:56 
GeneralRe: Why HTML5 is in trouble on the mobile front Pin
Clifford Nelson5-Sep-12 8:35
Clifford Nelson5-Sep-12 8:35 
GeneralRe: Why HTML5 is in trouble on the mobile front Pin
db7uk5-Sep-12 9:25
db7uk5-Sep-12 9:25 
GeneralRe: Why HTML5 is in trouble on the mobile front Pin
Clifford Nelson5-Sep-12 9:42
Clifford Nelson5-Sep-12 9:42 
GeneralRe: Why HTML5 is in trouble on the mobile front Pin
db7uk5-Sep-12 9:45
db7uk5-Sep-12 9:45 
GeneralRe: Why HTML5 is in trouble on the mobile front Pin
Clifford Nelson5-Sep-12 9:52
Clifford Nelson5-Sep-12 9:52 
GeneralRe: Why HTML5 is in trouble on the mobile front Pin
db7uk5-Sep-12 9:54
db7uk5-Sep-12 9:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.