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

Programming

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: 130
Thread images: 14

File: IMG_1095.jpg (527KB, 2500x1443px) Image search: [Google]
IMG_1095.jpg
527KB, 2500x1443px
I'm wanting to learn 3 languages, what should they be?
>>
>>59930540
Ada, Common Lisp, and Prolog.
>>
>>59930581
lmao
>>
>>59930540
serious answer:
Python, C, C#
>>
>>59930540
>arbitrary plans

How about you learn one and then see where you want to go from there?
>>
>>59930540
X86 ASM, C, python
>>
>>59930705
This is the correct answer.
>>
R, MATLAB, Python
>>
>>59930705
C... why not just C/C++?

my answer is fairly close to yours:
Python, C/C++, Java
>>
HTML
CSS
JavaScript
>>
>>59931791
You are the kind of retard that writes "C/C++" as a skill in his C.V., aren't you.
Jesus fucking Christ that might be like the biggest retard filter in the world.
>>
java, python, and hindi
>>
>>59932591
>this_is_bait.png
>>
>>59931791
Not that dude, but C is better decoupled from C++, and all around more useful. If you want to do OOP use java.
>>
>>59930540
html
css
php

then you can be a freelancer that makes $100k easy
>>
>>59930540
Proper English must be your first, Pajeet.
>>
>>59933923

.net is also a good language if you want to make windows applications
>>
not OP but I'm trying to learn C++ currently, should I abandon it and go for C instead?
>>
>>59933961
yes, you should Java and C before you learn C++, trying to learn OO with C++ is masochistic, and its better to learn about pointers and memory allocation with C because C is much simpler and doesnt hide anything
>>
>>59933961
nah keep on going, but do keep some room for C, even if C is an outdated pile of trash for the modern programming standards, it teaches you some really nice practices. Details that could optimize your code and make your program run much much more faster and-or efficiently.
>>
whats this image supposed to show? c should be huge if its by code written.
>>
>>59933991
this is the worst advice, your better learning first how a programming language actually works then learn c++ if oop ia your thing. java will teach you bad habita and tends to not go into any depth. additionally most java courses are convoluted and have a do now learn later attitude.
>>
>>59931073
R pretty much does everything Matlab does, so forget about Matlab. R, Python, and C# is what I'm doing
>>
>>59934149
this is the worsest advice, you forgot what its like to be a beginner and just grasp the concepts of OO without dealing with clever programming languages. sure Java looks like junk after you have moved on to better languages, but for learning the basics you cant beat it
>>
>>59930540
C++, Python, Prolog.
>>
javascript rust html
>>
What's the easiest programming language to learn which has at least a hint of usefulness?
>>
>>59931791
might as well learn C/C++/C# as one language, would be just as useful.
>>
File: nonfree.webm (2MB, 1920x1080px) Image search: [Google]
nonfree.webm
2MB, 1920x1080px
>>59930540
Rust, Java, Python.
>>
>>59934278
Python.
>>
I've got a question for professional developers in here. Sorry for the blogpost in advance.
>implying not everyone here is NEET but whatever

Up until recently my main role in the company I work for (<15 employees, around £1M revenue/yr) was something completely unrelated to programming, something in practical electronics, but one day the director of the company pulled me off work and asked me if I can program PHP and JS because the company needs something made.

I had some experience in programming since it's always been kind of a hobby for me. I started many years ago programming in C for PIC microcontrollers, then I liked the idea of having a website so I set up a server in my house and learned some HTML, PHP, JS and CSS and then moved onto C for MSP430 microcontrollers since I loved those little devices.

Basically since we were expanding we needed a way to quickly add customers to our database when they come to our shops and track their devices repairs. I said yes, obviously since I was getting pretty bored of doing the other stuff and I like programming, but I'm not a professional.

Now my question, how wrong is this? We have not had any major problems caused by me so far, my code works, is maintainable and has solved many issues we had, but again, I'm no professional. I know we could have easily found a professional developer online who could have coded something much better than what I've made for probably the same price.

