[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vr / w / wg] [i / ic] [r9k / s4s / vip / qa] [cm / hm / lgbt / y] [3 / aco / adv / an / asp / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / qst / sci / soc / sp / tg / toy / trv / tv / vp / wsg / wsr / x] [Settings] [Home]
Board
Settings Home
/g/ - Technology



Thread archived.
You cannot reply anymore.



File: eks dee.jpg (16 KB, 451x244)
16 KB
16 KB JPG
i am pretty new to coding, what programming language should i try to learn?
>>
>>64267246
visual basic
>>
Java
>>
assembly
>>
Malbolge
>>
C# if you want a career
>>
>>64267246
Install DrRacket
>>
>>64267261
No... NOOOOOOOOOOOOOOOOOO
>>
>>64267246
If you don’t know what kind of programs you want to make, start with python.
>>
Not OP, but similar question:
What is a good programming language to use for todo notes?
Eg, I would typically write something like
some title:
problem a
problem b
problem c
// problem d
// some other title:
// problem a
// problem b
// problem c
// problem d

The comment thing can be anything, but I like to use programming languages as I can just turn a problem into a comment to grey it out etc.
I would like to have the title lines marked as a keyword, but usually, I need to make it snake case to keep it as a single word.
I have used assembler in the past, but I would love something with a distinct file extension so it just works in my editor.
>>
>>64267246
real answer: python

you wont get bogged down in confusing syntax.
>>
>>64267465
OP here. i was thinking that too. i have heard from a lot of people that it is easy for beginners
>>
>>64267328
this
>>
>>64267246
The one that you like or does your task best you fucking mongoloid.

Just by asking this question you make it obvious that you have no idea how a programming language works or what it even is and what it's use is, so maybe first learn that and the choice will be obvious to you afterwards.
>>
>>64267447
what is the point of using a programming language as a todo list just use a text editor with a plain .txt and use your own symbols and indentations. otherwise just pick any it doesnt matter youre not gonna even be coding in the language just use one that you know that allows for quotes, block quotes, and use functions as titles or some gay shit

or program your own actual todo list instead of just using a .php extension to write mark up in a text editor. or better yet use HTML since HTML was designed to write mark up which is basically what you want to do
>>
>>64267510
Go with Python. It's as powerful as any other major language, but considerably "clearer" for beginners than the rest.
>>
Java or C# if you want something useful and not unreasonably complicated
>>
>>64267565
My editor can add syntax colors like make distinctions between jobs I have done and jobs I have yet to do (comments works really well for this as the editor also can insert comments with a hotkey)
It automatically inserts fold points so I don't have to look at jobs I am not doing.

It is 99% the ideal application for a note application, I just need the best language for what I am doing
>>
>>64267246
To be honest OP, it depends. If you're a beginner and you want to make programs, you should start with Python, which can do pretty much anything, and you can later move on to other languages such as C#, C++ really easily because Python is also Object-oriented. If you want to make apps/games for android, learn Java (not that easy for beginners but pretty much a must for Android). If you want to make websites, you can learn HTML, CSS and then JavaScript (best to learn in that order).
>>
>>64267321
Don't lie to him anon. Java's the language you want to learn if you want a career.
>>
>>64267246
python 3
>>
File: 1506019459602.jpg (29 KB, 320x320)
29 KB
29 KB JPG
>>64267447
>>
>>64267246

C++
learncpp.com has really good tutorials from absolute beginner level.
>>
>>64267565
html is not human readable.
I want to have what is close to text but with automatic generation of keywords.
Writing my own syntax file is doable, but it would be easier to just use an existing language.
>>
>>64268106
you, sir, are a retard.
>>
>>64267447
That is no job for a programming language, but you could use markup like https://en.wikipedia.org/wiki/YAML
>>
C ==> C++ ===> python
>>
>>64268172
thanks.
>>
>>64267447
Emacs org-mode, literally made for this.
* Category
** TODO Task 1
** DONE Task 2

Can also schedule tasks, create a dynamic calendar view, etc.

>>64267246
There's no right answer here, it just depends on what your needs are. If you're in for the long haul I'd recommend Racket and SICP for the CS side, or C / Assembly for the EE side.
>>
>>64267290
Who the fuck even uses assembly anymore?
>>
>>64267246
>coding
>>
>>64267328
Seconding, it has some imperative functions to help
>>
>>64267904
*if you want to become a code monkey
>>
>>64268606
People who work with mission critical embedded systems mainly.

>>64267246
The answer depends on what you want to do and are interested in for embedded and speed its c and c++, for quick prototyping its either perl or Python for full commercial software its c#,java for web its php,js and ruby. Figure out what you find more interesting its easier to learn if you enjoy the side projects you make with the language you are learning.
>>
>>64267313
This
>>
>>64267246
C++. It's what 95% of the textbooks are written with.
>>
Buy a mac, learn swift.
Swift and macos is so comfy... The standard libraries have everything you would ever need from muh NSView animations to digital signal processing...
>>
>>64269665
this guy fucks
>>
File: qbasic.jpg (186 KB, 1440x1080)
186 KB
186 KB JPG
quick basic yo
>>
>>64267447
use LaTex
>>
>>64267246
If you just want to write programs, python.
If you care about computers, C.

Then learn whatever you want.
>>
File: 1503270044772.jpg (275 KB, 857x721)
275 KB
275 KB JPG
>>64267652
I second this, coming out of academia a lot of the latest libraries -- if they're not written for C++ or Java -- they're most likely written in Python (or R, but that's only dealing with big data and statistics).
>>
>>64267447
Take your pick: https://en.wikipedia.org/wiki/Outliner#Desktop_outliners
>>
>>64272642
>Astronomy Pharmacology
What kind of job is this?
>>
>>64269163
*if you want bread on your table everyday
>>
>>64267246
Logo
>>
>>64268606
I do. Every single day. Since around 1987.

Please send help.
>>
>>64267447
What you're searching for is a markup language, not a programming language. Personally, I'm using asciidoc with the asciidoctor interpreter
>>
>>64267246
So you want to learn programming?

Pick a starting language. For beginners, there are generally two recommended "programming families" that you can choose to start learning:
-Dynamically typed/interpreted programming languages, such as: Python, Perl, Ruby
-Statically typed/compiled programming languages, such as: C, C++, C#

These are amongst the most popular languages in use worldwide, including 4 from the top 5. Both approaches are perfectly fine, and well-documented.
-Dynamically typed programming may be a bit more flexible, convenient, and forgiving. It is more popular in academia.
-Statically typed programming is a bit more suited for making general applications. It is more popular in industries.

Cannot decide? Flip a coin.

If you choose statically typed/compiled programming, you may want to start with C, then pick up C++. C is very well documented, and teaches many universal programming concepts. C++ is based on C, and adds new concepts. Sources:
For C:
The C Programming Language (K&R)
C Primer Plus (Prata)
http://www.cprogramming.com/tutorial/c-tutorial.html
http://www.learn-c.org/

For C++:
http://www.learncpp.com/
http://www.cplusplus.com/doc/tutorial/
http://www.cprogramming.com/tutorial/c++-tutorial.html
http://en.cppreference.com/
https://isocpp.org/faq

If you choose dynamically typed/interpreted programming, you may want to start with Python. It is very easy to pick up. Here are some good sources:
http://www.learnpython.org/
http://www.codecademy.com/en/tracks/python

>BUT I WANT MORE SOURCES!
Read: https://wiki.installgentoo.com/index.php/Programming_resources

>BUT I WANNA START WITH [language x] INSTEAD!
Sure, if you like. But the languages above are considered good for beginners.

>BUT I WANNA MAKE A COOL WEBSITE!
Learn HTML, CSS, and Javascript.

>BUT I WANNA MAKE iPHONE GAMES!
Learn Objective C and/or Swift.

>BUT I WANNA MAKE ANDROID GAMES!
Learn Java.

>BUT I WANNA MAKE PC GAMES!
Learn patience.
>>
>>64268606
Me. And this is the right answer to the thread anyway, it's a good first language for anybody
>>
>>64270959
i used to frequent this site back in the day: http://petesqbsite.com/
mfw it's actually 2018, and the site is now 20 years old
>>
>>64276650
okay, crap. 20 years minus 10 months. but still
>>
>>64276135
so where would I start if I was interested?
>>
>>64267246
I started with Python and it was very easy and useful to get some key concepts of programming.

Once you are familiar with one language, it becomes much easier to learn any other.
>>
>>64267246
http://www.paulgraham.com/avg.html
Fuck python, learn lisp or perl.
>>
as others said, give python a shot
don't forget to explore other langs afterwards, each has its pros and cons
"wtf is programming" level book:
https://automatetheboringstuff.com/
>>
>>64267447
another vote for org-mode >>64268537
or in general, an outliner >>64272666
could be a program or just a text editor using a markup lang >>64275877
>>
>>64267246
C or C++, it's not actually more difficult to start learning with these languages and there are endless resources for learning. And seriously a year and a half into learning C or C++ you will be able to pick up Java, Python, C# or whatever in a snap. Functional programming languages will take a bit longer, but not much.
>>
>>64267447
I would go for yaml / md.
>>
>>64268606
me
>>
>>64278301
from reading intel manuals
>>
>>64275903
>you may want to start with C, then pick up C++
I can't find a serious C++ programmer who would recommend this. Learn C++ first. No don't use the online BS just get a good book like C++ Primer or something.
>>
Python is a solid beginner's language, but I think it would be most rewarding to learn C++ first
>>
python
>>
File: python-sucks.jpg (69 KB, 400x400)
69 KB
69 KB JPG
>all this python shilling
>>
>>64267246
My first language was Commodore BASIC. This transitioned me to 6510 Asm which started me on both eZ80 and x86_64 Asm for my calculator and computer respectively. With x86_64 I learned how to interact it with C++ so I decided to learn C and C++ for general purpose things and for comfyness. At some point I needed to learn about Arduino so I picked up a little bit AVR-C so that I could understand a bit of AVR assembly given how it is pretty simple.
>>
Ruby
>>
HTML, also learn to use Linux
>>
*nim*
>>
>>64284123
>HTML
>programming language
>>
>>64267246
Python you fucking child
>>
if 0
print("you are using a meme langue ")
>>
HTML/CSS/Javscript

Web developer is a high paying job, easy to pick up compared to other kinds of coding, lots of freelance work depending on your region, and javascript is a very powerful language that you can use to code both server-side and client-side.

everyone saying ruby is trolling you

as others have said python is a great language to pick up to just learn about fundamental concepts in coding but its just as easy to get into javascript.

if u decide to take my advice feel free to DM me on discord and I'd be happy to link you learning resources, answer questions etc

ramen isnt that great#2758
>>
>>64285029
>but its just as easy to get into javascript.
callbacks can be a bitch
>>
>>64267246
Ruby. It's a lot like everyday, written, words. It's probably the easiest to remember and could be a confidence builder for tackling more abstract languages.
>>
>>64285041
async/await.
>>
Flowcharts, then Python
>>
>>64285018
>can’t spell the word “language”
the state of python
>>
>>64278301
Honestly I would start with arm, it's a bit easier to get into than x86
>>
>>64267246
C

yes, really. install a *nix operating system and start reading man pages.
>>
>>64267246
If you want easy then BASIC, get bwBASIC and read
http://purple.niagara.edu/boxer/essays/soft/bwbasic.htm
http://sdf.org/?tutorials/basic-language
http://mutazilah.org/learnp.txt
>>
>>64285029
what the fuch

this is not some mozilla sjw forum, get lost
>>
>>64285855
Shut up, hipster
>>
>>64287840
>language is used literally everywhere
>hipster
tell that to the people who suggested him racket and lisp instead
>>
>>64272642
>software engy at god tier
I FUCKING WISH
t. College SE freshman who fell for the meme
>>
>>64287852
They're wrong to. C is not used "everywhere", it is a low-level language meant for low-level work. Not programmer on the planet is attempting to write operating system drivers. There is no benefit in learning C as a beginner, it's way too manual and convoluted. One should go with Python or C#.
>>
Fuck the easiest. What's the hardest language to learn? Harder than ASM. How do I code directly in machine language 1s and 0s or the closest to it?
>>
>>64287986
Machine code, buddy
https://en.wikipedia.org/wiki/Machine_code
Anything lower than that, might as well get into EE
>>
>go to http://www.learnpython.org/
>doesn't even list IDEs to use or the best way to start actual programming
These websites are retarded
>>
>>64287986
>How do I code directly in machine language 1s and 0s or the closest to it?
my guess is you'd have to use an hex editor and assemble stuff by hand?
>>
>>64287984
>no benefit in learning c
yes, understanding how programs really work.
then you have java or python codemonkeys that dont know how the stack works.
>>
>>64267246
Lua
>>
>>64288036
>Hurrr ik how it werk
Literally no one cares other than employers looking for C programmers. Why should someone learn to malloc pointers and create data structures, when they can call preimplemented containere? Stop trying to turn ppl into luddites, modern computers have 8gb of RAM.
>>
>>64287986
Python
Java
C
Assembly
Manually entering opcodes using a hex editor <--- You are here
Microcode
Designing your own CPU with logic gates
Designing the logic gates yourself with silicon and metal
Fabricating your own NPN/PNP transitors
>>
PHP was my first. I really enjoyed it.
>>
Choosing a programming language out of thin air is like choosing to learn a natural language on a whim, you won't get anywhere and you'll wonder why you even bothered.

Follow the industry standard for whatever you are in and choose from there.

If you are still at college, then try to learn the most popular languages currently on the market. You'll find out fairly quickly which one you have the strongest affinity to and go from there.

Good luck!
>>
>>64272642
>economics
Deserves its spot solely for how useful it is at weeding out the dumb-asses who pick business instead
t. econ major in classes full of business normies
>>
>>64288458
>>Designing your own CPU with logic gates
>>Designing the logic gates yourself with silicon and metal
>>Fabricating your own NPN/PNP transitors
>Getting a pickaxe and going mining
>>
>>64267652
Go with go my friend!

In all seriousness just go w python can't go wrong.
>>
>>64267376
>mfw vb was the first lang I ever learned
>half of my highschool programming class still struggled to an unreasonable degree
>I remember one kid making an adding program that just had static text in the label from the example given in the book
>one kid said qoute "what do you mean the computer executes instructions in order"
The class was so mind numbingly easy I remember learning python on my own laptop during class because I was so far ahead.
>>
C can be a good first language if you know how https://pastebin.com/SRZakc07
>>
File: 1494125154038.jpg (21 KB, 400x400)
21 KB
21 KB JPG
>be brainlet
>lurk /g/ a lot
>decide to learn a language
>pick C and Python since those are always recommended
>pretty much read books about it and do amateurish projects for a year
>enroll in local university
>finally pass 1st and 2nd basic semesters in a IT related career in a Economics faculty for some reason
>finally see Programming in the curriculum for 3rd semester, decide to check up on the class contents
>"we will learn about Java in this class lol" - Professor Mcdicks
JUST
>>
>>64288919
>already learned C
>complaining that class is about Java
You already survived anon now is a walk in the park.




Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

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.