[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 one vir/g/ins?

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: 89
Thread images: 4

File: which.jpg (27KB, 615x310px) Image search: [Google]
which.jpg
27KB, 615x310px
Which one vir/g/ins?
>>
both
>>
>>56189638
which did you learn first?
>>
>>56189647
both
>>
whichever one is better for the job you're doing
>>
>>56189671
do you have autism or are you a faggot
>>
It depends, do you want your code to be at least a little fast? If yes, first. If you're an asshole, second
>>
>>56189604


Both have different purposes, so you want to learn both.

Honestly I prefer the combination "Ruby + C". But C++ and Python also complement each other well.
>>
i'm going with c++

usually unies start you with python.
python has it's uses, but the learning curve for c++ isn't too high right now, and i hear it's easyer to learn other languages from c++.
c++ is used in p much everything, it's a solid base imho
>>
Are there things that C++ can do that Python can't?
>>
>>56189604
Impress /g/ or make games: C++
Get a job or do anything quickly: Python
>>
>>56189757
so in other words, C++ is worthless?
>>
C#
>>
>>56189772
not if you want to build a killer robot army
>>56189775
>>>/shills/
>>
>>56189744

That's the wrong question. Every language can "do the same stuff".

Can you build a house with a pocket knife? Of course! But it will take you a damn long time.

Computer languages are tools, you pick the one that is the best for the Job. C++ has a lot of "optimized code" and you can optimize a lot of stuff yourself. Therefore you want to use it whenever you need high performance or big, data structures processing.
Python is not that optimized, but it consists of very high order functions, so you can devellop stuff much faster (less lines of code) than in C++.

If you want a programm that does "everyday tasks" or web stuff, you want to avoid boilerplate code and use Python. If you need high performance for your graphical calculation, you want C++.
>>
>>56189815
thanks for that
>>
>>56189744
Be fast and invoke suicidal tendencies, mainly.
>>
>>56189686
both
>>
>>56189604
If you know C++ you will know Python. Not the other way around.
>>
>>56189927
Wrong. C++ lacks many expressive features of Python
>>
>>56189947
These features can mostly be reproduced in C++, that's what I mean. Like some high-level libs made into a part of a language
>>
>>56189972
Yes, but you will not know Python as you've claimed
>>
>>56189988
Okay, "will understand" is more precise.
>>
>>56189604
Python hands down. C++ is powerful but it's a clusterfuck and the programmers it attracts tend to be terrible.

Don't get me wrong; Python attracts a lot of shitty pajeets, but at least the Python community encourages script kiddies to do what they do best and copy somebody who did it better.
>>
>>56189996
Just say :If you learn C++, you will know the logical thinking and structuring of most programming languages.

You won't know the syntax of all, but you will know HOW to program in the language
>>
>>56189720
Protip homie: learn English before trying to learn any programming language.
>>
>>56189757
>get a job, do anything serious
C++
>script to rename names on a folder
python
>>
>>56190123
>script to rename names on a folder
>instead of rename folders

that just triggered me, fucking pajeet faggot
>>
>>56190108
wew lad
my engrish is literally flawless
>>
>>56189604
Python for everyday tech tasks:
- Webdev: Django is very well-integrated framework, but for people who can't stand how coupled it is, there is Flask and Django REST as an API end-point
- Hacking: Python is the goto because of rapid development and low-level networking modules
- Scripting: Obvious
- Complex mathematical/scientifical calculation: numpy/scipy
- bit-level image manipulation: Pillow

>>56190123
>rename names on a folder
>not rename folders
>not rename directories
Tech-illiterate detected
>>
>>56190149
Oh forgot to mention it's also very popular for Machine learning and big data analysis for some reason. Machine learning I can grasp, but big data analysis is a new one, but every job I see with big data as a role, uses Python pretty much every time
>>
>>56190160
"Memory is cheap, people are expensive"
: ^ )

In all seriousness though, most places handling large amounts of data would rather invest in more expensive hardwsre to run a relatively slow language at reasonable pace than pay some autistic neckbeard to maintain blazing fast esoteric assembly for the next three decades.
>>
>>56190190
In the case of big data, most of the computation is done database-side, so a Python API is not that much of a hindrance. These large computations done in Python would take hours compared to C's minutes though, that I've seen from big data companies
>>
>>56189604
Java.
>>
>>56190253
lmfao
>>
>>56189876
I lol'd
>>
>>56190230
>>56190190