And another question would be about career progression, if I decided to go somewhere else and try to be a programmer instead of an electronic technician I don't think I would stand a chance against the rest of the market, or at the very least I don't think I would get paid anywhere near what I'm getting now. My developer salary is about £32k which is about standard junior dev salary from what I've seen online.

Anyone been in this boat before? Thoughts? Pic is spaghetti I've been paid to write.
>>
I think once I learn Python, I'm going to try to learn Ruby, then C
C because I want to learn the assembly language
>>
wanna make monies? This order:

java, html5, css, javascript,


wanna go full autistic faggot: this order:

assembly , c++, c
>>
File: Subscribe.png (41KB, 900x300px) Image search: [Google]
Subscribe.png
41KB, 900x300px
>>59934510
>>
>>59934699
wow how did you do that
>>
>>59930705
this
>>
>>59934232
i learned on c++, it was my first programming language. as anecdotal as it is compared to the people at my uni who did the java course there is miles of difference in skill after that one semester. you could even go through learning c++ in a similar style to the way java is taught, just more work is required from from the student. also first languages should be non oop stuff like c lisp and python
>>
>>59934215
>R pretty much does everything Matlab does, so forget about Matlab.
This, if you wanna do data crunching R is much older and a much more established language.
>>
File: Subscribe.webm (3MB, 1920x1080px) Image search: [Google]
Subscribe.webm
3MB, 1920x1080px
>>59934723
>>
>>59934413

This is not only wrong, it's also wrong.

Ruby is much easier to learn because it's more intuitive compared to Python. Example:
$ Python
$ exit
> Use exit() or Ctrl-D (i.e. EOF) to exit


The program clearly understands what you want, but it doesn't actually let you do it. That is very poor design.

Meanwhile in Ruby
$ irb
$ exit


Boom, it exits.
>>
>>59935034
Like your css, anon, please share?
>>
>>59935034
no i mean why does it change when i open it
>>
>>59935046
I've done this in C++

``` // checking the result:
switch (winner) {
case 'T': cout << "IT'S A TIE";/* tie */ exit(1);
case 'X': cout << "PLAYER 1 WON!";/* X won */ exit(1);
case 'O': cout << "PLAYER 2 WON!";/* O won */ exit(1);
default : cout << "NEXT PLAYER'S TURN... \n";
}
return winner;```

(I have no idea if I did the prettyprint for 4chan correctly)
>>
>>59935112
Okay, so you don't do ``` to open and close it, idk how to do it then. Just ignore the ``` in the code then.
>>
>>59935046
exit is just a string with "Use exit() or Ctrl-D (i.e. EOF) to exit". It's just a value, not a function. I wouldn't say its a flaw, rather a language limitation.
>>
>>59935121
filtered
>>
>>59935076
http://s000.tinyupload.com/index.php?file_id=11420287641961981397

On Google Chrome, you need 4chanx, tampermonkey, and oneechan.
>>
>>59935121
literally read the fucking sticky
it's right in there
dumb idiot
>>
>>59935164
Sorry.

// checking the result:
switch (winner) {
case 'T': cout << "IT'S A TIE";/* tie */ exit(1);
case 'X': cout << "PLAYER 1 WON!";/* X won */ exit(1);
case 'O': cout << "PLAYER 2 WON!";/* O won */ exit(1);
default : cout << "NEXT PLAYER'S TURN... \n";
}
return winner;
>>
>>59930947
This.
>>
>>59935163
Thanks, anon
>>
>>59935087
>>
>>59930540
rust for embedded gadget development,
python for quick concept pretotyping,
C# for large scale structures.
>>
>>59930540
C, Rust, Haskell
>>
File: 1468974678556.gif (995KB, 500x550px) Image search: [Google]
1468974678556.gif
995KB, 500x550px
>>59934282
>he fell for the three C's meme
>>
>>59934510
your a junior on 52K? JHC they must be thirsty for devs over there.
>>
>>59934510
>I'm no professional.
And yet you've authored code for money in a professional setting.
>>
>>59930705
Wrong. Learning C rather than C++ is retarded
>>
File: 1491163669199.gif (669KB, 480x480px) Image search: [Google]
1491163669199.gif
669KB, 480x480px
>>59935164
don't bully him
>>
Verilog, C, Python.
>>
File: FB_IMG_1492412114540.jpg (203KB, 1638x2048px) Image search: [Google]
FB_IMG_1492412114540.jpg
203KB, 1638x2048px
>>59930947
This

