[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

newbie programmer wannabe

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 43
Thread images: 5

File: sato.jpg (43KB, 564x703px) Image search: [Google]
sato.jpg
43KB, 564x703px
So, I wanna learn some programming but I can't decide If i should go for C++ or C#. What are the pros and cons of going for either one first?
>>
>>60294845
c# if you wanna suck microshaft cock and be slower than java
>>
>>60294860
so I take it C++ is better?
>>
i recommend C first
>>
Java or python. Trust me, you'll get shafted if you try to start with a deeper language first
>>
>>60294984
i've got some experience with Python
>>
Step #1 to programming:
Have a passion to want to create some piece of software that doesn't exist, or something that you feel you could do better if you knew how to program.

Step #2:
Start getting an idea of where you would need to learn to make this become a fruition. You can go to one of many several programming forums and irc channels and there are autistic people just waiting to hear your enthusiasm over your passion project and they will dedicate hours and paragraphs of text to steer you in the right direction

Step #3:
Start doing it! If there are any roadblocks of things you don't understand or things won't work, just look up the problem on stackoverflow.

Congratulations, you're a programmer now!
>>
File: OAO.png (674KB, 740x555px) Image search: [Google]
OAO.png
674KB, 740x555px
>>60295042
>>
File: 1488900484943.jpg (44KB, 406x385px) Image search: [Google]
1488900484943.jpg
44KB, 406x385px
Ada is the better choice, onee-chan
It handles tasking, rendezvous, shared resources, and objects better than its C counterparts. It is also much more reliable and secure and still really fast (almost as fast as C)
Ada code is also very easy to read and understand
>>
>>60295042
you mean programmers actually make programs? they don't just "know" programming languages?
>>
>>60295125
making programs(just wanna make games actually)
>>
File: 1494016940690.gif (1MB, 540x540px) Image search: [Google]
1494016940690.gif
1MB, 540x540px
>>60295101
>tfw first language I ever coded with was ada
>>
>>60295101
Who is this cute girl?
>>
>>60295174
nice, do you still code in Ada?

>>60295273
my wife
>>
>>60295273
Kanna from Kobayashi's Dragon Maid.
>>
>>60294845

Don't go for C#, go for Java.

Not because it's better, but because it's easier to learn.
>>
don't do c# please

fuck M$
>>
>>60294845
Depends if you want a job.
>>
>>60294845
Go with python
>>
>>60298174
Both are good, but meme degree is a good thing to have.
>>
(ARM) assembly

not even joking, it was my first language
>>
Surprised to see so much love towards Java.

tech(dot)jonathangardner.net/wiki/Why_Java_Sucks
>>
File: dogger.jpg (16KB, 326x326px) Image search: [Google]
dogger.jpg
16KB, 326x326px
do java as your first language, that will give you a good grounding in everything you need

shift towards javascript and python if you just want to bang out cool stuff quick without much outside help

shift towards C++ and SQL if you want to work on real enterprise level code
>>
>>60298174
Both would get you a job.
>>
Scala > Java
>>
C++ was my first and desu I used to think it was the master race of programming (I made games in unreal lol and I had only used Lua before). But now after having experience in Java as well, I would recommend learning Java first as it is easier to learn imo and many aspects of memory management that you need to learn in c++ is taken care of by the jvm.
>>
>>60294845
quit that bullshit
you need to start practicing, any popular language works

books are always a preferred option for serious knowledge but you can always search online for high quality content online, but I wouldn't trust 4chan for my professional career

you need to work on projects to get better, ideally with experienced people

and quit shitposting and lurking all day, start lifting and smoke weed everyday
>>
>>60294845
It doesn't matter too much if you do Python, C++, JavaScript or basically anything else with good documentation

But seriously, do Java instead of C#. C# is that little ecosystem stuck in Microsoft's claws and not even most other companies trust it for shit. Java is at least being used by just about every company (more or less) and a lot of academia.
>>
>>60298960
Not really for initial learning.

Apart from being fairly complex, it also is still moving rather quickly - lots of docs you might find are already outdated.

It's a pretty good thing to learn once you want to use it's pretty cool web stacks or just learn some (hybrid / impure) FP.
>>
>>60294845
C# is good to learn about good structure, good OOP.

C++ will then be a little easier understanding these concepts.
>>
>>60298991

Any books that you recommend?
>>
>>60298968

This is pretty out of date. A lot of problems with Java described here were fixed in Java 8. For example.
>Whenever someone designs something in Java, particularly people that grew up on Java and C++, they have to think of everything as a class. They do not understand that functions are "things", too.
>The worst example of this are classes that have exactly one method as part of its interface. This is no different than a function.
He's absolutely right. In retro-Java you'd often write bullshit like this.
uiElement = new ActionListener() 
{
public void actionPerformed(actionEvent event)
{
foo.doBar();
}
}

Extending an interface to create an anonymous class with a single function that does literally nothing but call some other callback. This is what happens when you make such restricting design choices like "everything must be a class"
But Java 8 is a thing, we now have lambdas. You could easily do
uiElement = (ActionEvent e) -> foo.doBar();

or maybe even
uiElement = foo::doBar;

Which not only removes all the annoying boilerplate but also reinforces the conceptual link of the function as a first class data item.

And no, I don't count that petty dismissal at the bottom of the page as a valid argument. Languages improve, that doesn't mean you're allowed to ignore them because they used to suck.
>>
>>60299282

Whoops, I mislinked.
>>60298917
>>
>>60294845
I'd recommend C, then C# then C++

>>60294936
has it right
>>
>>60299282
I've only used Java 6/7 and absolutely hated it.

Even if it improved isn't the language pretty much superseded by C++ / Python (Go?) by now?
>>
>>60299221
it depends too much on what you want to do and on your understanding of computers in general

I started with learningprocessing.com which is a weird Java framework that is meant for prototyping only. The simplicity makes it easy to quickly understand what writing code for a machine is, perfect for a completer beginner

have fun with this and switch to a proper programming language when you feel comfortable
>>
>>60299450
Java 8 in Action is a really good book to get started. If you understand lambdas skip the first few chapters and read about streams, they're absolutely amazing
>>
>>60299450

I don't blame you, Java is pretty soul-sucking.

But I still think it's irresponsible to simply dismiss the real improvements.
>>
>>60294845
C++ is my favorite language, but I recommend against it as a first language, because it contains many ways to kill yourself and many advanced features

C# or Java is a good first language. C is better for educational reasons, but it can be very demotivating because it's hard for a beginner to do "just werks" projects in C

Java is an employable skill for what it's worth
>>
Java is rough to start out. Some of the syntax is quirky and long.
Python is bulletproof and will get you into some larger sysadmin type stuff and when you migrate into Linux will give you a massive head start when it comes to navigating the terminal. Only learn sql or any database language if your employer wants it. Python will also give you a head start if you want to get into Cyber Security, the most lucrative and in demand of all the computer disciplines right now.
>>
>>60294845
>wants to start with C++
bitch you retarded? start with C or learn Go. Why even bother learning C++ it's useless
>>
>>60299450
i think that criticism of java's syntax is misguided, C++ was also satanic until at minimum C++11. languages can change and all these languages have a job market

however, criticism of Java's performance and in particular the memory model is completely on the nose. when writing performance Java code it is standard practice to have to declare your intended heap size and then iterate on GC parameters, which is fucking insane beyond belief. i strongly believe a lot of "big data" problems are really "big in our shitty Java framework" problems, because Java data is just that bloated
>>
>>60299690

>when writing performance Java code it is standard practice to have to declare your intended heap size and then iterate on GC parameters
Can you translate this into English?

Is Java really that much worse than other GC languages?
Thread posts: 43
Thread images: 5


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.