jesus if you think python is slow imagine the shit I used to deal with using R in a data analytics job

I love R and all and it's very good at what it does but christ is it slow
>>
>>56189604
Pajeet tier shit, both of them.
>>
>>56190356
What would you recommend?
>>
>>56190359
"C"
>>
>>56190359

visual basic
>>
>>56190367
lmfao
>>
Start with C++, spend a couple of years with it, you will learn a lot.
Then you can learn python in a week or two and then you will think this question is rather silly.

C++ is good for a lot of projects, but a lot of them could be a lot easier to make with python.

If you know c++ and assembler,, picking up other languages seem very simple.

Some languages are very close to the OOP part, like java, others are closer to the branching paradigm, like javascript.
The rest is very similar to plain english, and python is in that category.
>>
File: 1434007553096.jpg (45KB, 998x720px) Image search: [Google]
1434007553096.jpg
45KB, 998x720px
>>56190378
thanks
all the anti-C++ fags were starting to get to me
>>
>>56190468
>anti-C++
nothing wrong with C++, but its lack of support for metaprogramming, aspect-oriented programming, functional programming, and portable network module support just makes it less efficient to dev in
>>
>>56190477
I agree that networking is a problem, mostly because the "good" libraries are in C, but the programming style is not really a problem for C++.
Do you really want more styles people program in within the same language?
>>
>>56190581
Yes, C++ is multi-paradigm after all
>>
>>56189604
c++
>>
>>56190477
>C++
>lack of support for functional programming

pfffffffffff
it's just not centered around it you fuckface
>>
>>56190598
Yes it is.
And libraries can transform how the code is written.
So changing the core to fit every meme you can think of is ridicules.
>>
>>56190624
No it lacks proper support for it
>>
>>56190636
The core already supports multi-paradigm. Adding in more paradigms is not an issue especially since the support for functional programming is increasing
>>
>>56190678
can you provide an example of what you want to achieve (maybe in another language?)
>>
>>56190678
>>56190692
preferably in C
so we can tell you how retarded you are, as you can even use C in C++ directly.
>>
>>56190149
>Complex mathematical/scientifical calculation: numpy/scipy
Enjoy dying before your FEM code solves anything though.
Even today nothing beats FORTRAN libs
>>
>>56190692
I think he means higher order functions specifications. Which in a sense is not actually supported with std::function.
>>
>>56189604
Python master race reporting in.
>>
>>56189604
Depends on your goals, but most likely Python if you're not doing gamedev. Don't fall for the pygame meme
>>
>>56190709

>as you can even use C in C++ directly

C++ support an older C standard, there are some interesting features in contemporary C that C++ doesn't support (i.e. anonymous structs). It's better to see them as two different languages. Even though the overlap is huge, the way how you solve problems is different.


>>56189604

C++ is really a huge language. That is good and also bad.

It's good because if you mastered C++, you can do really everything. I have a lot of respect for good C++ programmers.

The downside is, in the same time you need to actually master C++, you can already get pretty decent in C, Java, C# and Python together.


So ask yourself, what kind of guy are you?
You want a super weapon with 1000 buttons which can shoot bullets, lasers, rockets and has a built-in radar jammer, coffee machine and sleeping bag? Learn C++.
You prefer a couple of weapons and want to use each one where it's appropriate? Learn a Stack of different languages (i.e the ones I suggested).


Protip:
The best way is just to learn a langauge for two weeks. If it connects and you think "yeah, that's funky" stay there. If you feel like the concepts are alien to you, maybe dabble two weeks into something different, to get a different view.
>>
>>56189815
>Every language can "do the same stuff".
Stop spreading false information. That's not true at all.
>>
>>56190817
this
Fortran was made for math. Handles arrays much more quickly.
>>
>>56191775