Maybe PHP and a TINY BIT of JS so you can do cool web stuff if you need a GUI

Just remember use sockets not shell_exec() for interfacing between ASM/C and PHP
>>
>>59930540
html
>>
>>59935595
idk about canada (i just assumed where you're from based on conversion rates, hope I didn't trigger you) but £31k is not that much here, I live in London man, median salary here is like 30k

also keep in mind we get heavily taxed over here, my bank account cashes in between £1850-2100 depending on bonuses and some other shit

it's good money considering i'm 22 but it's not like that kind of salary will allow me to thrive, I'm forced to share apartment even, which is why I'm asking what I asked, I'm considering leaving London and I'm pretty sure there is 0 chance of getting a programming job somewhere else with my current skills and experience

>>59935615
that is true, as so is that you know what I really meant when I said what I said

>>59936076
seriously why would you want to write a backend in assembler or C
>>
>>59930540
C++, C#, Python
>>
>>59935244
>biting twice
filtered
>>
>>59936645
K.
>>
>>59930540
Use C as a learning language. Once you learn that you can grasp any other language very easily.
>>
File: Turtle.jpg (79KB, 580x435px) Image search: [Google]
Turtle.jpg
79KB, 580x435px
>>59930540
If you want a good chance at becoming a programmer professionally, even if your skills turn out mediocre, then these:

Java, Javascript, PHP.

No matter the hate you'll get for it here.
>>
>>59930540
just learn Delphi -- be a true hacker
>>
>>59930540
Python, C++ and Javascript
>>
>>59932615
>C/C++

wait I do this.... is this wrong??
>>
Python
Java
C++
>>
>>59938217
Well, yes. Modern C is far removed from modern C++. It doesn't really make much sense to group them, other than the fact they've both got "C" based names. May as well throw in C# then, and maybe some Objective C.
>>
>>59938791
what if you learned C++ in the olden years and it were just a bunch of libraries to define some shit in C and don't actually know modern C++?
>>
html
javascript
css
>>
>>59930540
C++, C, Python

Consider C# as well.
>>
Python, Java and C#
>>
Python
Java
C++
Thing is, once you know C++/Java, the other is much easier to learn. I assume the same is true with a lot of the scripting languages, thought I only know perl
>>
>>59930540
Python because it's simple but powerful

C because you'll learn how a computer works with pointers and memory management and stuff

Java because industry popularity and OOP

Also learn the basics of Haskell. Nothing special, just how to do very basic things with it because it'll force you to think differently about the same problems, which is a good skill to have as a programmer.
>>
>>59930540
Learn one(1) "beginner" language (C, Java, Python, etc). Really take the time to learn the ins and outs so you can have a firm grasp of the fundementals. Then, think about what is it you want to actually do and read up on what languages are needed to do that and go from there.
>>
>>59938897
Then don't put C++ down on your CV.
>>
>>59930540
Racket
Common Lisp
Clojure
>>
>>59930540
Java, C, Common Lisp

That way you generally cover all the bases - OOP, a low-level systems language and a general purpose highly expressive functional language.
>>
>>59930540
C#, C# and C#
>>
>>59939152
well
std::cout << that sucks


guess I should learn modern C++, just don't see the point given Java's dominance in the web space
>>
>>59939434
std::cout << "that sucks" << endl;


