Learning code, Ideas?

Okay so I need a language that is easy to learn, that will teach me the basics very well, and give me a good base for learning other languages in the future.

I was thinking Java, but I am unsure, I was going to go python, but that is more of a scripting language than a object one no?

Is there a site that will teach me basic projects, maybe making a simple game out of a language, maybe something that will solve problems? All this is for practice for Uni, its been a long while since I did anything language based.

Also what would you recommend programming in for a beginners? IDE or text editor? say Eclipse vs Notepad++? I would prefer to be able to spot my mistakes than let a program fix them for me, again so I can get a good programming base.

 

Thanks

Python cause it is a strict syntax that is easy to read and write for an object based language.

C since you like Linux and that is what the kernel is wrote in.

I prefer IDEs since they are more self contained Geany or code blocks  are two I like.

Okay, but what is code blocks like in Fedora? I plan to use that for development once 21 is released

Okay so I need a language that is easy to learn, that will teach me the basics very well, and give me a good base for learning other languages in the future.

Most of them are fine, really.

For learning basics of programming, it doesn't matter whether you use a programming or a scripting language. Basically, pick whatever is used for what you are going to write.

maybe making a simple game out of a language

If you want to write some simple games, I strongly recommend http://love2d.org/

If you are interested, I can provide you with links and examples.

Also what would you recommend programming in for a beginners? IDE or text editor?

Doesn't really matter. Use whatever feels more convenient to you. I personally think that Visual Studio is great.

I would prefer to be able to spot my mistakes than let a program fix them for me, again so I can get a good programming base.

Real mistakes are not something that an IDE can spot for you. Letting it highlight syntax errors is not going to harm you in any way.

Personally I don't like Python. As a professional programmer, any programming language that doesn't have strong data types and doesn't declare variables, needs taking down an alley and given a good kicking. As you're a newcomer to programming I'd go for something with a whole programming environment, that has good online support. Here are three excellent free to download and use options to take a look at:

You could do a lot worse than Microsoft Visual C# or Visual Basic as a first time programmer. Very easy to learn and also very popular commercial languages, so you might get a job further down the line. Download a free copy from Microsoft.

http://www.visualstudio.com/en-us/products/visual-studio-express-vs.aspx

You might want to take a look at Netbeans from Oracle. Java based and relatively easy to learn.

https://netbeans.org/

Most colleges and universities like Pascal. Try Lazarus. I suspect this will be the smallest download too.

http://www.lazarus.freepascal.org/

 

I am not sure I don't use fedora but I would assume it is the same across distros. For other non c++ languages you will need to get plugins from git hub.

Well I need a language that will serve me well with Networking and Digital forensics, I need a strong background with Linux, which is why I am looking for a IDE/Text editor for Linux, so VS is out of the picture, Only my desktop is on Windows for gaming purposes, I will be getting a new laptop which may have to stay on Windows due to the uni.

So with this added, which follows the best route?

Actually what about trying to make a web browser in C# or something, I did a bit of VB.net in college and we built a browser then.

Join the Cult of Vi 

 

Okay, jokes aside; Notepad++ is fine for editing and creating webcode and webapps aswell as things like android applications in my opinion.

https://www.youtube.com/watch?v=Xsy6Y9ic9RE&list=PLEbaEyM-xt9l-ZJIeoKsaXqZ_FvRN17LN&index=5

 

 

For the last 2 days I've been looking at Rust. It's low-level with high-level syntax. It's easy to compile, cross-platform, and you don't even need Rust installed to run Rust binaries.

If you're looking for some cool games to play online to practice code, you could try codingbat.com  I remember my computer science assigned us to do problems on there.  It has python and java problems on there.  Also can you take any computer science or coding classes in school?  That would probably be the best way to learn if you have the option.

        ..."All this is for practice for Uni."


In that case you need to start learning C,C++,Python and Java.

Just take the CS50 class taught by David J. Malan at Harvard. You can find it on Youtube

Free, completely legal, developer virtual versions of Windows for Linux:

https://www.modern.ie/en-gb/virtualization-tools

I would suggest completing the code academy track on python and going from there. It's fun and good practice, and the things you will learn will carry over to other languages.

Your first language isn't a super critical choice.  You'll be spending your time learning the principles behind the various logical constructs and how to compose a solution to a given program.  Those first principles are common to nearly any language you will learn later.  Once you have an understanding of the principles behind the code, learning a new language is a simple matter of memorizing the (usually pretty small) syntactical elements.

My first programming language was x86 assembly and I turned out alright... go learn that ;P

Also, a word of advice: don't listen to people who say "learn x language because it's better than y language" or "foo language is better than bar language because <random language design point goes here>".  It's always going to be a waste of your time to engage in such discussions.  cents += .02;

C is the language you should learn.  Why? It's easy enough at the start, but keeps getting more difficult as you dive into it.  Many employers require coders to know C

C will give you a basis for c++.  Once you know C++ all other OO languages will be like the architect who built the empire state building playing with lego.  Java is laughably easy once you know C++

You should _maybe_ learn a functional language along side C.  Why? Functional languages are difficult to learn once you learn C.

 

Here is your first project.
Calculate how much state and federal income tax you should pay based only on a yearly income which is passed into the program on the command line

I want to get into coding and programing, but I don't know where to start. My professor recommended me that I get Alice to start, but I'd like to ask how can I get started on my way? I'm majoring in computer science.

Learn C The Hard Way: http://c.learncodethehardway.org/book/. Kernighan and Ritchie's book is still the Holy Bible of C. As for coding style, you can freely choose between the GNU coding style https://www.gnu.org/prep/standards/standards.html (Chapter 5) or the linux kernel coding style https://github.com/torvalds/linux/blob/master/Documentation/CodingStyle. Do take note that Linus recommends printing the gnu coding standards and then burning it as a symbolic gesture.

Game idea in C: good old snake using ncurses (doing it myself right now, it's fun).

Learn Python The Hard Way (with a game or two): http://learnpythonthehardway.org/book/

Editor: vim, or course. Once you learn it, you can never stop using it :)

You're also going to need a website with exercises that teach you various algorithms. I wish I knew such a site, I'm looking for one too to be honest.