[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]

Which should I learn C++ or Java?

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: 63
Thread images: 6

File: 94_120815160636_1.jpg (23KB, 420x317px) Image search: [Google]
94_120815160636_1.jpg
23KB, 420x317px
Sup /g/. I want to stop being a neet and learn to program. I want to learn either C++ or Java as they seem to be the most in demand in London which is where I live. I was looking at python but all the jobs are fucking web shit which i hate. java and c++ seem to be comfy office programs and shit like that. so which should i learn? i have some C experience from college so i know what a pointer is but cant remember shit on algorithms or maths.
>>
>>55289271
bump?
>>
>>55289271
If you have to ask, Java.
>>
>>55289645
cool. any particular reason?
>>
>>55289271
Neither, python.

But between the two, java.
>>
>>55289271
what do you want to do besides web shit? firmware? all java jobs are either web shit or app shit
>>
>>55289271
Java if you just want to get $$$.
C++ if you have studied something that involves Math.
>>
>>55289703
i just want a comfy office job writing internal business programs. i dont mind doing some web stuff but i mostly want to stay away from html/css as it is fucking boring and annoying to get shit to work in different browsers.
>>
Is CS50x a good place to start learning to program?
>>
>>55289271
Java is used particularly often for comfy office programs. C++ is more commonly used in software that requires serious technological firepower and great technical challenges; it isn't commonly used in comfy office settings anymore, because it is too arduous and expensive to work with for most work that doesn't NEED all this power.
>>
>>55289271

>L O N D O N
>learn java

tip top fucking kek, good luck competing against the 5 billion indians in your neighborhood alone
>>
>>55289271
Java is less unpleasant and has slightly better employment prospects.
>>
>>55289750
most new internal business programs are 'webshit'
if you learn java you will either maintain legacy desktop apps or legacy/new JSP apps

are you in school?
>>
>>55289810
>Java is less pleasant
FTFY.
>>
>>55289817
nah im 32. currently unemployed after cancer treatment for the past 2 years. before that i worked in sales and fucking hated all the travelling.
>>
>>55289937
desu senpai you're going to have a hard time doing much more than webshit considering you don't have a formal education and want to get this ball rolling asap
>>
Maybe figure out what you like or don't like after trying it. Also, every second you spend wondering what language to use is time spent actually learning a language. Just pick one.
>>
>Java
https://www.microsoft.com/net/
>>
>>55289953
harder than chemo? i mean yeah i know im not gonna be a superstar programmer but i just want to get started doing something related to programming. i might hate doing it as a job but fuck it i want to at least try. i thought i would be dead by now but science gave me a second chance so i gotta at least try you know?
>>
Which Skills does a Java Developer need? Eclipse, GIT or some Frameworks?
>>
>>55289271
Both. At the same time
>>
>>55289968
excellent point. i will go with java then. thanks anon
>>
>>55290022
oh you poor poor soul, best of luck. you prob wont get a job for 2 years and you will switch tech monthly until then before you find what you like doing, best of luck, its a long journey
>>
C++ will teach you more valuable skills
Java will be more readily applicable
>>
>>55289271
Java, you'll be more employable.
>>
Java
>>
>>55290042

What? I dont get it.
>>
>>55289756
basically this, sounds like youre after java. If you really like the work, you may find yourself naturally move to c++, especially for particularly critical parts of your application.

For 99% of use cases Java will do.
>>
Why not both?
>>
There's a high chance that you're Indian since you live in London, in which case Java is the only option for you, as nobody will take you seriously even if you know C++.

If you are (even remotely) white you can opt for C++.
>>
>>55289997
Python again. Java is a common first language to teach in college, but that doesn't make it a remotely good choice.

Obligatory hello worlds:
Python
print("hello world")

Java
public class HelloWorld {

public static void main(String[] args) {
// Prints "Hello, World" to the terminal window.
System.out.println("Hello, World");
}

}
[\code]

The hard part about learning to program is not syntax. It is the skill to translate what you want to do into instructions for the computer, in a way that is efficient for machines and humans. Python makes this part easy. Java wraps it in a whole bunch of bullshit.

All of that shit on the Java hello world is just useless cruft. Lower-level langs like C are much more concise, as are other object-oriented languages. Hell, there's plenty of other languages with much better static type systems that don't include all that BS.
>>
>>55289997
Do web stuff, easier to pick up, easier to find a job.

Front end

http://www.w3schools.com/html/
http://www.w3schools.com/css/css3_intro.asp
http://www.w3schools.com/js/

Back end

https://en.wikipedia.org/wiki/Relational_database

http://www.w3schools.com/tags/ref_httpmethods.asp

http://www.w3schools.com/sql/

https://nodejs.org/en/ (The framework that will probably get you in industry fast)


Other web frameworks

http://rubyonrails.org/
https://www.djangoproject.com/


Other important concepts

https://en.wikipedia.org/wiki/Responsive_web_design

http://www.w3schools.com/html/html_responsive.asp

https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol

https://git-scm.com/book/en/v2/Getting-Started-About-Version-Control

https://en.wikipedia.org/wiki/Continuous_integration
>>
>>55290121
haha nah i am 100% british going back a long way.

>>55290125
thanks i will look at python again. is it used much for non-web though?

>>55290138
wow cheers for the links. saved them and will have a read tomorrow morning.
>>
>>55290125
Here's the difference between Java (or C, or C++, or C#, or virtually any strongly typed compiled language):

One teaches you how to work and manipulate in other languages. The most powerful of which are almost universally strongly typed.
The other teaches you to just write print("hello world") and it magically works.

