• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 18:13
CEST 00:13
KST 07:13
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
[ASL19] Finals Recap: Standing Tall10HomeStory Cup 27 - Info & Preview18Classic wins Code S Season 2 (2025)16Code S RO4 & Finals Preview: herO, Rogue, Classic, GuMiho0TL Team Map Contest #5: Presented by Monster Energy6
Community News
Weekly Cups (June 30 - July 6): Classic Doubles2[BSL20] Non-Korean Championship 4x BSL + 4x China9Flash Announces Hiatus From ASL66Weekly Cups (June 23-29): Reynor in world title form?14FEL Cracov 2025 (July 27) - $8000 live event22
StarCraft 2
General
The GOAT ranking of GOAT rankings The SCII GOAT: A statistical Evaluation Weekly Cups (June 23-29): Reynor in world title form? Weekly Cups (June 30 - July 6): Classic Doubles Program: SC2 / XSplit / OBS Scene Switcher
Tourneys
RSL: Revival, a new crowdfunded tournament series FEL Cracov 2025 (July 27) - $8000 live event Sparkling Tuna Cup - Weekly Open Tournament WardiTV Mondays Korean Starcraft League Week 77
Strategy
How did i lose this ZvP, whats the proper response Simple Questions Simple Answers
Custom Maps
[UMS] Zillion Zerglings
External Content
Mutation # 481 Fear and Lava Mutation # 480 Moths to the Flame Mutation # 479 Worn Out Welcome Mutation # 478 Instant Karma
Brood War
General
BGH Auto Balance -> http://bghmmr.eu/ ASL20 Preliminary Maps [ASL19] Finals Recap: Standing Tall SC uni coach streams logging into betting site Flash Announces Hiatus From ASL
Tourneys
[BSL20] Non-Korean Championship 4x BSL + 4x China [BSL20] Grand Finals - Sunday 20:00 CET CSL Xiamen International Invitational The Casual Games of the Week Thread
Strategy
Simple Questions, Simple Answers I am doing this better than progamers do.
Other Games
General Games
Nintendo Switch Thread Stormgate/Frost Giant Megathread Path of Exile What do you want from future RTS games? Beyond All Reason
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
Russo-Ukrainian War Thread US Politics Mega-thread Stop Killing Games - European Citizens Initiative Summer Games Done Quick 2024! Summer Games Done Quick 2025!
Fan Clubs
SKT1 Classic Fan Club! Maru Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece [\m/] Heavy Metal Thread
Sports
Formula 1 Discussion 2024 - 2025 Football Thread NBA General Discussion TeamLiquid Health and Fitness Initiative For 2023 NHL Playoffs 2024
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
Culture Clash in Video Games…
TrAiDoS
from making sc maps to makin…
Husyelt
Blog #2
tankgirl
StarCraft improvement
iopq
Trip to the Zoo
micronesia
Customize Sidebar...

Website Feedback

Closed Threads



Active: 645 users

The Big Programming Thread - Page 36