noob
>>
>>59932615
>tfw did that
>tfw landed my first job within first 2 weeks of sending my resume out
>tfw had five interviews overall within the span of 2 wks.

truly the greatest feel. then again, my background is kinda unique
>BS, Mathematics
>MS, Applied Mathematics
>MS, Mechanical Engineering (control systems concentration)
>PhD, Applied Math (returning in a year or two)
>Solid 3.5+ GPAs in all degrees.

i guess they overlooked the C/C++ thing. then again, maybe not ... considering they give me some projects that I have to code in C, others in C++.
>>
>>59930540
Python, SQL, C

You're set for life.
>>
File: todd howard.jpg (434KB, 1024x799px) Image search: [Google]
todd howard.jpg
434KB, 1024x799px
by the time you learn your second programming language you'll basically know them all. get a sound base of a wide range of programming languages that you know very well instead. that way you'll start learning how you personally like to program and you'll be able to experiment from there to develop your style. in time, you'll know so many languages that you'll start picking a language for a task to maximize time and minimize effort.

there are several ways you can start. if we want to narrow it down to three, you could go by something like
>scripting language
>high level
>low level
in that case, perhaps something like Lua, Python, and C. that would be a decent way to spread out to get a feel of the different ways you can program, though I would personally replace C with something a bit more complex like Lisp so you can see just how much things can change and yet stay the same. just don't limit yourself too much

after all, the best language for the job might be one you don't know, so it really isn't the best language at all. you can do basically anything in most languages. just keep in mind performance with certain applications like 3d rendering. don't build a maya clone in ruby and you'll be good to go.
basically, everything the /g/ay hipsters around here run on their ricing arch dualboots between playing games can be made in any programming language you might want to learn. in that way, you can narrow it down to two categories:
>for high performance, high performance languages
>for everything else, fast languages
in that case, you could build a great foundation out of C and Lua

lastly, just learn one. find projects made with it on git and steal their code to fuck around with while keeping a reference and tutorial handy
>>
>>59940026
>:^)
>>
>>59939743
psst....
[spoiler]std::endl[/spoiler]
>>
>>59933991
What is the hard part about C++ and OOP?
>>
>>59930540
>I'm wanting to learn 3 languages, what should they be?
English, Spanish, Mandarin Chinese.
>>
If you are not going into web development, learn C#, Java and C++ as these are the most commonly used "industrial" languages.

If you are going into web development, learn Python, JavaScript and PHP.
>>
>>59930540
What program language should I learn if I wanna go into bioinformatics?
>>
OP here, FYI I'm looking to specialize more into big data, would Python, R, and JavaScript be the optimal combination?
>>
>>59942890
Take a look at Julia, Julia is the future of data science. Its a scripting language with very easy to read python/ruby-like syntax. Its built from the ground up to replace R and Matlab. Its blazing fast. It compiles to machine code so it can do low level server programming.

R is just old, slow and is very limited to how much data it can process. The syntax is very limiting as it is designed to only do matrix programming for statistics. You end up having to reimplement things in C++/Java for speed and scalability and use scripting language like Python to do simple tasks.

Python is a stopgap language in that it is easy to learn and use but not really up to the task out of the box, you have to use special libraries to make it useable for big data.

Using Javascript is a joke, there are no standard libraries built into the language and dont tell me that node.js is a substitute for standard libraries.
>>
>>59942161
SQL, R and then stop kidding yourself, you don't know SQL well enough because that shit-tier, Boyce-Codd-3NF-level-baby's-first-SQL course doesn't teach you fucking shit about shit, go pick up a real data warehousing and ETL textbook because "bioinformatics" is pretty much a fancy term for "specialized data warehousing and reporting but with a medical twist" even if that's not how they sell it and even if there are small, niche parts of it that aren't quite that. Then get into tuning specific databases to improve speed/availability of data. Then read up on why even traditional data warehouses are a little too slow for some things, and read up on the new hotnesses that will make a lot more sense once you have a foundation and a problem to solve that can't be solved with the basics.
>>
>>59942890
>no data storage mentioned
>not even a joke-tier "I'm going to start using Hadoop in 2017 because muh data lakes" fuckup being made

