Jump to content

Hi,

I'm starting to get back into programming and I was wondering what the best language to learn is. I did some C++ and Java before but I don't really have a preference now. Should I do C# since it works well with .NET, or does it matter? I have no specific goals as of now, but I may get into making Windows programs later. Just want a general understanding at this point.

Link to comment
https://linustechtips.com/topic/546591-c-c-or-c/
Share on other sites

Link to post
Share on other sites

Hi,

I did C++ and I am beginning to get back into coding as well! I have found C# quite odd after my previous knowledge of C++ so I would go with C++, you already know how to do it so you won't get confused as much. One may also argue that learning one of the other two will make you benefit though I believe in fully learning one thing and then, later on, moving on to different languages.

Hope it helps!

Link to comment
https://linustechtips.com/topic/546591-c-c-or-c/#findComment-7226477
Share on other sites

Link to post
Share on other sites

Depends , what are you looking forward to doing?

i5 4670k @ 4.2GHz (Coolermaster Hyper 212 Evo); ASrock Z87 EXTREME4; 8GB Kingston HyperX Beast DDR3 RAM @ 2133MHz; Asus DirectCU GTX 560; Super Flower Golden King 550 Platinum PSU;1TB Seagate Barracuda;Corsair 200r case. 

Link to comment
https://linustechtips.com/topic/546591-c-c-or-c/#findComment-7226639
Share on other sites

Link to post
Share on other sites

C# is closer to java (but much nicer to use) but obviously limited to .NET platforms. C++ is more powerful and can be applied to more stuff. Try and stay away from C, although you'll probably run across it  (legacy functions) a bit in some C++ code.

 

If you're making windows programs you may want to prototype in C# since it's a lot quicker to do so, and if you're using the GUI tools in visual studio they're a LOT nicer than onces available for java.

 

Aragorn (WS): 250D | 6800k | 840 Pro 512GB | Intel 530 480GB  | Asus X99-M WS | 64GB DDR4 | Corsair HX720i | GTX 1070 | Corsair H115i | Philips BDM4350UC 43" 3840x2160 IPS

Gimli (server):  Node 304 | G4560 | ADATA XPG SX8000 128GB | 2x 5TB WD Red | ASROCK H270M-ITX/AC  | 8GB DDR4 | Seasonic 400FL

 Omega (server):                 Fractal Arc Mini R2 | i3 4130 | 500GB Maxtor | 2TB WD Red : Raid 1 | 3TB Seagate Barracuda | 16GB RAM | Seasonic G-450w
Alpha (WS): 900D | 4770k | GTX 780  | 840 Pro 512GB  | GA-Z87X-OC | Corsair RM 850 | 24GB 2400mhz | Samsung S27B970D 2560x1440

                              ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||

Link to comment
https://linustechtips.com/topic/546591-c-c-or-c/#findComment-7226911
Share on other sites

Link to post
Share on other sites

I like C++.  I don't have experience with the other ones.

My main computer:

i7 6700k || GTX 1070 || Asus Z170 RGB || C.M. Hyper 212 EVO || 16GB RAM || 256GB NVMe SSD || 500GB SATA SSD || 12TB total HDD || Define R5 Blackout || 850W PSU

More Details Below :) 

Spoiler

 

CPU: Intel Core i7 6700k                             GPU:  EVGA GTX 1070 FTW                                  |  Motherboard: Asus Z170 Pro Gaming Aura
CPU Cooler: C.M. Hyper 212 EVO             RAM: 16GB Kingston Fury 4x4 DDR4 2400MHz         SSD:  Intel 256GB NVMe SSD & Plextor 500GB SATA SSD

Hard Drive:  WD 2TB Black, 2TB WD Blue, 8TB WD Red     Case:  Fractal Design Define R5 Blackout Edition   PSU:  Be Quiet! Dark Power Pro 11 850W

 

Additional Computer Parts: NZXT Hue for LEDs

Peripherals: Dell U2414H (x2) || Corsair Sabre RGB || Corsair K95 Platinum || Sennheiser 558's || Modmic

 

Pictures of setup:

 

 

Link to comment
https://linustechtips.com/topic/546591-c-c-or-c/#findComment-7227518
Share on other sites

Link to post
Share on other sites

If you plan to make Windows apps I would go for C#, all of there current libraries and all foreseen future libraries will be designed with C# in mind. While C++ is more powerful, the gap is closing, and it also takes 3 times as much code to achieve the same thing in C++ compared to C#. I have used both professionally and I think C# is much easier to use and will defiantly be the focus of Windows applications going forward. 

Link to comment
https://linustechtips.com/topic/546591-c-c-or-c/#findComment-7229738
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×