| View previous topic :: View next topic |
| Author |
Message |
Bigun Veteran


Joined: 21 Sep 2003 Posts: 1949
|
Posted: Mon Apr 02, 2012 1:26 pm Post subject: Learning a new Language (Programming) |
|
|
I'm starting to think that knowing another programming language, when learning a new one, is a handicap.
I start reading on jQuery, with PHP on my belt already, and I get to chapter three and have a hard time restraining myself from yelling at the book.
The book takes a route to handle learning by doing. And they lay out a set of requirements that need to be met, chapter by chapter, and you use newly learned techniques to handle the tasks. So it encourages thinking ahead and trying things on your own.
So before I even start in chapter 3, I look over the requirements, then I look over code from chapter 2, change three lines of code, tested, and met all requirements for chapter 3. Then I actually begin reading chapter 3, and I'll be damned if they added... like maybe... 30 lines of code and meet only 4 of the 5 requirements. Given, they cover new functionality and learning material.... but because I can't get my brain around the reasoning behind it, my brain doesn't want to retain it.... and it aggravates me.
Sorry, had to share my frustration. _________________ Sadhu Sundar Singh - responding to Darwinian Evolution - "...but I am more interested in Divine Selection and survival of the unfit" |
|
| Back to top |
|
 |
jonnevers Veteran


Joined: 02 Jan 2003 Posts: 1585 Location: Gentoo64 land
|
Posted: Mon Apr 02, 2012 1:33 pm Post subject: |
|
|
| so you're actually learning JavaScript with a focus on the jQuery API? focus on the JavaScript first. |
|
| Back to top |
|
 |
Bigun Veteran


Joined: 21 Sep 2003 Posts: 1949
|
Posted: Mon Apr 02, 2012 2:40 pm Post subject: |
|
|
| jonnevers wrote: | | so you're actually learning JavaScript with a focus on the jQuery API? focus on the JavaScript first. |
I've got a book on JavaScript too, and I will be, but I've read over the first few pages of each book, and it seems jQuery was easier, so I will learn it first. I know it seems backwards, but I will get to it. _________________ Sadhu Sundar Singh - responding to Darwinian Evolution - "...but I am more interested in Divine Selection and survival of the unfit" |
|
| Back to top |
|
 |
Bigun Veteran


Joined: 21 Sep 2003 Posts: 1949
|
Posted: Fri Apr 27, 2012 7:33 pm Post subject: |
|
|
Ok, this book sucks... straight up errors.
Some goals and requirements given, are never really met with 100% accuracy. Just to check, a quick google search found me to be right:
http://shop.oreilly.com/product/0636920012740.do
One review states the book has several errors, and I'm only on chapter 4 and I'm starting to realize this.
Given, I have enough experience in jQuery now to actually produce the code myself without the book's help all that much, it's still annoying as hell. _________________ Sadhu Sundar Singh - responding to Darwinian Evolution - "...but I am more interested in Divine Selection and survival of the unfit" |
|
| Back to top |
|
 |
pjp Administrator


Joined: 16 Apr 2002 Posts: 16029 Location: Colorado
|
Posted: Fri Apr 27, 2012 10:59 pm Post subject: |
|
|
That's a shame. I've liked their PHP/MySQL and Java books. Need to get back to the Java one. _________________ lolgov. 'cause where we're going, you don't have civil liberties.
In Loving Memory
1787 - 2008 |
|
| Back to top |
|
 |
Prenj n00b


Joined: 20 Nov 2011 Posts: 7 Location: Mostar, BiH
|
Posted: Sat Apr 28, 2012 1:14 am Post subject: |
|
|
It seems like a handicap when you are learning 2nd language, because you are thinking in the terms of 1st language. When you learn 3-4 you stop thinking that way, and think in abstracts, the language just becomes a syntax, and then you have to take into considerations the peculiarities of a language to make the code work, or you start using language "tweaks and hacks" to use it in a way you cannot do with another language.
At that point you stop worrying if Java is better then C++, but start thinking in terms of when should one use one or another.
Keep at it, it goes over |
|
| Back to top |
|
 |
BoneKracker Veteran