Python is useful if you're not explicitly working with code all day. If you're a researcher or just need it for basic, simple scripting tasks.
IT IS NOT GOOD TO LEARN ON FOR ANY OTHER REASON.
It encourages SO MANY bad habits and leaves you in the dust feeling like a total retard when you actually try to move to a real language.
>>
>>55290187
Python is used for a lot of things but primarily Data science/Machine learning, Research/Scientific programming, and automation.
>>
>>55290188
>Python is useful if you're not explicitly working with code all day. If you're a researcher or just need it for basic, simple scripting tasks.

Agreed, I would hate to have to work with an entire back end in Python because it doesn't provide proper abstraction/collaboration facilities.

>IT IS NOT GOOD TO LEARN ON FOR ANY OTHER REASON.
It encourages SO MANY bad habits and leaves you in the dust feeling like a total retard when you actually try to move to a real language.

hurr durr python teaches you bad habits meme

Stop you have no idea what your talking about.
>>
>>55290188
>a real language
Whats a real language then kiddo?
>>
>>55290071
any employer would automatically laugh at you if you use eclipse
>>
>>55289271
If you can help it at all, read you sicp (structure and interpretation of computer programs) for the greater good of mankind, it then won't matter if you want to program in c++, java, or a language you yourself devise. If you're a neet as you claim, it means you don't have any restrictions pertaining to your work place, workshop, university or any other such thing, and you have the privilege of being able to start from scratch and learn you some solid basics.
Do it, go with SICP. You will be thanking this anon for years to come, also it has lectures by the creators if you look for them on youtube
>>
>>55290188
Python replaced Perl and is slowly replacing Java and C#
>>
>>55289271
you should write directly in java bytecode
>>
>>55289271
lL O O lK O U T lN II G G lE lR S T lH lE lK lL A lN II S G lE T T ll lN G B ll G G lE lR

Learn java if you want to get a job some day. Java is essential for info tech.
>>
>>55289271
Delete this and just master C. Object-oriented is a crutch.
>>
>>55290382
>is slowly replacing Java and C#
not

You can't replace a hardly typed language with a dynamic one, they're just not interchangeable. One thing is writing your own one page app with 500loc, one other thing is collaboratively work on a 50kloc program. You will need good program design, and good documentation. Java type system helps with both of those, while with python you just pass throw around objects and hope they stick
>>
>>55290412
>lL O O lK O U T lN II G G lE lR S T lH lE lK lL A lN II S G lE T T ll lN G B ll G G lE lR
what is this, your little signature ?
you think you're on a phpBB ?
fuck off
>>
>>55290382
Comparing Python to Java/C# is like comparing an 18 Wheeler to a Tank
>>
>>55290027
Underrated image.
>>
>>55290125
Python: Magic
Java: Less magic
C++: No magic

I prefer my computers to be unmagical.
>>
>>55290543
I can do whatever I want.

lL O O lK O U T lN II G G lE lR S T lH lE lK lL A lN II S G lE T T ll lN G B ll G G lE lR
>>
>>55290690
global rule 13
>>
>>55290278
>hurr durr python teaches you bad habits meme
Because it's true

>Stop you have no idea what your talking about.
>B-B-BUH I LIIIKE PYTHOOOON ;___;

>>55290382
>slowly replacing Java and C#
wew lad u had me there a sec
>>
>>55290749
>Implying I'm the one that is saying that Python is taking over Java and C#

Python doesn't teach bad habits, Python doesn't teach good habits either. It simply teaches you how to solve problems in Python, and if you are a researcher/scientist that doesn't have time to learn what you all are considering "real languages" then python is a pretty obvious answer.

We no longer need people writing the algorithms, we are moving up on a layer of abstraction. Parsing and interpreting data is far more important.
>>
File: 1467052276225.jpg (214KB, 500x470px) Image search: [Google]
1467052276225.jpg
214KB, 500x470px
>>55290965
>We no longer need people writing the algorithms, we are moving up on a layer of abstraction. Parsing and interpreting data is far more important.
parse my dick faggot
>>
>>55291055
Enjoy committing career suicide codemonkey.
>>
>>55291076
>codemonkey
a bit rich considering you literally said "we no longer need people writing the algorithms" you flamer ass rajesh
>>
none cause if you're serious about this question you're too retarded to program
>>
File: JokeOverHead.jpg (12KB, 478x361px) Image search: [Google]
JokeOverHead.jpg
12KB, 478x361px
>>55289682
kek
>>
>>55290418
I do OO in C though
>>
>>55291097
I don't need somebody to write algorithms when it takes a tenth as much time to just use a library that implements that algorithm.
>>
>>55290125

Oh please. Python is garbage. Reasons:

1. Slow as a dog interpreted shit script code.
2. There's actually two pythons, v2 and v3. No, they aren't compatible.
3. No braces. Python uses indentation. Good luck posting a question on a web forum that eats whitespace.
4. pypi is insecure shit. No signed packages. Everything is actually exploits from chinese and russian hackers that you are downloading and running as root like a moron.
>>
>>55290382

Wordpress isn't written in python.
Python programmers are religious zealots spouting lies. They know one language. It's a golden hammer. Learn a big boy language already guys.
>>
File: 1455588634951.jpg (90KB, 611x548px) Image search: [Google]
1455588634951.jpg
90KB, 611x548px
>>55294283
>>
File: Why_not_both-.jpg (14KB, 228x221px) Image search: [Google]
Why_not_both-.jpg
14KB, 228x221px
>>55289271
Thread posts: 63
Thread images: 6


[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.