What, are you planning on extracting and cleaning your data from the raw data every time you use it? Does that sound fast to you?
>>
Must: C++ and Java
Then chose one from script langs.
>>
>fortran
>html
>java
>>
>>59930540
For Lincucks:
Python
Java
C++

For Windooze:
PowerShell
C#
C++
>>
>>59940978
manually allocating memory for classes, accessing class data through pointers, manually deallocating memory to classes, using templates to abstract class types, all stuff a beginner shouldnt have to deal with
>>
>>59930540
APL
COBOL
FORTRAN
>>
>>59930705
I agree with Python
>>
>>59935564
I guess learning a separate language for him would be a...

C change.
>>
>>59930581
not sure if you were trolling, but actually that's not a bad advice.
if you would add C to the list and don't forget about functional programming/concepts in CL you'd have everything covered and enough knowledge about programming, paradigms, etc that could be applied to almost every language.
>>
>>59930540

c/c++
Haskell
Python/Ruby
>>
emojicode
>>
>>59936763
He will grasp functional languages and be able to parse C syntax. It is far from every language.

If that was your goal:
C or Java, Scheme Lisp or Forth, R or Haskell
>>
File: 1457588820001.gif (2MB, 320x180px) Image search: [Google]
1457588820001.gif
2MB, 320x180px
>>59930540
C++, Python, JavaScript
>>
>>59936822
What's PHP best for?
>>
>>59931073
This
>>
>>59930540
C# or Java
C
Bash or Javascript.
>>
>>59943966
Anon, I cannot appreciate you enough for your advice. I know jack shit about most of stuff you said but I'm gonna save it and it will shine to me one day.
>>
>>59944159
Why not Bash?
>>
File: C__.jpg (105KB, 603x324px) Image search: [Google]
C__.jpg
105KB, 603x324px
>>59930540
Java, Assembly, C
>>
>>59930540
C/C++, java, python
>>
>>59930540
Java, python, Javascript, C. Now you can do everything.
>>
why are so many people suggesting bash ? i'm currently trying my best to make all my shell scripts posix compliant. bashisms are a horrible habbit, older versions miss a lot of features, sometimes newer versions break behaviour, it's not guaranteed to be available on other posix systems, ... and most things can be done posix compliant just as easy as using bashisms
>>
>>59946769
PHP = Personal Home Page
It's pretty much just for web stuff.

Although it works surprisingly well as a regular scripting language as well.
>>
>>59950782
bash is fine for one liners in the console, for scripts you should use a real scripting language
>>
File: 1492266864349.jpg (33KB, 540x540px) Image search: [Google]
1492266864349.jpg
33KB, 540x540px
>>59931073
>MATLAB
>>
scheme, c, x86 assembly
alternatively lua instead of scheme
this will make you smarter than everyone else but it probably won't make you happy
>>
>>59930540

Java
Python
JavaScript

It's a foundation that will equip you to do pretty much anything, anywhere, 'full stack'; and with flexibility as well.

If I had to add a fourth, it would be PHP - it's a terribly designed language but it is ubiquitous and there are lots of opportunities.
>>
>>59942161

Java with Scavis / Dmelt and Hadoop
Python with Numpy
R
>>
Perl, C#, Regular Expressions
>>
>>59940952
#include <iostream>
using namespace std;

int main()
{
cout << "well fuck me" << endl;
return 0;
}
>>
>>59934215
This is absolutley false, R has great support for data science and statistics but doesn't support any of the numerical and speciific scientific toolboxes like matlab. Matlab' s vector operations are much more efficient/robust and matlab's gpu support is much better .
>>
>>59930540

HTML
CSS
JavaScript
Thread posts: 130
Thread images: 14


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