473,324 Members | 2,257 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

Limitations/disadvantages of C#

My company is considering using C# for a large project and it is a
language I'm only just now becoming familiar with. For the most part
I like it and that seems to be the most logical choice as far as
future support. My question is: what are the disadvantages or
limitations of using C#? So far I've seen very few people willing to
mention anything "bad" about it, but every language has it's faults.
We would be using C# in the .NET Framework and building with Visual
Studio .NET (I assume there are other compilers though I haven't
looked). My biggest concern is something I read once, that the C#
compiler in VS will not produce object files for later linking so any
changes require the entire project to be recompiled. Is this true?
Are there any other things that may be a consideration for a
large-scale project (several hundred thousand lines of code at a
minimum)?
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com
Nov 15 '05 #1
8 23120
Wilbur <fo*****@yahoo-dot-com.no-spam.invalid> wrote:
My company is considering using C# for a large project and it is a
language I'm only just now becoming familiar with. For the most part
I like it and that seems to be the most logical choice as far as
future support. My question is: what are the disadvantages or
limitations of using C#? So far I've seen very few people willing to
mention anything "bad" about it, but every language has it's faults.
We would be using C# in the .NET Framework and building with Visual
Studio .NET (I assume there are other compilers though I haven't
looked). My biggest concern is something I read once, that the C#
compiler in VS will not produce object files for later linking so any
changes require the entire project to be recompiled. Is this true?
Are there any other things that may be a consideration for a
large-scale project (several hundred thousand lines of code at a
minimum)?


C# can be compiled very fast, but you should certainly consider
splitting a project like that into several assemblies, which will help
matters.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Nov 15 '05 #2
I have done a project in C# almost 20,000 lines of code without trouble, you can see others projects like ROTOR o MONO, which have a lot more. You have a C# from Borland, and I guest that this answer all question except 1 the object files, and I don't have an answer for that.
--
Bela Istok
MVP C#
Caracas, Venezuela
"Wilbur" <fo*****@yahoo-dot-com.no-spam.invalid> wrote in message news:40**********@Usenet.com...
My company is considering using C# for a large project and it is a
language I'm only just now becoming familiar with. For the most part
I like it and that seems to be the most logical choice as far as
future support. My question is: what are the disadvantages or
limitations of using C#? So far I've seen very few people willing to
mention anything "bad" about it, but every language has it's faults.
We would be using C# in the .NET Framework and building with Visual
Studio .NET (I assume there are other compilers though I haven't
looked). My biggest concern is something I read once, that the C#
compiler in VS will not produce object files for later linking so any
changes require the entire project to be recompiled. Is this true?
Are there any other things that may be a consideration for a
large-scale project (several hundred thousand lines of code at a
minimum)?
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com
Nov 15 '05 #3
I know they are reworking the whole build environment for Whidbey and LH.
Not that that helps you now. Not sure about the object module deal.
Obviously, if you use dll assemblies, those that don't change - don't need
to be rebuilt. So team1 working on dll1, dll2 can rebuild their own stuff
and team 2 using dll1, and dll2 just ref the binaries, so they don't need to
rebuild anything but their own stuff. As far as c# goes, after using it for
awhile, I can't imagine programming in anything else now. I can think in
c#, I can't say that for the other languages I used over the years.
--wjs

"Wilbur" <fo*****@yahoo-dot-com.no-spam.invalid> wrote in message
news:40**********@Usenet.com...
My company is considering using C# for a large project and it is a
language I'm only just now becoming familiar with. For the most part
I like it and that seems to be the most logical choice as far as
future support. My question is: what are the disadvantages or
limitations of using C#? So far I've seen very few people willing to
mention anything "bad" about it, but every language has it's faults.
We would be using C# in the .NET Framework and building with Visual
Studio .NET (I assume there are other compilers though I haven't
looked). My biggest concern is something I read once, that the C#
compiler in VS will not produce object files for later linking so any
changes require the entire project to be recompiled. Is this true?
Are there any other things that may be a consideration for a
large-scale project (several hundred thousand lines of code at a
minimum)?
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com

Nov 15 '05 #4
C# doesn't support multiple-inheritance. It supports a 'form' of MI by
allowing multiple *interfaces*, but this only benefits the user of the class,
not the implementor.

Don't bother responding to this message that "MI is bad" -- it isn't, it is a
powerful language feature that can be misused, but that doen't make it bad.

Not specific to C#, but the 'new' (now in its second revision) development
environment and compilers are extremely poor. There are a lot of issues, most
subjective, but some of the compiler warning/error messages are extremely
unhelpful and provide virtually no context. Migration from existing
(non-trivial) C++ projects to C# can be particularly tedious -- 1/2 the time
spent on the port, 1/2 the time spent trying to isolate the mystery errors.

It will take at least two more versions of the product before it is truly
usable and refined.

Wilbur wrote:

My company is considering using C# for a large project and it is a
language I'm only just now becoming familiar with. For the most part
I like it and that seems to be the most logical choice as far as
future support. My question is: what are the disadvantages or
limitations of using C#? So far I've seen very few people willing to
mention anything "bad" about it, but every language has it's faults.
We would be using C# in the .NET Framework and building with Visual
Studio .NET (I assume there are other compilers though I haven't
looked). My biggest concern is something I read once, that the C#
compiler in VS will not produce object files for later linking so any
changes require the entire project to be recompiled. Is this true?
Are there any other things that may be a consideration for a
large-scale project (several hundred thousand lines of code at a
minimum)?

Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com


--
Bret Pehrson
mailto:br**@infowest.com
NOSPAM - Include this key in all e-mail correspondence <<38952rglkwdsl>>
Nov 15 '05 #5
I won't list the advantages since I guess it is easy enough to figure those
out. Suffice it to say that despite the disadvantages my productivity has
increased with .NET and C# as compared to unmanaged programming.

