Author Topic: Programming Question  (Read 1339 times)

0 Members and 1 Guest are viewing this topic.

Offline seems_27

  • /dev/null
  • *
  • Posts: 7
  • Cookies: -1
    • View Profile
Programming Question
« on: November 16, 2014, 10:25:45 pm »
I just started learning programming on website called codecademy.com and i was wondering if this is a good place to start. I'm trying to learn python.

Offline zenith

  • Peasant
  • *
  • Posts: 58
  • Cookies: 36
    • View Profile
Re: Programming Question
« Reply #1 on: November 16, 2014, 10:48:45 pm »
Definitely a good start. Check out ande's tutorial on setting up a python environment and our eBooks section as well, you'll find lots there.

Offline seems_27

  • /dev/null
  • *
  • Posts: 7
  • Cookies: -1
    • View Profile
Re: Programming Question
« Reply #2 on: November 16, 2014, 11:20:50 pm »
and can python be used to make applications for android

KingCasra

  • Guest
Re: Programming Question
« Reply #3 on: November 17, 2014, 12:55:40 am »
Yes it is a very good place to start.

Offline techb

  • Soy Sauce Feeler
  • Global Moderator
  • King
  • *
  • Posts: 2350
  • Cookies: 345
  • Aliens do in fact wear hats.
    • View Profile
    • github
Re: Programming Question
« Reply #4 on: November 17, 2014, 01:44:21 am »
and can python be used to make applications for android

Yes if you use what is called SL4A, or scripting layer for android. You can pack your scripts in an apk or just run them in the interpreter on the device.

Although, GUI coding is very limited and basic unless you use html and javascript to pass vars and data.
>>>import this
-----------------------------

Offline L0aD1nG

  • Peasant
  • *
  • Posts: 83
  • Cookies: 6
  • NeverFear1isHere
    • View Profile
Re: Programming Question
« Reply #5 on: November 17, 2014, 02:00:13 am »
I just started learning programming on website called codecademy.com and i was wondering if this is a good place to start. I'm trying to learn python.

I think this is a great place to start : http://learnpythonthehardway.org/book/
if you are looking for something online.

Offline shimomura

  • Peasant
  • *
  • Posts: 57
  • Cookies: 0
    • View Profile
    • Shanaynay
Re: Programming Question
« Reply #6 on: November 17, 2014, 02:07:47 am »
If you aren't capable of figuring out the answer to that question by Googling it then I won't even begin to mention Java and the Android SDK...Dammit, I just did. Anyways I agree with zenith. Continue with CodeAcademy and supplement with texts from our EBook section.

Good one for a beginner:
http://upload.evilzone.org/download.php?id=3936967&type=zip
Who gives a fuck what color the dress is...

Offline Matriplex

  • Knight
  • **
  • Posts: 323
  • Cookies: 66
  • Java
    • View Profile
Re: Programming Question
« Reply #7 on: November 17, 2014, 02:19:03 am »
Just don't become a pyfag.
\x64\x6F\x75\x65\x76\x65\x6E\x00

Offline techb

  • Soy Sauce Feeler
  • Global Moderator
  • King
  • *
  • Posts: 2350
  • Cookies: 345
  • Aliens do in fact wear hats.
    • View Profile
    • github
Re: Programming Question
« Reply #8 on: November 17, 2014, 04:02:27 am »
Just don't become a pyfag.

^This. It is really easy to only do python. I am guilty of it, but really you should know a few languages.
>>>import this
-----------------------------

Offline Comm4nd0

  • /dev/null
  • *
  • Posts: 19
  • Cookies: -1
    • View Profile
Re: Programming Question
« Reply #9 on: November 17, 2014, 05:05:46 pm »
I learned from Python for dummies. As accurate as the title is for me it's written really well and teaches you the basics.

but from me, my best advice is read read read as much as you can from as many different places. Code as much as you can as you can get skill fade.

that's my 2 cents :)

Kiuhnm

  • Guest
Re: Programming Question
« Reply #10 on: November 17, 2014, 05:46:04 pm »
If Python is your first programming language, then you should also learn how to program, that is, how to solve problems. Python is a language. What you say in that language is another matter. You should read something about algorithms and data structures.
I like "Introduction to Algorithms" (http://www.amazon.com/Introduction-Algorithms-3rd-Thomas-Cormen/dp/0262033844/) but maybe you should start with something lighter.

Offline seems_27

  • /dev/null
  • *
  • Posts: 7
  • Cookies: -1
    • View Profile
Re: Programming Question
« Reply #11 on: November 17, 2014, 06:29:31 pm »
so learning algorithms will give me a better understanding of programming? I couldn't just read the python book and then try to build a simple program?

Kiuhnm

  • Guest
Re: Programming Question
« Reply #12 on: November 17, 2014, 06:58:52 pm »
so learning algorithms will give me a better understanding of programming? I couldn't just read the python book and then try to build a simple program?

Think about chess. Learning Python is just learning how the pieces move. Learning algorithms, techniques and data structures is like learning openings, middle game tactics, strategies, etc...
It all depends on what kind of player you want to become. If you just want to play for fun then learn the rules and play. If you also want to be a good player, then you'll need more than that.
IMHO, real programming is 90% thinking and 10% writing code.

Here's a little problem: you have a list of n numbers. Can you find out which number, if any, occurs more than n/2 times in O(n)?
If you can solve it, then you're a good programmer otherwise you're just a programmer.
That's my opinion. Others may think differently.
« Last Edit: November 17, 2014, 07:00:04 pm by Kiuhnm »

Offline Xires

  • Noob Eater
  • Administrator
  • Knight
  • *
  • Posts: 379
  • Cookies: 149
    • View Profile
    • Feed The Trolls - Xires
Re: Programming Question
« Reply #13 on: November 17, 2014, 07:15:25 pm »
Concentration on solution design is actually far more important than language familiarity.  You can look up syntax; you cannot always look up the perfect solution for your very specific requirements.  Being able to determine the issue and design an adequate solution is language-agnostic.  Thus, it would behoove you to understand more about programming overall rather than just 'how to grab tweets using python' or 'how to animate buttons using jquery'.

In other words; tutorial are useless, books(particularly those suitable as class texts) are better but primarily provide only syntactical information with a few basic examples or exercises to reinforce topic absorption.  Neither show you how to break a problem down and design a solution.  Experience is, of course, the better teacher but without knowing what you should be trying to learn from your experience, your perspective is doomed to require many iterations before grasping the concepts appropriately.

But, alas, starting *somewhere* is better than nowhere at all.  Thus, choosing a language to start with is a common first step.  Just make sure that you are gleaning the right information from your sources and don't disregard language-agnostic solution design(including algorithm design).
-Xires

Offline seems_27

  • /dev/null
  • *
  • Posts: 7
  • Cookies: -1
    • View Profile
Re: Programming Question
« Reply #14 on: November 17, 2014, 08:01:32 pm »
Well should i take a class on algorithms and design before learning the python language? So, basically your saying that if i have an idea on making an application I could have a hard time doing certain steps because i don't algorithms and design?