Forum Index > General Forum
Post a Reply
Prev 1 34 35 36 37 38 1031 Next
Thread Rules
1. This is not a "do my homework for me" thread. If you have specific questions, ask, but don't post an assignment or homework problem and expect an exact solution.
2. No recruiting for your cockamamie projects (you won't replace facebook with 3 dudes you found on the internet and $20)
3. If you can't articulate why a language is bad, don't start slinging shit about it. Just remember that nothing is worse than making CSS IE6 compatible.
4. Use [code] tags to format code blocks.
mcc
Profile Joined October 2010
Czech Republic4646 Posts
February 11 2011 22:40 GMT
#701
On February 11 2011 13:04 Cloud wrote:
Show nested quote +
On February 11 2011 12:59 iMbc wrote:
I have a question...

I'm fairly new to programming and i'm learning c# and I was wondering what kind of stuff should I start with?


IMHO certainly not c# :p. You don't wanna start out with a language designed for structured teams of developers and even less a language designed for programming windows apps (the horror). You won't be able to be nearly as productive as with more powerful languages. Python/scheme are better places to start.

Resources for Python:
* http://www.amazon.com/gp/product/1887902996
* Tutorials on python.org
* http://www.norvig.com/index.html <- Really cool stuff, not really for a beginner but it might inspire you, also good for lisp (Scheme is a lisp dialect)

Resources for Scheme:
SICP (Challenging, requires a lot of dedication but well worth it) Book is free, you can google it.

The little schemer

Python is powerful, well documented, well recognized, widely used. Scheme is clean and small, completely lacks a syntax, probably best language to learn about actual programming without needing to learn so much about the rules of the language itself.

Pick one, study the tutorials, find the community of that particular language (most important) and become a part of it.

Python would be cool language without the formatting requirements, but it is reasonably good language for learning. But as far as learning basic concepts of programming I think Pascal is still good, although in practice kind of useless. If you are really serious about programming you should at some point pick C/C++ to learn about pointers,...
As for functional/logical programming I love it, but I am unsure it is really necessary to learn unless you have some specific reasons for it(if you are studying CS then definitely). If you decide so I would add Prolog as example of logical programming.
mcc
Profile Joined October 2010
Czech Republic4646 Posts
February 11 2011 22:46 GMT
#702
On February 11 2011 22:46 Cambium wrote:
Show nested quote +
On February 11 2011 22:41 10or10 wrote:
On February 11 2011 22:32 Morfildur wrote:
On February 11 2011 13:04 Cloud wrote:
On February 11 2011 12:59 iMbc wrote:
I have a question...

I'm fairly new to programming and i'm learning c# and I was wondering what kind of stuff should I start with?


IMHO certainly not c# :p. You don't wanna start out with a language designed for structured teams of developers and even less a language designed for programming windows apps (the horror). You won't be able to be nearly as productive as with more powerful languages. Python/scheme are better places to start.

Resources for Python:
* http://www.amazon.com/gp/product/1887902996
* Tutorials on python.org
* http://www.norvig.com/index.html <- Really cool stuff, not really for a beginner but it might inspire you, also good for lisp (Scheme is a lisp dialect)

Resources for Scheme:
SICP (Challenging, requires a lot of dedication but well worth it) Book is free, you can google it.

The little schemer

Python is powerful, well documented, well recognized, widely used. Scheme is clean and small, completely lacks a syntax, probably best language to learn about actual programming without needing to learn so much about the rules of the language itself.

Pick one, study the tutorials, find the community of that particular language (most important) and become a part of it.


I do all my private development in C#, including linux applications. Calling C# a Windows/Microsoft-Only language only shows that people never tried to learn about it. I also found it to be a far more productive language than any other i've tried (including python, ruby, scheme, java,...).

I wouldn't recommend starting with scheme, it's a very complex language and even though i like the functional programming i found it to be very... problematic when used in a pure functional environment. I very much prefer the functional extensions of C#, though, yes, i found them a lot more useful after trying scheme for a while and learning the functional thought patterns.

Python is a nice language, it's ok to learn it and definatly won't hurt for private programming. It's a growing language but for professional development i don't see a market, it won't help you much if you want to find a job with the language of your choice, though it will teach you a lot of design and style aspects that will help you develop better in other languages (as do C# and Ruby).

I've only worked with C, C++ and Java, a part from some scripting langauges, and want to know in what way do you find C# more productive than Java?


Yea I'm curious about this too. In my past experiences, C# was only useful with VS building front-end windows apps. I know you can write server code with it too, but I never understood/researched the advantages of using it over Java.

I have used Java very little since I was using C/C++ for a loong time. And when choosing Java vs C# , the latter was easy pick thanks to the familiar "code structure". I would say for former C programmers at least at the start Java seems kind of too bloated and instinctively strange, so I think the productivity thing is maybe just subjective thing ?
jsmith
Profile Joined January 2011
United States18 Posts
February 11 2011 22:49 GMT
#703
Graduating from Northern Illinois in May with my Computer Science degree. Currently enrolled in java, web development, and some lame system architecture class with an awful teacher. Java I am kinda excited to start learning, wrote my first program last week for that class.
Cambium
Profile Blog Joined June 2004
United States16368 Posts
February 11 2011 22:52 GMT
#704
On February 12 2011 07:46 mcc wrote:
Show nested quote +
On February 11 2011 22:46 Cambium wrote:
On February 11 2011 22:41 10or10 wrote:
On February 11 2011 22:32 Morfildur wrote:
On February 11 2011 13:04 Cloud wrote:
On February 11 2011 12:59 iMbc wrote:
I have a question...

I'm fairly new to programming and i'm learning c# and I was wondering what kind of stuff should I start with?


IMHO certainly not c# :p. You don't wanna start out with a language designed for structured teams of developers and even less a language designed for programming windows apps (the horror). You won't be able to be nearly as productive as with more powerful languages. Python/scheme are better places to start.

Resources for Python:
* http://www.amazon.com/gp/product/1887902996
* Tutorials on python.org
* http://www.norvig.com/index.html <- Really cool stuff, not really for a beginner but it might inspire you, also good for lisp (Scheme is a lisp dialect)

Resources for Scheme:
SICP (Challenging, requires a lot of dedication but well worth it) Book is free, you can google it.

The little schemer

Python is powerful, well documented, well recognized, widely used. Scheme is clean and small, completely lacks a syntax, probably best language to learn about actual programming without needing to learn so much about the rules of the language itself.

Pick one, study the tutorials, find the community of that particular language (most important) and become a part of it.


I do all my private development in C#, including linux applications. Calling C# a Windows/Microsoft-Only language only shows that people never tried to learn about it. I also found it to be a far more productive language than any other i've tried (including python, ruby, scheme, java,...).

I wouldn't recommend starting with scheme, it's a very complex language and even though i like the functional programming i found it to be very... problematic when used in a pure functional environment. I very much prefer the functional extensions of C#, though, yes, i found them a lot more useful after trying scheme for a while and learning the functional thought patterns.

Python is a nice language, it's ok to learn it and definatly won't hurt for private programming. It's a growing language but for professional development i don't see a market, it won't help you much if you want to find a job with the language of your choice, though it will teach you a lot of design and style aspects that will help you develop better in other languages (as do C# and Ruby).

I've only worked with C, C++ and Java, a part from some scripting langauges, and want to know in what way do you find C# more productive than Java?


Yea I'm curious about this too. In my past experiences, C# was only useful with VS building front-end windows apps. I know you can write server code with it too, but I never understood/researched the advantages of using it over Java.

I have used Java very little since I was using C/C++ for a loong time. And when choosing Java vs C# , the latter was easy pick thanks to the familiar "code structure". I would say for former C programmers at least at the start Java seems kind of too bloated and instinctively strange, so I think the productivity thing is maybe just subjective thing ?

It depends on what you want to do. If you just want to print out "Hello World" or to read a file (lol@Java for this...), C++ is by far more productive.

However, when you are wishing to build a large and scalable system, I don't think it's a subjective thing that Java is better. With frameworks like Spring, a lot of things are just a lot easier to implement in Java than C++. I've worked at 5 different companies, and without a single exception, they all chose to write their server backend in Java. The performance is most likely (slightly) worse than C++, but you get a lot of benefits ranging from lower cost (shorter implementation cycles throughout and cheaper to hire Java programmers too!), to maintenance, security, etc. etc.
When you want something, all the universe conspires in helping you to achieve it.
mcc
Profile Joined October 2010
Czech Republic4646 Posts
February 11 2011 22:52 GMT
#705
On February 11 2011 23:26 Cambium wrote:
Show nested quote +
On February 11 2011 23:13 Morfildur wrote:
On February 11 2011 22:46 Cambium wrote:
On February 11 2011 22:41 10or10 wrote:
On February 11 2011 22:32 Morfildur wrote:
On February 11 2011 13:04 Cloud wrote:
On February 11 2011 12:59 iMbc wrote:
I have a question...

I'm fairly new to programming and i'm learning c# and I was wondering what kind of stuff should I start with?


IMHO certainly not c# :p. You don't wanna start out with a language designed for structured teams of developers and even less a language designed for programming windows apps (the horror). You won't be able to be nearly as productive as with more powerful languages. Python/scheme are better places to start.

Resources for Python:
* http://www.amazon.com/gp/product/1887902996
* Tutorials on python.org
* http://www.norvig.com/index.html <- Really cool stuff, not really for a beginner but it might inspire you, also good for lisp (Scheme is a lisp dialect)

Resources for Scheme:
SICP (Challenging, requires a lot of dedication but well worth it) Book is free, you can google it.

The little schemer

Python is powerful, well documented, well recognized, widely used. Scheme is clean and small, completely lacks a syntax, probably best language to learn about actual programming without needing to learn so much about the rules of the language itself.

Pick one, study the tutorials, find the community of that particular language (most important) and become a part of it.


I do all my private development in C#, including linux applications. Calling C# a Windows/Microsoft-Only language only shows that people never tried to learn about it. I also found it to be a far more productive language than any other i've tried (including python, ruby, scheme, java,...).

I wouldn't recommend starting with scheme, it's a very complex language and even though i like the functional programming i found it to be very... problematic when used in a pure functional environment. I very much prefer the functional extensions of C#, though, yes, i found them a lot more useful after trying scheme for a while and learning the functional thought patterns.

Python is a nice language, it's ok to learn it and definatly won't hurt for private programming. It's a growing language but for professional development i don't see a market, it won't help you much if you want to find a job with the language of your choice, though it will teach you a lot of design and style aspects that will help you develop better in other languages (as do C# and Ruby).

I've only worked with C, C++ and Java, a part from some scripting langauges, and want to know in what way do you find C# more productive than Java?


Yea I'm curious about this too. In my past experiences, C# was only useful with VS building front-end windows apps. I know you can write server code with it too, but I never understood/researched the advantages of using it over Java.


Other advantages of C# compared to java:

Functional extensions, first class functions, common namings of methods and functions in the .NET library (depending on which java array class you use, it's either .size(), .getLength(), .length, .getCount(), .count(), .getLength(), ... i guess thats the drawback on being open source with no early concept), extension methods, ...

Functional extensions:
For example if i want the ID properties of all customer objects in an array where the customer registered before 2011 (which reminds me, C# properties are really cool, Python has similar, Java doesn't):

Oh, did i mention that the last time i had to use Javas date handling libraries i nearly had to scream because of how complex and unlogical it was? calendar... uhm... yes.... hope for you java folks they improved on that.

Oh, and if we want to make that multi-threaded because the sourceArray is very big... we have to use third party libraries in Java or write a lot of code.

C# multi-threaded (.NET 4.0):
IEnumberable<Int32> results = sourceArray.AsParallel().Where(c => c.RegisteredDate < (new DateTime(2010, 1, 1)).Select(c => c.ID);

Extension methods:

I recently had the case that i wanted to have the position of units on a map, i stored them as instances of the Point class. I later had the case where i wanted to calculate the distances between units, so instead of creating a new class and using that everywhere, i simply created a "PointExtensions" class and added a GetDistanceTo() method to the original Point class.

Oh, did i mention that visual studio 2010 is simply the best IDE i've ever used? Neither eclipse, netbeans, kdevelop, etc even comes close.

I had to write Java for a year, but my knowledge is still limited and dated, if anyone wants to correct me i always welcome to learn something new, but imho C# is just a more modern language, though you still pay for it by knowing less about what happens in the background.


These are all language nuisances, and I'm sure such things exist in C# as well (I just don't use them enough). Yes, I agree, some things in Java are complete garbage (like date, generics, primitive autoboxing, and lack of functors), but complaining about these issues is downright pointless. I was more curious about the possible security/performance/portability reasons backing your claim.

Also, VS is absolute terrible if you have a large project, it takes forever to load, build and run. And don't even get me started on loading the designers if they are interlaced with other designers.

Hmm, we used VS on a really humonguous project and it was pretty fast, but that depends on your definition of slow I guess. I don't really remember loading times since I had it open for months without restarting or closing, so maybe.
Kambing
Profile Joined May 2010
United States1176 Posts
February 11 2011 22:55 GMT
#706
On February 12 2011 07:52 mcc wrote:
Show nested quote +
On February 11 2011 23:26 Cambium wrote:
On February 11 2011 23:13 Morfildur wrote:
On February 11 2011 22:46 Cambium wrote:
On February 11 2011 22:41 10or10 wrote:
On February 11 2011 22:32 Morfildur wrote:
On February 11 2011 13:04 Cloud wrote:
On February 11 2011 12:59 iMbc wrote:
I have a question...

I'm fairly new to programming and i'm learning c# and I was wondering what kind of stuff should I start with?


IMHO certainly not c# :p. You don't wanna start out with a language designed for structured teams of developers and even less a language designed for programming windows apps (the horror). You won't be able to be nearly as productive as with more powerful languages. Python/scheme are better places to start.

Resources for Python:
* http://www.amazon.com/gp/product/1887902996
* Tutorials on python.org
* http://www.norvig.com/index.html <- Really cool stuff, not really for a beginner but it might inspire you, also good for lisp (Scheme is a lisp dialect)

Resources for Scheme:
SICP (Challenging, requires a lot of dedication but well worth it) Book is free, you can google it.

The little schemer

Python is powerful, well documented, well recognized, widely used. Scheme is clean and small, completely lacks a syntax, probably best language to learn about actual programming without needing to learn so much about the rules of the language itself.

Pick one, study the tutorials, find the community of that particular language (most important) and become a part of it.


I do all my private development in C#, including linux applications. Calling C# a Windows/Microsoft-Only language only shows that people never tried to learn about it. I also found it to be a far more productive language than any other i've tried (including python, ruby, scheme, java,...).

I wouldn't recommend starting with scheme, it's a very complex language and even though i like the functional programming i found it to be very... problematic when used in a pure functional environment. I very much prefer the functional extensions of C#, though, yes, i found them a lot more useful after trying scheme for a while and learning the functional thought patterns.

Python is a nice language, it's ok to learn it and definatly won't hurt for private programming. It's a growing language but for professional development i don't see a market, it won't help you much if you want to find a job with the language of your choice, though it will teach you a lot of design and style aspects that will help you develop better in other languages (as do C# and Ruby).

I've only worked with C, C++ and Java, a part from some scripting langauges, and want to know in what way do you find C# more productive than Java?


Yea I'm curious about this too. In my past experiences, C# was only useful with VS building front-end windows apps. I know you can write server code with it too, but I never understood/researched the advantages of using it over Java.


Other advantages of C# compared to java:

Functional extensions, first class functions, common namings of methods and functions in the .NET library (depending on which java array class you use, it's either .size(), .getLength(), .length, .getCount(), .count(), .getLength(), ... i guess thats the drawback on being open source with no early concept), extension methods, ...

Functional extensions:
For example if i want the ID properties of all customer objects in an array where the customer registered before 2011 (which reminds me, C# properties are really cool, Python has similar, Java doesn't):

Oh, did i mention that the last time i had to use Javas date handling libraries i nearly had to scream because of how complex and unlogical it was? calendar... uhm... yes.... hope for you java folks they improved on that.

Oh, and if we want to make that multi-threaded because the sourceArray is very big... we have to use third party libraries in Java or write a lot of code.

C# multi-threaded (.NET 4.0):
IEnumberable<Int32> results = sourceArray.AsParallel().Where(c => c.RegisteredDate < (new DateTime(2010, 1, 1)).Select(c => c.ID);

Extension methods:

I recently had the case that i wanted to have the position of units on a map, i stored them as instances of the Point class. I later had the case where i wanted to calculate the distances between units, so instead of creating a new class and using that everywhere, i simply created a "PointExtensions" class and added a GetDistanceTo() method to the original Point class.

Oh, did i mention that visual studio 2010 is simply the best IDE i've ever used? Neither eclipse, netbeans, kdevelop, etc even comes close.

I had to write Java for a year, but my knowledge is still limited and dated, if anyone wants to correct me i always welcome to learn something new, but imho C# is just a more modern language, though you still pay for it by knowing less about what happens in the background.


These are all language nuisances, and I'm sure such things exist in C# as well (I just don't use them enough). Yes, I agree, some things in Java are complete garbage (like date, generics, primitive autoboxing, and lack of functors), but complaining about these issues is downright pointless. I was more curious about the possible security/performance/portability reasons backing your claim.

Also, VS is absolute terrible if you have a large project, it takes forever to load, build and run. And don't even get me started on loading the designers if they are interlaced with other designers.

Hmm, we used VS on a really humonguous project and it was pretty fast, but that depends on your definition of slow I guess. I don't really remember loading times since I had it open for months without restarting or closing, so maybe.


It also depends on which language you were using and what version of VS it was. For example, VS 2005 was very slow for people with large C++ projects (read: multi-million lines of code). Some hotfixes in 2008 alleviated some of the pain. And now it better in 2010. Although the fact that the IDE is WPE-based now in 2010 has brought its own set of problems.
mcc
Profile Joined October 2010
Czech Republic4646 Posts
February 11 2011 22:59 GMT
#707
On February 12 2011 00:38 heishe wrote:
Java and C# are pretty much equally bad. Both lack some essential features and are dumbed down (compared to more complicated, but much more mighty languages such as C++) in order to be more secure for worse programmers. I'm not sure about C# anymore since I last used it about 4 years ago, but you can't even overload operators in Java. No template programming in either, plus algorithms which are memory-management heavy are a complete and total hell in both C# and Java - performance wise (due to garbage collection and lack of pointer arithmetics). By the way a really minor point that always bothered me greatly with both languages is the lack of a possibilty to separate definition and implementation of classes.

What makes them actually useful are the standard libraries and IDEs which are provided with them (Most people use eclipse for Java and Visual Studio for C#), plus Java is more or less platform independent (requires virtual machines on clients though).

As such they are nice for mediocre software engineers and software architects who need some codemonkeys to code their carefully designed code-structure, and of course in general for GUI designers, because of Swing and Windows Forms (even though I personally think that the swing GUI looks really ugly), but even after working with all 3 languages (Java, C#, C++) extensively, I have always and will always prefer C++.

Not sure about some of your statements, but I also still prefer C/C++, but they also have a lot of problems. I looked somewhat at D and found it quite a nice language, so when I have time I am going to try it out some more. Unfortunately it is not too popular.
mcc
Profile Joined October 2010
Czech Republic4646 Posts
February 11 2011 23:04 GMT
#708
On February 12 2011 03:27 fabiano wrote:
This discussion is not productive at all.

People who like to use Java will say Java is the best and blablabla, people who like to use C++ will say C++ is the best blablabla, same for C# and all other languages.

The maintainability is much more attached to software engineering than the language you are actually going to use.

Basically yes, but there are some deficiencies in some languages and it is good to address them(like PHP and variable declaration). And of course there are some terribly designed languages.
Cambium
Profile Blog Joined June 2004
United States16368 Posts
February 11 2011 23:04 GMT
#709
On February 12 2011 07:55 Kambing wrote:
Show nested quote +
On February 12 2011 07:52 mcc wrote:
On February 11 2011 23:26 Cambium wrote:
On February 11 2011 23:13 Morfildur wrote:
On February 11 2011 22:46 Cambium wrote:
On February 11 2011 22:41 10or10 wrote:
On February 11 2011 22:32 Morfildur wrote:
On February 11 2011 13:04 Cloud wrote:
On February 11 2011 12:59 iMbc wrote:
I have a question...

I'm fairly new to programming and i'm learning c# and I was wondering what kind of stuff should I start with?


IMHO certainly not c# :p. You don't wanna start out with a language designed for structured teams of developers and even less a language designed for programming windows apps (the horror). You won't be able to be nearly as productive as with more powerful languages. Python/scheme are better places to start.

Resources for Python:
* http://www.amazon.com/gp/product/1887902996
* Tutorials on python.org
* http://www.norvig.com/index.html <- Really cool stuff, not really for a beginner but it might inspire you, also good for lisp (Scheme is a lisp dialect)

Resources for Scheme:
SICP (Challenging, requires a lot of dedication but well worth it) Book is free, you can google it.

The little schemer

Python is powerful, well documented, well recognized, widely used. Scheme is clean and small, completely lacks a syntax, probably best language to learn about actual programming without needing to learn so much about the rules of the language itself.

Pick one, study the tutorials, find the community of that particular language (most important) and become a part of it.


I do all my private development in C#, including linux applications. Calling C# a Windows/Microsoft-Only language only shows that people never tried to learn about it. I also found it to be a far more productive language than any other i've tried (including python, ruby, scheme, java,...).

I wouldn't recommend starting with scheme, it's a very complex language and even though i like the functional programming i found it to be very... problematic when used in a pure functional environment. I very much prefer the functional extensions of C#, though, yes, i found them a lot more useful after trying scheme for a while and learning the functional thought patterns.

Python is a nice language, it's ok to learn it and definatly won't hurt for private programming. It's a growing language but for professional development i don't see a market, it won't help you much if you want to find a job with the language of your choice, though it will teach you a lot of design and style aspects that will help you develop better in other languages (as do C# and Ruby).

I've only worked with C, C++ and Java, a part from some scripting langauges, and want to know in what way do you find C# more productive than Java?


Yea I'm curious about this too. In my past experiences, C# was only useful with VS building front-end windows apps. I know you can write server code with it too, but I never understood/researched the advantages of using it over Java.


Other advantages of C# compared to java:

Functional extensions, first class functions, common namings of methods and functions in the .NET library (depending on which java array class you use, it's either .size(), .getLength(), .length, .getCount(), .count(), .getLength(), ... i guess thats the drawback on being open source with no early concept), extension methods, ...

Functional extensions:
For example if i want the ID properties of all customer objects in an array where the customer registered before 2011 (which reminds me, C# properties are really cool, Python has similar, Java doesn't):

Oh, did i mention that the last time i had to use Javas date handling libraries i nearly had to scream because of how complex and unlogical it was? calendar... uhm... yes.... hope for you java folks they improved on that.

Oh, and if we want to make that multi-threaded because the sourceArray is very big... we have to use third party libraries in Java or write a lot of code.

C# multi-threaded (.NET 4.0):
IEnumberable<Int32> results = sourceArray.AsParallel().Where(c => c.RegisteredDate < (new DateTime(2010, 1, 1)).Select(c => c.ID);

Extension methods:

I recently had the case that i wanted to have the position of units on a map, i stored them as instances of the Point class. I later had the case where i wanted to calculate the distances between units, so instead of creating a new class and using that everywhere, i simply created a "PointExtensions" class and added a GetDistanceTo() method to the original Point class.

Oh, did i mention that visual studio 2010 is simply the best IDE i've ever used? Neither eclipse, netbeans, kdevelop, etc even comes close.

I had to write Java for a year, but my knowledge is still limited and dated, if anyone wants to correct me i always welcome to learn something new, but imho C# is just a more modern language, though you still pay for it by knowing less about what happens in the background.


These are all language nuisances, and I'm sure such things exist in C# as well (I just don't use them enough). Yes, I agree, some things in Java are complete garbage (like date, generics, primitive autoboxing, and lack of functors), but complaining about these issues is downright pointless. I was more curious about the possible security/performance/portability reasons backing your claim.

Also, VS is absolute terrible if you have a large project, it takes forever to load, build and run. And don't even get me started on loading the designers if they are interlaced with other designers.

Hmm, we used VS on a really humonguous project and it was pretty fast, but that depends on your definition of slow I guess. I don't really remember loading times since I had it open for months without restarting or closing, so maybe.


It also depends on which language you were using and what version of VS it was. For example, VS 2005 was very slow for people with large C++ projects (read: multi-million lines of code). Some hotfixes in 2008 alleviated some of the pain. And now it better in 2010. Although the fact that the IDE is WPE-based now in 2010 has brought its own set of problems.


Yea, I was talking about corporate/commercial applications. I've used both 2005 and 2008, and opening designers were a nightmare. I heard 2010 was much better, but I've never used it in a corporate setting.
When you want something, all the universe conspires in helping you to achieve it.
mcc
Profile Joined October 2010
Czech Republic4646 Posts
February 11 2011 23:12 GMT
#710
On February 12 2011 07:52 Cambium wrote:
Show nested quote +
On February 12 2011 07:46 mcc wrote:
On February 11 2011 22:46 Cambium wrote:
On February 11 2011 22:41 10or10 wrote:
On February 11 2011 22:32 Morfildur wrote:
On February 11 2011 13:04 Cloud wrote:
On February 11 2011 12:59 iMbc wrote:
I have a question...

I'm fairly new to programming and i'm learning c# and I was wondering what kind of stuff should I start with?


IMHO certainly not c# :p. You don't wanna start out with a language designed for structured teams of developers and even less a language designed for programming windows apps (the horror). You won't be able to be nearly as productive as with more powerful languages. Python/scheme are better places to start.

Resources for Python:
* http://www.amazon.com/gp/product/1887902996
* Tutorials on python.org
* http://www.norvig.com/index.html <- Really cool stuff, not really for a beginner but it might inspire you, also good for lisp (Scheme is a lisp dialect)

Resources for Scheme:
SICP (Challenging, requires a lot of dedication but well worth it) Book is free, you can google it.

The little schemer

Python is powerful, well documented, well recognized, widely used. Scheme is clean and small, completely lacks a syntax, probably best language to learn about actual programming without needing to learn so much about the rules of the language itself.

Pick one, study the tutorials, find the community of that particular language (most important) and become a part of it.


I do all my private development in C#, including linux applications. Calling C# a Windows/Microsoft-Only language only shows that people never tried to learn about it. I also found it to be a far more productive language than any other i've tried (including python, ruby, scheme, java,...).

I wouldn't recommend starting with scheme, it's a very complex language and even though i like the functional programming i found it to be very... problematic when used in a pure functional environment. I very much prefer the functional extensions of C#, though, yes, i found them a lot more useful after trying scheme for a while and learning the functional thought patterns.

Python is a nice language, it's ok to learn it and definatly won't hurt for private programming. It's a growing language but for professional development i don't see a market, it won't help you much if you want to find a job with the language of your choice, though it will teach you a lot of design and style aspects that will help you develop better in other languages (as do C# and Ruby).

I've only worked with C, C++ and Java, a part from some scripting langauges, and want to know in what way do you find C# more productive than Java?


Yea I'm curious about this too. In my past experiences, C# was only useful with VS building front-end windows apps. I know you can write server code with it too, but I never understood/researched the advantages of using it over Java.

I have used Java very little since I was using C/C++ for a loong time. And when choosing Java vs C# , the latter was easy pick thanks to the familiar "code structure". I would say for former C programmers at least at the start Java seems kind of too bloated and instinctively strange, so I think the productivity thing is maybe just subjective thing ?

It depends on what you want to do. If you just want to print out "Hello World" or to read a file (lol@Java for this...), C++ is by far more productive.

However, when you are wishing to build a large and scalable system, I don't think it's a subjective thing that Java is better. With frameworks like Spring, a lot of things are just a lot easier to implement in Java than C++. I've worked at 5 different companies, and without a single exception, they all chose to write their server backend in Java. The performance is most likely (slightly) worse than C++, but you get a lot of benefits ranging from lower cost (shorter implementation cycles throughout and cheaper to hire Java programmers too!), to maintenance, security, etc. etc.

You misunderstood I was talking about C#/Java productivity difference and said it is maybe just dependent if the programmer comes from C background.
windzor
Profile Joined October 2010
Denmark1013 Posts
February 11 2011 23:15 GMT
#711
On February 12 2011 00:38 heishe wrote:
By the way a really minor point that always bothered me greatly with both languages is the lack of a possibilty to separate definition and implementation of classes.


Sorry, but if you haven't learned about interfaces in java or C# your arguments don't really matter. Actually java and C# has far superior ways of seperating definition and implementation than C++ in ways where your program achitecture is more coherent.

IMO using all 3 languages C++ is a better language for system programming. But most things people point out as good thing in c++ aren't needed. Things like operator overloading is just syntactic sugar for not having aboundent method for doing the same. But C++ have some nice performance gains sometimes, which is often negated by the JVM doing it's funky stuff.
Yeah
Ace
Profile Blog Joined October 2002
United States16096 Posts
February 11 2011 23:30 GMT
#712
On February 12 2011 07:15 Kambing wrote:
Show nested quote +
On February 12 2011 07:01 Ace wrote:
On February 12 2011 06:33 Willes wrote:
Modern software becomes bigger, development of new software raises because markets/ppl/industries/whatever need new software and here you have your biggest advantage over c++: bug-resistance

the chance of producing bugs is alot higher with c++ compared to c#, java, because of the nature of the languages o.c., especially memory organisation produces bugs...
besides technical differences this is a huge factor in a time where speed isnt that much of a factor because of faster cpu's and all that stuff that belongs to it...

programming languages have huge success because they give ppl what they need at a given time, in this case easy oop-able languages are more effectively in large software-projects than c++, different requirements - different languages , thats simply all.

time = money, garbage collectors safe time, also for good programmers, especially in large projects...

mfg


That isn't necessarily true. C++ is an older language and as such, components you'd use (aka other people's code and well known solutions to problems) will be extensively documented.

No matter what language you use you will always have bugs. Garbage collectors, like time spent coding, aren't major issues if you are a Software Engineer. It's nice to have but isn't going to make someone that isn't experienced in programming better.


I agree with you that the overall average bug rate for C++ code is not necessarily higher than in other languages. However, I think the real point of Willies's post is that garbage collectors remove whole classes of bugs from the equation which simplifies design and testing.

But definitely garbage collection does not make you a better or worse programmer. It is a tool that can make your life easier (as long as you are aware of and accept the downsides) so you can focus on the problem at hand rather than the infrastructure to solve that problem.


This post sums it up perfectly and the bolded is the best advice for people learning programming. Solve the problem before worrying about which tool to use.
Math me up, scumboi. - Acrofales
indigoawareness
Profile Joined October 2010
Slovakia273 Posts
Last Edited: 2011-02-19 22:18:29
February 12 2011 03:48 GMT
#713
edit
To sleep, perchance to dream.
Cloud
Profile Blog Joined November 2004
Sexico5880 Posts
February 12 2011 04:11 GMT
#714
On February 12 2011 12:48 indigoawareness wrote:
hopefully someone could help:
I have a mac cookies.plist file and I'm trying to convert it into a readable format (I am using windows 7). I found a open source utility that http://jafat.sourceforge.net/files.html that does so but the precompiled version (which I'm using bc I have no idea what I'm doing really) outputs everything I want to STDOUT. I want to put it into a text file or something better. Is there a way to do this, ideally very simply like from command prompt?

Thanks in advance.

Maybe this? http://lesterchan.net/plutil/
BlueLaguna on West, msg for game.
proxious
Profile Joined February 2011
Angola2 Posts
February 12 2011 07:02 GMT
#715
--- Nuked ---
jsmith
Profile Joined January 2011
United States18 Posts
February 13 2011 21:07 GMT
#716
you guys got any suggestions for a good ide to do java in? is it pretty much just use eclipse?
Ace
Profile Blog Joined October 2002
United States16096 Posts
February 13 2011 21:10 GMT
#717
I use Eclipse and JGrasp at times.
Math me up, scumboi. - Acrofales
jsmith
Profile Joined January 2011
United States18 Posts
February 13 2011 21:13 GMT
#718
which do u prefer?
heishe
Profile Blog Joined June 2009
Germany2284 Posts
February 13 2011 21:22 GMT
#719
On February 12 2011 08:15 windzor wrote:
Show nested quote +
On February 12 2011 00:38 heishe wrote:
By the way a really minor point that always bothered me greatly with both languages is the lack of a possibilty to separate definition and implementation of classes.


Sorry, but if you haven't learned about interfaces in java or C# your arguments don't really matter.


Interfaces have exactly nothing to do with practical separation of implementation and definition (which people do mostly for (besides lowering the compile time by a minimum when just changing the implementation) comfortability reasons), and if you think that's what they're for... well then I've got nothing else to say.

I'm not sure, maybe I'm translating from German to English in the wrong way. What I'm talking about is having a .hpp (or .h) file where you define the class/set of functions etc., and a .cpp (or .c) file where you implement it.
If you value your soul, never look into the eye of a horse. Your soul will forever be lost in the void of the horse.
Ace
Profile Blog Joined October 2002
United States16096 Posts
Last Edited: 2011-02-13 21:36:39
February 13 2011 21:34 GMT
#720
On February 14 2011 06:13 jsmith wrote:
which do u prefer?


I use Eclipse but that's because if you're going to be a professional I think any SE should learn to use Eclipse. JGrasp is pretty good though but I haven't used it seriously since last summer.

Use both of them if you just want to learn the nuances of IDEs.


@heishe: I think he was talking about actual programming interfaces where you where as you were speaking in terms of information hiding via interfaces.
Math me up, scumboi. - Acrofales
Prev 1 34 35 36 37 38 1031 Next
Please log in or register to reply.
Live Events Refresh
Next event in 1h 47m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
RotterdaM 728
ProTech67
ROOTCatZ 56
Livibee 53
JuggernautJason32
UpATreeSC 1
StarCraft: Brood War
Artosis 240
Rock 24
MaD[AoV]14
Stormgate
Nathanias73
Dota 2
NeuroSwarm51
League of Legends
Grubby4548
Counter-Strike
Fnx 2254
taco 746
Stewie2K688
flusha402
sgares146
Super Smash Bros
PPMD146
Mew2King84
Heroes of the Storm
Liquid`Hasu569
Other Games
summit1g7854
tarik_tv2375
fl0m700
mouzStarbuck293
ZombieGrub59
Maynarde17
Organizations
Other Games
gamesdonequick49954
BasetradeTV29
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 22 non-featured ]
StarCraft 2
• kabyraGe 268
• musti20045 36
• davetesta33
• IndyKCrew
• sooper7s
• Migwel
• AfreecaTV YouTube
• LaughNgamezSOOP
• intothetv
• Kozan
StarCraft: Brood War
• 80smullet 31
• Eskiya23 20
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Stormgate
• mYiSmile10
Dota 2
• masondota2985
League of Legends
• Jankos2288
• TFBlade1022
Other Games
• imaqtpie1968
• Shiphtur533
• WagamamaTV222
Upcoming Events
Replay Cast
1h 47m
Sparkling Tuna Cup
11h 47m
WardiTV European League
17h 47m
MaNa vs sebesdes
Mixu vs Fjant
ByuN vs HeRoMaRinE
ShoWTimE vs goblin
Gerald vs Babymarine
Krystianer vs YoungYakov
PiGosaur Monday
1d 1h
The PondCast
1d 11h
WardiTV European League
1d 13h
Jumy vs NightPhoenix
Percival vs Nicoract
ArT vs HiGhDrA
MaxPax vs Harstem
Scarlett vs Shameless
SKillous vs uThermal
uThermal 2v2 Circuit
1d 17h
Replay Cast
2 days
RSL Revival
2 days
ByuN vs SHIN
Clem vs Reynor
Replay Cast
3 days
[ Show More ]
RSL Revival
3 days
Classic vs Cure
FEL
3 days
RSL Revival
4 days
FEL
4 days
FEL
4 days
CSO Cup
4 days
BSL20 Non-Korean Champi…
4 days
Bonyth vs QiaoGege
Dewalt vs Fengzi
Hawk vs Zhanhun
Sziky vs Mihu
Mihu vs QiaoGege
Zhanhun vs Sziky
Fengzi vs Hawk
Sparkling Tuna Cup
5 days
RSL Revival
5 days
FEL
5 days
BSL20 Non-Korean Champi…
5 days
Bonyth vs Dewalt
QiaoGege vs Dewalt
Hawk vs Bonyth
Sziky vs Fengzi
Mihu vs Zhanhun
QiaoGege vs Zhanhun
Fengzi vs Mihu
Liquipedia Results

Completed

BSL Season 20
HSC XXVII
Heroes 10 EU

Ongoing

JPL Season 2
BSL 2v2 Season 3
Acropolis #3
KCM Race Survival 2025 Season 2
CSL 17: 2025 SUMMER
Copa Latinoamericana 4
Jiahua Invitational
Championship of Russia 2025
RSL Revival: Season 1
Murky Cup #2
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25
BLAST Rivals Spring 2025
MESA Nomadic Masters
CCT Season 2 Global Finals
IEM Melbourne 2025

Upcoming

2025 ACS Season 2: Qualifier
CSLPRO Last Chance 2025
CSL Xiamen Invitational
2025 ACS Season 2
CSLPRO Chat StarLAN 3
K-Championship
uThermal 2v2 Main Event
SEL Season 2 Championship
FEL Cracov 2025
Esports World Cup 2025
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Disclosure: This page contains affiliate marketing links that support TLnet.

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.