I used to work with C++ for many years after which I switched over to C#
almost exclusively. All in all, I've got only a few issues with C#.
- no templates and thus no easy type-safe collections. In the beginning
having to downcast felt like returning to the stone age; now it doesn't
bother me that much (that is about to change though with generics in C#)
- no deterministic destructors and thus no RAII (and thus managing
_unmanaged_ resources can become more complicated) (well this is not really
a language but rather a CLR issue)
- no typedefs (typedefs were most useful with complex template types, so
with no templates it was not that much of an issue)
- the fact that the whole class is defined in a single file felt like a
limitation at first but it does not bother me any more
- not having multiple inheritance may be a limitation but that really
depends more on your style - I tend to avoid it even with C++

There are issues with working with VS.NET and C# in team environments in
complex projects, as is evident e.g., in this thread:
http://tinyurl.com/2e2mw. My experiences were very similar and it
occasionally does require an untrivial amount of working around to make
things happen.

Regards,
Sami
"Wilbur" <fo*****@yahoo-dot-com.no-spam.invalid> wrote in message
news:40**********@Usenet.com...
My company is considering using C# for a large project and it is a
language I'm only just now becoming familiar with. For the most part
I like it and that seems to be the most logical choice as far as
future support. My question is: what are the disadvantages or
limitations of using C#? So far I've seen very few people willing to
mention anything "bad" about it, but every language has it's faults.
We would be using C# in the .NET Framework and building with Visual
Studio .NET (I assume there are other compilers though I haven't
looked). My biggest concern is something I read once, that the C#
compiler in VS will not produce object files for later linking so any
changes require the entire project to be recompiled. Is this true?
Are there any other things that may be a consideration for a
large-scale project (several hundred thousand lines of code at a
minimum)?
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com

Nov 15 '05 #6
Bret Pehrson <br**@infowest.com> wrote:
Not specific to C#, but the 'new' (now in its second revision) development
environment and compilers are extremely poor. There are a lot of issues, most
subjective, but some of the compiler warning/error messages are extremely
unhelpful and provide virtually no context. Migration from existing
(non-trivial) C++ projects to C# can be particularly tedious -- 1/2 the time
spent on the port, 1/2 the time spent trying to isolate the mystery errors.


While I know there are problems with VS.NET's designer (and the IDE
lacks important things like refactoring), I find the compiler
errors/warnings almost always reasonable - certainly compared with
those from MS's C++ compiler in VS6!

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Nov 15 '05 #7
The same here! VC# error and warning messages are absolutely great compared with previous VC++ versions.

However, C# language also has some limitations, and many of them are to be addressed in C# 2.0 (coming with Visual Studio .NET and ADO .NET code-named "Whidbey"). To read more about the new features, search for "Whidbey" on MSDN.

--
Sorin Dolha [MCP, MCAD]
"Jon Skeet [C# MVP]" <sk***@pobox.com> wrote in message news:MP***********************@msnews.microsoft.co m...
Bret Pehrson <br**@infowest.com> wrote:
Not specific to C#, but the 'new' (now in its second revision) development
environment and compilers are extremely poor. There are a lot of issues, most
subjective, but some of the compiler warning/error messages are extremely
unhelpful and provide virtually no context. Migration from existing
(non-trivial) C++ projects to C# can be particularly tedious -- 1/2 the time
spent on the port, 1/2 the time spent trying to isolate the mystery errors.


While I know there are problems with VS.NET's designer (and the IDE
lacks important things like refactoring), I find the compiler
errors/warnings almost always reasonable - certainly compared with
those from MS's C++ compiler in VS6!

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Nov 15 '05 #8
Winforms do not refactor at all. The resx files once set theyre impossible
to refactor without d.icking it all up

"Jon Skeet [C# MVP]" <sk***@pobox.com> wrote in message
news:MP***********************@msnews.microsoft.co m...
Bret Pehrson <br**@infowest.com> wrote:
Not specific to C#, but the 'new' (now in its second revision) development environment and compilers are extremely poor. There are a lot of issues, most subjective, but some of the compiler warning/error messages are extremely unhelpful and provide virtually no context. Migration from existing
(non-trivial) C++ projects to C# can be particularly tedious -- 1/2 the time spent on the port, 1/2 the time spent trying to isolate the mystery
errors.
While I know there are problems with VS.NET's designer (and the IDE
lacks important things like refactoring), I find the compiler
errors/warnings almost always reasonable - certainly compared with
those from MS's C++ compiler in VS6!

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too

Nov 15 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: enchantingdb | last post by:
I have an exam tomorrow that covers the perceived advantages and disadvantages of object oriented programming, in particular polymorphism, inheritance and encapsulation. I know the advantages but...
21
by: EmJayEm | last post by:
Can someone tell me the Disadvantages/Cons of web services? Thanks, EmJ.
54
by: m.roello | last post by:
In the book: "Working with Microsoft Visual Studio 2005" Craig Skibo wrote: "The power of Visual Studio 2005 lies in its ability to empower users to build, test, and debug powerful applications...
1
by: Husam | last post by:
Hi EveryBody: I have research about advantages and disadvantages of C++ languages In one of my programming courses. Can Any one help me and told me about advantages and disadvantages of C++...
11
by: GVN | last post by:
Hi All, Can anyone guide me when asynchronous method calls will be benificial? Are there any disadvantages of using asynchronous calls? Thanks,
1
by: Amit | last post by:
can anyone in the forum tell what are main disadvantages/limitations that dontnetnuke has??
1
by: vumani | last post by:
what is the advantages and disadvantages of Ms SQL server and java servletts front-end on the clien end. what is the advantages and disadvantages of Ms Access on the server, connected via JDBC and...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.