Joined: 14 Mar 2006 Posts: 1488 Location: U.S.A.
|
Posted: Sat Apr 28, 2012 2:20 am Post subject: Re: Learning a new Language (Programming) |
|
|
| Bigun wrote: | I'm starting to think that knowing another programming language, when learning a new one, is a handicap.
I start reading on jQuery, with PHP on my belt already, and I get to chapter three and have a hard time restraining myself from yelling at the book.
The book takes a route to handle learning by doing. And they lay out a set of requirements that need to be met, chapter by chapter, and you use newly learned techniques to handle the tasks. So it encourages thinking ahead and trying things on your own.
So before I even start in chapter 3, I look over the requirements, then I look over code from chapter 2, change three lines of code, tested, and met all requirements for chapter 3. Then I actually begin reading chapter 3, and I'll be damned if they added... like maybe... 30 lines of code and meet only 4 of the 5 requirements. Given, they cover new functionality and learning material.... but because I can't get my brain around the reasoning behind it, my brain doesn't want to retain it.... and it aggravates me.
Sorry, had to share my frustration. |
Sounds like a learning disability to me.
I recommend getting blind, stinking drunk -- so drunk that you black out. This will kill some brain cells and reset others to their default state. Then you can proceed without as much interference. _________________ Oldthinkers unbellyfeel INGSOC.
-- Headline of a document on Winston Smith's terminal in his cubicle at the Ministry of Truth, seen briefly in the background in one scene of the movie rendition of Nineteen Eighty-Four. |
|
| Back to top |
|
 |
Mardok45 n00b

Joined: 21 Jun 2008 Posts: 54 Location: Right behind you
|
Posted: Sat Apr 28, 2012 3:44 pm Post subject: Re: Learning a new Language (Programming) |
|
|
| BoneKracker wrote: | Sounds like a learning disability to me.
I recommend getting blind, stinking drunk -- so drunk that you black out. This will kill some brain cells and reset others to their default state. Then you can proceed without as much interference. |
Or you can balance your alcohol intake so you can hit your Ballmer Peak and code that shit like it's your bitch.
And apparently, some jobs don't mind a little boozing on the job:
http://abcnews.go.com/Business/drinking-alcohol-wine-booze-beer-work/story?id=16150294#.T5wPjrPH4nW |
|
| Back to top |
|
 |
Bigun Veteran


Joined: 21 Sep 2003 Posts: 1949
|
Posted: Mon Apr 30, 2012 5:37 pm Post subject: |
|
|
Holy s***... another time wasting CSS error in chapter 5, did they even test the code they typed in this book?!
I'll explain this one:
Here is the file structure for this example:
| Code: | /images
/styles
/scripts |
Ok, so the CSS, images, and scripts go into the obvious places. Then the CSS uses this line of code to use an image in a div tag:
| Code: | #frame {
background-image: url(images/frame.png);
} |
Some of you may already see the issue. But I assume the code is correct and begin to do research as to why the flippin' frame isn't showing up. And then I came across this:
http://reference.sitepoint.com/css/uris
| Quote: | | Relative URIs are relative to the style sheet, not to the HTML document that links to the style sheet. |
I then changed the code to:
| Code: | #frame {
background-image: url(../images/frame.png);
} |
I then proceed to throw out some colorful language and curse my book. I mean come on! _________________ Sadhu Sundar Singh - responding to Darwinian Evolution - "...but I am more interested in Divine Selection and survival of the unfit" |
|
| Back to top |
|
 |
BoneKracker Veteran


