I want to start learning coding/hacking, what language is best for me to learn first. thx?

Home » Programming & Design » I want to start learning coding/hacking, what language is best for me to learn first. thx?
Programming & Design No Comments

Other answer:

Forrest:
To learn how to take things apart, you need to know how they are put together. And vice versa.

A high-level language is a good start. I like Python, but Ruby has it's admirers and Perl is still around.

Learn to use the command line interface to your OS ("Command Prompt" on Windows, "Terminal" on Linux/OSX) and its scripting language.

After you can write simple programs (like: read a text file, find the ten most frequently-used words and display them with number of occurrences, ordered by name and then again by frequency), then take a look at C programming for the same sorts of operations.

Then start learning internals for your OS. Every command you use at the command line, every GUI based operation you use from a graphical utility, essentially uses OS system calls to display, add, change or delete system-managed objects. Test your knowledge by writing your own versions of these tools.

Next is assembly language and how that encodes (pretty directly) into binary machine language. If you have a decent macro assembler and a good set of macros, coding in assembly can be almost as easy as coding in C. Debugging at the machine code level gives you experience in finding out what an undocumented executable or dynamic library function does.

If you can do all that, and then can't find some better use of it than what "hacking" means today, then congratulations…you have just wasted your life. Good luck in the next one.

Robert J:
C.

It's the only language that is usable for all computers & computer-based devices.

Using C you can program anything from a $1 single chip microcontroller through smartphones & tablets (both Android & iOS), laptops & PCs with any operating system & up to mainframes and supercomputers…

To be a hacker (in the original sense, not a "cracker" as are portrayed as hackers in movies) you also need to understand the fundamentals of how computers function – both software and hardware.

That means learning logic theory and electronics.

The ultimate way is to build and program your own machine from simple components – no ready-built circuit boards. That 's what "hacking" was all about originally, it was the only way people could get their hands on their own computers, before any home computers were available.

This is some hacker-grade computer info:
http://www.ttlcpu.com/content/links

And one of the best "modern" examples:
http://www.homebrewcpu.com/

More info on that:
http://www.aidilj.com/homemadecpu/

A bit of one of my own projects; this is only around 20 years old, I don't have anything from the 70s when I started.. It uses a 16/32 bit CPU, not built-up logic like the earliest stuff.

wallace:
Don't hack man. Try to do a nice simple program to start with c++ or auto it!
Keith:
Don't hack man. Try to do a nice simple program to start with c++ or auto it!
Emma:
Don't hack man. Try to do a nice simple program to start with c++ or auto it!
<33:
Russian
Chester170:
Don't hack man. Try to do a nice simple program to start with c++ or auto it!

LEAVE A COMMENT