C++ or C#

C# is very popular now a days and i am also using the C# for do window and app related programs. C# is using very widely all across the world due to it's feature and compatibility.
 
Unless you have strong, valid reasons for going with C++, just save yourself some time and hassle and go with C#.

There are very few areas where you need to use c++ these days.

And big lulz at the people saying they have used c++ for a few years and know it insides and out. The more C++ you know the more you know that you don't know it ;-)
 
Knowing you all know C++ in age of 15, and I don't have enough knowledge in c++ although I'm 21.
I feel shame on me. Seriously ... :(
 
If you have idea about C++ than it is really easy to learn C#. Only one thing is important that you should know OOPs concepts.
And C# is very easy as compared to C++...
 
When will you people stop posting your dumb "language x is better than language y" posts? It depends on the OP's needs.

And the OP wants to develop bots





Are you both outta your mind? Seriously before I write an essay filled with rage I'll just post my reaction.

head-keyboard.gif


Is assembler better than PHP? I need your answer, please get back to me asap.

Sincerely yours,
food
 
Which is better for scraping data on a linux server?
 
Interesting answer. Can you recommend any libraries or give us a point in the right direction?

Linux servers are so much cheaper!

The basic advantage you get with node is the asynchronous nature that fits like a glove in things like scraping (while it is useless in other cases, like computational heavy things - no magic bullet). This allows you to create complex scrapers easily and elegantly. Simple scraping is not hard in almost any language, you could even do a parallel scraper in Bash. So, for simple things, not much difference what you choose.

A good (but not perfect), easy to use node library for scraping is node.io: https://github.com/chriso/node.io If you decide to get into heavy scraping, in the end you will customise the scraping library you choose to fit your exact needs.
 
hm, don't know about node.io, seems pretty dead, last commit 8 months ago, uses jsdom which is a total memory hog and if you don't call window.close it will leak and crash super fast..

you better start here: request and cheerio
 
@sockpuppet

Cheerio is much better than Jsdom but it does not matter for his use case. With node.io, he will be able to write a decent app in a day. If he goes the DIY way to recreate what node.io offers, it will take him months. Bigger memory usage in exchange for saving tons of frustration and work? I don't think it 's much of a dilemma :)

As I said, once you get to the point that the ready made libs start showing their disadvantages, you will have to modify them to suit your exact needs. That 's unavoidable, because there 's no such thing as the "perfect" library for every use case. But it 's counter productive to do it in the beginning. For example, you may find "express" to be a bit inefficient for a specific project. Yet, it 's crazy to go write your own web framework before you even start working on your main project.
 
Which is better for scraping data on a linux server?

Really depends, if you want to be scraping vast amounts of data (like googlebot) the answer is different to if you just want to scrape a website for some content once a day.

For the latter, just use what you know best. For the former, no idea :)
 
C++ was developed in the 1980s, based on the C language, but with a bottom-up approach.
C# is the latest toolset, based on C++ code.

 
if you want something easier go for java or visual basics.

C++ is very powerful, and I would say you should continue with it.
 
From my little experience I can say that if you want to work on mathematical formulas, problems, etc. then I recommend C++, but if you want to create simple desktop applications, then use C#. My understanding is that C++ gives you more control but C# is more comfortable and simple to use.
 
Back
Top