Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Learning a new Language (Programming)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Off the Wall
View previous topic :: View next topic  
Author Message
Bigun
Veteran
Veteran


Joined: 21 Sep 2003
Posts: 1949

PostPosted: Mon Apr 02, 2012 1:26 pm    Post subject: Learning a new Language (Programming) Reply with quote

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
View user's profile Send private message
jonnevers
Veteran
Veteran


Joined: 02 Jan 2003
Posts: 1585
Location: Gentoo64 land

PostPosted: Mon Apr 02, 2012 1:33 pm    Post subject: Reply with quote

so you're actually learning JavaScript with a focus on the jQuery API? focus on the JavaScript first.
Back to top
View user's profile Send private message
Bigun
Veteran
Veteran


Joined: 21 Sep 2003
Posts: 1949

PostPosted: Mon Apr 02, 2012 2:40 pm    Post subject: Reply with quote

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
View user's profile Send private message
Bigun
Veteran
Veteran


Joined: 21 Sep 2003
Posts: 1949

PostPosted: Fri Apr 27, 2012 7:33 pm    Post subject: Reply with quote

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
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 16029
Location: Colorado

PostPosted: Fri Apr 27, 2012 10:59 pm    Post subject: Reply with quote

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
View user's profile Send private message
Prenj
n00b
n00b


Joined: 20 Nov 2011
Posts: 7
Location: Mostar, BiH

PostPosted: Sat Apr 28, 2012 1:14 am    Post subject: Reply with quote

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.

:lol:

Keep at it, it goes over
Back to top
View user's profile Send private message
BoneKracker
Veteran
Veteran


Joined: 14 Mar 2006
Posts: 1487
Location: U.S.A.

PostPosted: Sat Apr 28, 2012 2:20 am    Post subject: Re: Learning a new Language (Programming) Reply with quote

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. :P

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
View user's profile Send private message
Mardok45
n00b
n00b


Joined: 21 Jun 2008
Posts: 54
Location: Right behind you

PostPosted: Sat Apr 28, 2012 3:44 pm    Post subject: Re: Learning a new Language (Programming) Reply with quote

BoneKracker wrote:
Sounds like a learning disability to me. :P

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
View user's profile Send private message
Bigun
Veteran
Veteran


Joined: 21 Sep 2003
Posts: 1949

PostPosted: Mon Apr 30, 2012 5:37 pm    Post subject: Reply with quote

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
View user's profile Send private message
BoneKracker
Veteran
Veteran


Joined: 14 Mar 2006
Posts: 1487
Location: U.S.A.

PostPosted: Mon Apr 30, 2012 9:24 pm    Post subject: Reply with quote

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
View user's profile Send private message
bogamol
Tux's lil' helper
Tux's lil' helper


Joined: 01 Nov 2009
Posts: 84
Location: Detroit, Michigan - The Home of Rock and Roll

PostPosted: Tue May 01, 2012 5:02 am    Post subject: Reply with quote

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
View user's profile Send private message
Bigun
Veteran
Veteran


Joined: 21 Sep 2003
Posts: 1949

PostPosted: Tue May 01, 2012 10:11 am    Post subject: Reply with quote

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
View user's profile Send private message
marens
Apprentice
Apprentice


Joined: 05 Aug 2004
Posts: 172

PostPosted: Tue May 01, 2012 10:31 am    Post subject: Reply with quote

or http://code.google.com/intl/de/edu/
Back to top
View user's profile Send private message
bogamol
Tux's lil' helper
Tux's lil' helper


Joined: 01 Nov 2009
Posts: 84
Location: Detroit, Michigan - The Home of Rock and Roll

PostPosted: Wed May 02, 2012 4:52 pm    Post subject: Reply with quote

marens wrote:
or http://code.google.com/intl/de/edu/


Dude, this is awesome.
Back to top
View user's profile Send private message
BoneKracker
Veteran
Veteran


Joined: 14 Mar 2006
Posts: 1487
Location: U.S.A.

PostPosted: Wed May 02, 2012 8:56 pm    Post subject: Reply with quote

bogamol wrote:
marens wrote:
or http://code.google.com/intl/de/edu/


Dude, this is awesome.

bogomol is now like a kid in a candy store. :lol:
_________________
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
View user's profile Send private message
bogamol
Tux's lil' helper
Tux's lil' helper


Joined: 01 Nov 2009
Posts: 84
Location: Detroit, Michigan - The Home of Rock and Roll

PostPosted: Wed May 02, 2012 9:42 pm    Post subject: Reply with quote

BoneKracker wrote:
bogamol wrote:
marens wrote:
or http://code.google.com/intl/de/edu/


Dude, this is awesome.

bogomol is now like a kid in a candy store. :lol:


Seriously! It's a good thing knowledge doesn't give you diabetes.
Back to top
View user's profile Send private message
Bigun
Veteran
Veteran


Joined: 21 Sep 2003
Posts: 1949

PostPosted: Thu May 03, 2012 2:49 pm    Post subject: Reply with quote

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
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 16029
Location: Colorado

PostPosted: Thu May 03, 2012 11:24 pm    Post subject: Reply with quote

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
View user's profile Send private message
BoneKracker
Veteran
Veteran


Joined: 14 Mar 2006
Posts: 1487
Location: U.S.A.

PostPosted: Fri May 04, 2012 12:33 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Off the Wall All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum