A question for everyone learning and everyone "fluent" in a pr

  • (2 Pages)
  • +
  • 1
  • 2

23 Replies - 3833 Views - Last Post: 10 June 2010 - 06:56 AM

#16 NeoTifa  Icon User is offline

  • Whorediot
  • member icon





Reputation: 2794
  • View blog
  • Posts: 15,904
  • Joined: 24-September 08

Re: A question for everyone learning and everyone "fluent" in a pr

Posted 08 June 2010 - 12:24 PM

Awww thanks. Just found another one in mine: forgot an increment. XD
Was This Post Helpful? 0
  • +
  • -

#17 baavgai  Icon User is offline

  • Dreaming Coder
  • member icon

Reputation: 5932
  • View blog
  • Posts: 12,854
  • Joined: 16-October 07

Re: A question for everyone learning and everyone "fluent" in a pr

Posted 08 June 2010 - 12:55 PM

One of the things you can see in all my responses is that I format code in a way that makes me happy. Even if it's someone elses code, it's getting formatted. This is not just me being an asshole, though doubtless a little is. Rather, in order to spot an error, code needs to be layed out in a way that's easy for me to scan.

You can stare at the same piece of code forever and the bug will hide. Two things than can save your are chatty compilers and consistent syntax. If you stick to the same grammar all the time, those things that don't fit quite right are that much more obvious. Do it long enough and that == vs. = will jump right out at you; most of the time.


View PosttlhIn, on 08 June 2010 - 09:43 AM, said:

This will show my age but... My introduction to computer programming was when my Science teacher bought the first generation TRS-80 computer with cassette tape drive and a book of programs written in BASIC.


A Trash-80? I used Apple ][ ( hope the goofy II comes out ) at school and ultimately got an Atari-800. Those were the days... crap, where's my walker. :P
Was This Post Helpful? 0
  • +
  • -

#18 Raynes  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 611
  • View blog
  • Posts: 2,815
  • Joined: 05-January 09

Re: A question for everyone learning and everyone "fluent" in a pr

Posted 08 June 2010 - 01:19 PM

View PostNeoTifa, on 08 June 2010 - 11:10 AM, said:

Don't give up. I just made a stupid mistake like that not even 45 seconds ago. Missing a simple -1 crashed my whole (little) program ;) That's what IDE's are for. You learn from your mistakes. A good programmer makes mistakes, a great programmer finds them. ^__^


IDEs are for fixing your stupid mistakes? I thought that's what your brain was for!
Was This Post Helpful? 0
  • +
  • -

#19 NeoTifa  Icon User is offline

  • Whorediot
  • member icon





Reputation: 2794
  • View blog
  • Posts: 15,904
  • Joined: 24-September 08

Re: A question for everyone learning and everyone "fluent" in a pr

Posted 08 June 2010 - 01:41 PM

Nonsense. That's for coming up with evil schemes to take over the world, which is what I assume you're programming for ;)
Was This Post Helpful? 0
  • +
  • -

#20 NickDMax  Icon User is offline

  • Can grep dead trees!
  • member icon

Reputation: 2250
  • View blog
  • Posts: 9,245
  • Joined: 18-February 07

Re: A question for everyone learning and everyone "fluent" in a pr

Posted 08 June 2010 - 06:11 PM

I had a really long post here about some advice for approaching programming. I decided to add it to my blog rather than clutter the thread (I have never really learned brevity). If you are interested you can find it here.
Was This Post Helpful? 0
  • +
  • -

#21 Raynes  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 611
  • View blog
  • Posts: 2,815
  • Joined: 05-January 09

Re: A question for everyone learning and everyone "fluent" in a pr

Posted 08 June 2010 - 09:32 PM

View PostNickDMax, on 08 June 2010 - 05:11 PM, said:

I had a really long post here about some advice for approaching programming. I decided to add it to my blog rather than clutter the thread (I have never really learned brevity). If you are interested you can find it here.


Awesome. I wish more people were like you. People tend to repeat themselves over and over and over and over and ...

It's much better to put such repetitive responses in a single place so that you can just link to it whenever appropriate.
Was This Post Helpful? 0
  • +
  • -

#22 Cyrusthebeast  Icon User is offline

  • D.I.C Head

Reputation: 1
  • View blog
  • Posts: 65
  • Joined: 11-October 09

Re: A question for everyone learning and everyone "fluent" in a pr

Posted 09 June 2010 - 11:49 AM

View Postbaavgai, on 08 June 2010 - 11:55 AM, said:

One of the things you can see in all my responses is that I format code in a way that makes me happy. Even if it's someone elses code, it's getting formatted. This is not just me being an asshole, though doubtless a little is. Rather, in order to spot an error, code needs to be layed out in a way that's easy for me to scan.

You can stare at the same piece of code forever and the bug will hide. Two things than can save your are chatty compilers and consistent syntax. If you stick to the same grammar all the time, those things that don't fit quite right are that much more obvious. Do it long enough and that == vs. = will jump right out at you; most of the time.


View PosttlhIn, on 08 June 2010 - 09:43 AM, said:

This will show my age but... My introduction to computer programming was when my Science teacher bought the first generation TRS-80 computer with cassette tape drive and a book of programs written in BASIC.


A Trash-80? I used Apple ][ ( hope the goofy II comes out ) at school and ultimately got an Atari-800. Those were the days... crap, where's my walker. :P


I've been starting to do that :]

View PostNickDMax, on 08 June 2010 - 05:11 PM, said:

I had a really long post here about some advice for approaching programming. I decided to add it to my blog rather than clutter the thread (I have never really learned brevity). If you are interested you can find it here.

Great tips!

#19 was so true. Before that post I showed earlier in this topic, I just kept thinking the same things that weren't the problem and it got me nowhere.

That link should be PMed to every new member that registers here.
Was This Post Helpful? 0
  • +
  • -

#23 NeoTifa  Icon User is offline

  • Whorediot
  • member icon





Reputation: 2794
  • View blog
  • Posts: 15,904
  • Joined: 24-September 08

Re: A question for everyone learning and everyone "fluent" in a pr

Posted 09 June 2010 - 11:54 AM

I didn't even finish the first paragraph and I noticed a grammar/spelling error. ;) patience != patients. Other than that, nice.
Was This Post Helpful? 0
  • +
  • -

#24 NickDMax  Icon User is offline

  • Can grep dead trees!
  • member icon

Reputation: 2250
  • View blog
  • Posts: 9,245
  • Joined: 18-February 07

Re: A question for everyone learning and everyone "fluent" in a pr

Posted 10 June 2010 - 06:56 AM

@NeoTifa -- I suppose that depends upon the particular patients you have... but thanks for the tip! Stupid computer should know what I mean not what I typed!!!

Quote

That link should be PMed to every new member that registers here.


@Cyrusthebeast -- While I am flattered that you feel that way, I don't think every new programmer wants to be preached at. Besides, I am sure that the list could use some polishing, this is just advice that I came up with on this particular day. That is why I put the 2010 on there... because I find that my "advice"/opinion changes a good deal over the years, in 2012 right before it all ends I might have different advice, and in 2014, after it didn't end, I will almost certainly have different opinions...

Though... I will still probably misspell every other word and use the wrong patience.
Was This Post Helpful? 0
  • +
  • -

  • (2 Pages)
  • +
  • 1
  • 2