>What is turing completeness?
>>
>>56191775
really? are you implying that c++ or python aren't turing complete? or are you taking issue with "every language"?
>>
>>56191886
>>56191887
I mean you can't do everything with every language. Try writing a kernel in Python.
>>
>>56191914
it's turing complete. you quite literally could write an entire shitty OS on it
>>
>>56189604
assembly
>>
>>56191959
you'll die before the computer boots
>>
>>56189604
>Python
Pajeet tier languages don't apply here
>C++
C but in Pajeet mode
>C
The one and true language
>>
>>56191959
You can't write everything in Python since it's very high level and it doesn't give you direct access to lower level stuff like hardware.
>>
>>56189604
>Hey guys, I've got an idea. Lets compare a compiled language and an interpreted language with completely different syntax to each other so I can feel like I'm cool because I have strong opinions about technology.

C++ is a pain in the ass with all the issues of C's shitty syntax plus all the issues of OOP's shitty thought process. It's only good if you're brown.

Python's use of whitespace for codeblocks is a nice touch, but the fact that you have to preface indents with ":" anyways sort of defeats the entire purpose. I feel like Guido designed it that way because he's too much of a lazy faggot to write an interpreter the slightly harder way and make python look ahead for indents.

Sage because OP is a retarded faggot who likes comparing things that aren't related.
>VISUAL BASIC VS UBUNTU WHICH ONE XDDDDDDDD /V/IRGINS
>>
>>56191886
>>56191887
"Hi, I'm a nigger retard, and I don't know what Turing Completeness is." - You

You can't make a window manager, the backend of a website, or a video game on a Turing Machine. Stop pretending like you know what you're talking about.

There are plenty of Turing Tar-pits that are effectively useless for real life.

Here is a language: https://github.com/LandonPowell/DeviousYarn/ . It's turing complete, but it's WIP because the I/O isn't done. You can't write games in DeviousYarn, you can't write webapps in DeviousYarn (yet), and you can't write WMs in DeviousYarn.

>>56191959
Top kek. I bit the bait.
>>
>>56191998
>>C
>The one and true language
Confirmed for stupid pajeet trying to get nercred with his language choices.

Protip: C is garbage. The things you hate about C++ are that it's C, you just don't get nerdcred for using it.
>>
>>56192234
>C is garbage.
Found the Pajeet.
>>
>>56192264
>no counter argument because he can't think of one
Yeah, just keep calling me a Pajeet. We both know I'm right.
>>
>>56192285
>no counter argument because he can't think of one
>C is garbage

You just contradicted yourself, checkmate Pajeet.

Protip: Not really. The reason I hate C++ is that it is a complete and utter shrill language that was taken by the Microsoft cucks by implementing it in their shitty Visual Studio package. This is why I prefer to write in C instead of C++.
>>
M&B Warband was made in python
>>
>>56192392
"shitty"

just keep talking you retarded faggot.
visual studio is the best IDE ever made.
>>
>>56192392
>using Visual C++
>ever
why are you so fucking retarded
you do realize G++ is a thing, right
it doesn't inclue any MS stuff
you fucking retard
>>
File: 1471470284393.gif (285KB, 300x100px)
1471470284393.gif
285KB, 300x100px
>>56189604
What's the application?
Depends...

Learn BOTH then decide...
>>
>>56192478
Ever tried getting multi-threading to work on MinGW? toString ()... any aspects of C++11?
It's 2016... shit still doesn't work...
>>
>>56192507
looks like you are developing on the wrong system or using the wrong language

C++ on windows == MFC
>>
>>56189604
C++

Also, not a virgin since 13
>>
>>56192754
> Also, not a virgin since 13

nice try hahahahahahah
>>
Python first, then C++. At least thats how we did it at uni.

Python to get us familiar with what a programming language can do and how. Basic syntax and concepts like if clauses, while loops, functions, OOP etc

Then after weve become comfortable with those ideas, in C++ we learn discrete math (algorithms) and data structures alongside eachother.
>>
>>56189604
i'll take anything over fucking python


well maybe not ruby but still
>>
>>56192814
why
>>
>>56192392
>Quotes a part of what I said that prefaces my argument and then says I don't have an argument.

Also, that isn't what a contradiction is anyways.
>>
>>56190094
Underrated
>>
File: dddd.png (6KB, 666x90px) Image search: [Google]
dddd.png
6KB, 666x90px
>>56192507
It works perfectly fine.
I have G++ 6 installed, so.
I also had multithreading working with std::thread in one of my projects, so really, you're just fucking retarded.
Thread posts: 89
Thread images: 4


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