General Question

jackley's avatar

How can I learn to code?

Asked by jackley (283points) January 27th, 2009

I would like to take it up a hobby. I am a Biology major in school, and the idea of software development has always interested me. How can I get started?

Observing members: 0 Composing members: 0

3 Answers

forestGeek's avatar

I’d either browse online for tutorials or get some books on the language you’d like to learn.

For web languages, w3schools.com is a great resource, among many others online.

richardhenry's avatar

This is an excellent free book: http://www.greenteapress.com/thinkpython/thinkCSpy/ (you can download the PDF version and start reading, or order a print copy)

It explains how to think like a computer scientist, and then applies those concepts to Python.

Python is particularly good, as you can use it to both write desktop applications and web applications.

You can worry about that later though; just get started with How to Think Like a Computer Scientist to start learning the basics. By the end of the book, you’ll be writing pretty advanced code and will probably be interested in further learning with something like Dive into Python.

Python is a pretty simple language when it comes down to it, but is also nice and rigid. There’s a million ways to do the same thing in languages like PHP, and your code can potentially end up being really ugly because there’s no enforced conventions for ordering and indenting things.

In terms of how easy something is to learn; Python is far superior because you’re not constantly seeing the same things done in different ways.

I highly recommend Python and hope you enjoy it.

Fluther is actually written in Python and Django, an excellent web framework (a framework is like a set of building blocks) for Python that allows you to handle requests from web browsers easily.

Once you’re pretty good in Python, check out PEP 8, which tells you even more about the standards and conventions you should be thinking about to write good Python code.

jrpowell's avatar

For me it took a project. I’m a lazy guy and just reading through a book made me lose focus. But once I decided upon something that I wanted to make it was easy to find the motivation. I just stuck with it until I made what I wanted.

A lot of stuff can be made to work in a browser. I have only had to write a few things that couldn’t be done in a browser. I like PHP and MySQL for web based stuff. It is easy and well documented. I can google just about anything and find an answer.

But if you want to make real desktop apps things get a little (lot) more complicated. But if you just want to get your toes wet I would look into writing web based apps.

Answer this question

Login

or

Join

to answer.

This question is in the General Section. Responses must be helpful and on-topic.

Your answer will be saved while you login or join.

Have a question? Ask Fluther!

What do you know more about?
or
Knowledge Networking @ Fluther