Joined: 14 Mar 2006 Posts: 1488 Location: U.S.A.
|
Posted: Mon Apr 30, 2012 9:24 pm Post subject: |
|
|
Never buy the first edition of a technical book (unless you expect it to become a valuable collectors' item). This wouldn't happen to be a 1st Edition, would it?
If the book is a year old or more, you might also check to see if errata have been published for it. See if there's a website, get a fine-point red pen, and go through and correct the errors. _________________ Oldthinkers unbellyfeel INGSOC.
-- Headline of a document on Winston Smith's terminal in his cubicle at the Ministry of Truth, seen briefly in the background in one scene of the movie rendition of Nineteen Eighty-Four. |
|
| Back to top |
|
 |
bogamol Tux's lil' helper


Joined: 01 Nov 2009 Posts: 84 Location: Detroit, Michigan - The Home of Rock and Roll
|
Posted: Tue May 01, 2012 5:02 am Post subject: |
|
|
| I've been really enjoying the Codecademy: Code Year program. It is an online learning method which teaches Javascript, HTML and CSS. |
|
| Back to top |
|
 |
Bigun Veteran


Joined: 21 Sep 2003 Posts: 1949
|
Posted: Tue May 01, 2012 10:11 am Post subject: |
|
|
| BoneKracker wrote: | Never buy the first edition of a technical book (unless you expect it to become a valuable collectors' item). This wouldn't happen to be a 1st Edition, would it?
If the book is a year old or more, you might also check to see if errata have been published for it. See if there's a website, get a fine-point red pen, and go through and correct the errors. |
It doesn't mention an edition or version of the book, so yeah, I'm guessing it's a first. I may search out to see if there is an errata for it. _________________ Sadhu Sundar Singh - responding to Darwinian Evolution - "...but I am more interested in Divine Selection and survival of the unfit" |
|
| Back to top |
|
 |
marens Apprentice


Joined: 05 Aug 2004 Posts: 172
|
|
| Back to top |
|
 |
bogamol Tux's lil' helper


Joined: 01 Nov 2009 Posts: 84 Location: Detroit, Michigan - The Home of Rock and Roll
|
Posted: Wed May 02, 2012 4:52 pm Post subject: |
|
|
Dude, this is awesome. |
|
| Back to top |
|
 |
BoneKracker Veteran


Joined: 14 Mar 2006 Posts: 1488 Location: U.S.A.
|
Posted: Wed May 02, 2012 8:56 pm Post subject: |
|
|
| bogamol wrote: |
Dude, this is awesome. |
bogomol is now like a kid in a candy store.  _________________ Oldthinkers unbellyfeel INGSOC.
-- Headline of a document on Winston Smith's terminal in his cubicle at the Ministry of Truth, seen briefly in the background in one scene of the movie rendition of Nineteen Eighty-Four. |
|
| Back to top |
|
 |
bogamol Tux's lil' helper


Joined: 01 Nov 2009 Posts: 84 Location: Detroit, Michigan - The Home of Rock and Roll
|
Posted: Wed May 02, 2012 9:42 pm Post subject: |
|
|
| BoneKracker wrote: | | bogamol wrote: |
Dude, this is awesome. |
bogomol is now like a kid in a candy store.  |
Seriously! It's a good thing knowledge doesn't give you diabetes. |
|
| Back to top |
|
 |
Bigun Veteran


Joined: 21 Sep 2003 Posts: 1949
|
Posted: Thu May 03, 2012 2:49 pm Post subject: |
|
|
Oh, this is balls.
I'm now having to read this book side-by-side with the errata, just confirming that the page I'm on doesn't have errors.
I may be using the GCU next time.
*edit*
Oddly enough, no jQuery course. _________________ Sadhu Sundar Singh - responding to Darwinian Evolution - "...but I am more interested in Divine Selection and survival of the unfit" |
|
| Back to top |
|
 |
pjp Administrator


Joined: 16 Apr 2002 Posts: 16029 Location: Colorado
|
Posted: Thu May 03, 2012 11:24 pm Post subject: |
|
|
| Bigun wrote: | | I'm now having to read this book side-by-side with the errata, just confirming that the page I'm on doesn't have errors. | Wouldn't it be easier to skim through the errata and make a note or attach a tab to the parts of the book that need to be cross-checked?
Incidentally, that's one reason I'd like to use digital books. Errata should be free & available on demand. Physical devices still don't match the material well IMO. _________________ lolgov. 'cause where we're going, you don't have civil liberties.
In Loving Memory
1787 - 2008 |
|
| Back to top |
|
 |
BoneKracker Veteran


Joined: 14 Mar 2006 Posts: 1488 Location: U.S.A.
|
Posted: Fri May 04, 2012 12:33 am Post subject: |
|
|
| Bigun wrote: | Oh, this is balls.
I'm now having to read this book side-by-side with the errata, just confirming that the page I'm on doesn't have errors. |
I told you:
| Quote: | | get a fine-point red pen, and go through and correct the errors |
Get it over with, then you don't have to worry about it. _________________ Oldthinkers unbellyfeel INGSOC.
-- Headline of a document on Winston Smith's terminal in his cubicle at the Ministry of Truth, seen briefly in the background in one scene of the movie rendition of Nineteen Eighty-Four. |
|
| Back to top |
|
 |
|