LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 04-11-2013, 09:34 PM   #31
psionl0
Member
 
Registered: Jan 2011
Distribution: slackware_64 14.1
Posts: 722
Blog Entries: 2

Rep: Reputation: 124Reputation: 124

Quote:
Originally Posted by konsolebox View Post
Learning is not always the way of procedure-oriented schools and ABCs.
I don't think you read my post properly. Learning should be a hands on experience - not hands off until you have learned the definition of a whole lot of abstract concepts first.
 
Old 04-11-2013, 10:03 PM   #32
konsolebox
Senior Member
 
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248
Blog Entries: 8

Rep: Reputation: 235Reputation: 235Reputation: 235
Quote:
Originally Posted by psionl0 View Post
I don't think you read my post properly.
And which part of it did I misread? Aren't you more on knowing things little by little (in a blinded way), more like the way of schools?
Quote:
Originally Posted by psionl0
It might take at least a couple of weeks before the student is ready to be introduced to concepts such as structured and modular programming, object vs procedural orientated programming, scoping, encapsulation and inheritance etc.
Quote:
Originally Posted by psionl0
Learning should be a hands on experience - not hands off until you have learned the definition of a whole lot of abstract concepts first.
Are you implying that I should have agreed with that so that you could tell that I read your post properly?

If you wanted them to have an "abstract" idea at least, why stop them at reading broad terms e.g. And trying broad languages like C++ and Ruby? And please don't say that a 14 year old could be not able to do that. How could you tell? And broad languages such as those could be learned with one book.
 
Old 04-11-2013, 11:15 PM   #33
psionl0
Member
 
Registered: Jan 2011
Distribution: slackware_64 14.1
Posts: 722
Blog Entries: 2

Rep: Reputation: 124Reputation: 124
Quote:
Originally Posted by konsolebox View Post
Are you implying that I should have agreed with that so that you could tell that I read your post properly?
You obviously missed the word, "not" in that quote which changes the meaning entirely.

Spend a few weeks learning to write programs that "work" then learn Java/Pyton/C++ etc. Why do you think that is such a horrible approach?
 
Old 04-11-2013, 11:29 PM   #34
Sergei Steshenko
Senior Member
 
Registered: May 2005
Posts: 4,481

Rep: Reputation: 454Reputation: 454Reputation: 454Reputation: 454Reputation: 454
Quote:
Originally Posted by psionl0 View Post
Wow, some of this stuff would challenge an experienced programmer. It would almost certainly convince the beginner that programming was incredibly difficult and complex.

What ever happened to "just do it"? Write a line of code and see if it runs. Write two lines and see if they work. etc.

It is easy when you have been programming for a while to forget how foreign some of the basic concepts can be. Schools seldom teach logic so some of the logic seen in conditional statements (especially negated logic) can be completely novel to beginners. Arrays - especially where the index is a variable or an rvalue (algebraic expression) - are also a difficult concept for beginners to grasp. Appreciating the difference between y = x + 1 in mathematics and in computer programming is crucial to appreciating why a statement like x = x + 1 has no solution in mathematics but is a perfectly natural statement in a cefiledomputer programming language.

The best way to teach students something new is to make links to what they already know. Approaching programming as an extension to using a hand held calculator is one of the more effective ways to start. It might take at least a couple of weeks before the student is ready to be introduced to concepts such as structured and modular programming, object vs procedural orientated programming, scoping, encapsulation and inheritance etc.
Quote:
What ever happened to "just do it"? Write a line of code and see if it runs.
- sure, run through a mine filed and see how your limbs are torn away.

Quote:
Schools seldom teach logic
- sure. As I have already stated, "The deliberate dumbing down of America" (used top be available as http://www.deliberatedumbingdown.com.../DDDoA.sml.pdf ) is a highly recommended reading.

For that matter, at our special school ( http://www.alumni.net/Europe/Ukraine...School_No.145/ ) we were taught Boolean algebra. Without it it's quite hard to prove anything in mathematics.

And another interesting read: John Taylor Gatto "The Underground History of American Education" - http://www.johntaylorgatto.com/underground/toc1.htm -> "School As Religion" ( http://www.johntaylorgatto.com/under.../prologue4.htm ) :
Quote:
From mid-century onwards certain utopian schemes to retard maturity in the interests of a greater good were put into play, following roughly the blueprint Rousseau laid down in the book Emile. At least rhetorically. The first goal, to be reached in stages, was an orderly, scientifically managed society, one in which the best people would make the decisions, unhampered by democratic tradition. After that, human breeding, the evolutionary destiny of the species, would be in reach. Universal institutionalized formal forced schooling was the prescription, extending the dependency of the young well into what had traditionally been early adult life. Individuals would be prevented from taking up important work until a relatively advanced age. Maturity was to be retarded.

During the post-Civil War period, childhood was extended about four years. Later, a special label was created to describe very old children. It was called adolescence, a phenomenon hitherto unknown to the human race. The infantilization of young people didn’t stop at the beginning of the twentieth century; child labor laws were extended to cover more and more kinds of work, the age of school leaving set higher and higher. The greatest victory for this utopian project was making school the only avenue to certain occupations. The intention was ultimately to draw all work into the school net. By the 1950s it wasn’t unusual to find graduate students well into their thirties, running errands, waiting to start their lives.
 
Old 04-11-2013, 11:42 PM   #35
konsolebox
Senior Member
 
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248
Blog Entries: 8

Rep: Reputation: 235Reputation: 235Reputation: 235
Quote:
Originally Posted by psionl0 View Post
You obviously missed the word, "not" in that quote which changes the meaning entirely.
I haven't quoted anything there and honestly I don't follow anymore. Are you sure what post of mine that you've been referring to was also quoting to the one you think it is? But nevermind that.

Quote:
Spend a few weeks learning to write programs that "work" then learn Java/Pyton/C++ etc. Why do you think that is such a horrible approach?
Not a bad one as it has proven useful many times, but not the only good one. Also the other approach prevents one new programmer from having a hard time extending themselves to newer features of newer languages; prevents them from being conservative and find good pictures of how they could make newer languages useful and convenient to them.

Why not go to C++ quickly? Aren't books going to teach parts of it little by little too? But at least you could easily get an idea of what a complete-featured language is capable of; how you could use its dangerous yet powerful features if you're brave enough. And with respect to Ruby, how one could have the concepts of a really easy and simplified language, but still consistent. And Ruby is even easier than C. Yes it could give misleading ideas what true programming really is I know, since Ruby is more of an interpreted language. This is why I also referred to C++, which also covers C, but not something that's really conservative and tight-spaced.

Last edited by konsolebox; 04-12-2013 at 09:49 PM.
 
Old 04-11-2013, 11:54 PM   #36
Sergei Steshenko
Senior Member
 
Registered: May 2005
Posts: 4,481

Rep: Reputation: 454Reputation: 454Reputation: 454Reputation: 454Reputation: 454
For the OP (and others) :

"Perl, the first postmodern computer language" - http://www.perl.com/pub/1999/03/pm.html
"Programming is Hard, Let's Go Scripting..." - http://www.perl.com/pub/2007/12/06/soto-11.html - this one is an interesting comparison of various languages.
 
Old 04-12-2013, 01:27 PM   #37
Sergei Steshenko
Senior Member
 
Registered: May 2005
Posts: 4,481

Rep: Reputation: 454Reputation: 454Reputation: 454Reputation: 454Reputation: 454
Though I'm a known proponent of Perl in this forum, for a young folk I'd recommend OCaml as a "serious" language and JavaScript as a "playful" one.

Regarding the latter - http://nodejs.org/ , https://code.google.com/p/v8/ .Qt comes with JavaScript based on V8.

...

http://stackoverflow.com/questions/1...hat-is-node-js .

Last edited by Sergei Steshenko; 04-12-2013 at 01:32 PM.
 
Old 04-12-2013, 03:50 PM   #38
H5X00R
Member
 
Registered: Apr 2013
Posts: 39

Rep: Reputation: 1
I think the OP got overwhelm by all the info
 
Old 04-12-2013, 06:06 PM   #39
Sergei Steshenko
Senior Member
 
Registered: May 2005
Posts: 4,481

Rep: Reputation: 454Reputation: 454Reputation: 454Reputation: 454Reputation: 454
Quote:
Originally Posted by H5X00R View Post
I think the OP got overwhelm by all the info
It's good if it is so. Dumbed down answers are the most dangerous ones.
 
Old 04-12-2013, 10:34 PM   #40
psionl0
Member
 
Registered: Jan 2011
Distribution: slackware_64 14.1
Posts: 722
Blog Entries: 2

Rep: Reputation: 124Reputation: 124
Quote:
Originally Posted by Sergei Steshenko View Post
It's good if it is so. Dumbed down answers are the most dangerous ones.
That is just intellectual snobbery.
 
Old 04-13-2013, 02:27 AM   #41
Sergei Steshenko
Senior Member
 
Registered: May 2005
Posts: 4,481

Rep: Reputation: 454Reputation: 454Reputation: 454Reputation: 454Reputation: 454
Quote:
Originally Posted by psionl0 View Post
That is just intellectual snobbery.
????????????????????????

I do not like dumbed down answers, and think they are harmful. What does it have to do with snobbery ?
 
1 members found this post helpful.
Old 04-14-2013, 02:57 PM   #42
bloody
Member
 
Registered: Feb 2013
Location: Berlin
Distribution: Gentoo, Debian
Posts: 172

Rep: Reputation: 25
Back to topic, i'd recommend an established programming language that allows to write whatever software you want without any limits or bottlenecks. Some BASIC-kind of language might be okay at first, but sooner or later one usually switches over to something more...sophisticated and maybe also faster, so why bother learning programming languages in the first place if you end up leqaving them behind anyway? All the learning and all your code snippets developed for nothing..

So, C/C++, python, maybe lua (bit easier) and as someone also mentioned, ruby are certainly not bad choices.
 
Old 04-14-2013, 04:09 PM   #43
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
How to expose teenagers to programming?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to filter the linux kernel code based on config file. removing unnecessary code atulmt Linux - Kernel 4 06-29-2013 11:14 PM
100's of files infected by the same hacker code - any way to mass replace bad code? SirTristan Linux - Newbie 11 06-24-2012 08:08 AM
[SOLVED] Small matlab code to convert Morse code to plaintext using regular expressions gregorian Programming 3 03-31-2010 12:34 PM
small syntax problem with C code (implemented in Code Composer Studio) illiniguy3043 Programming 6 01-07-2008 02:14 AM
User Preferences: Use HTML code instead of vB code? (vB code is overrated) stefanlasiewski LQ Suggestions & Feedback 5 07-26-2005 01:37 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 10:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration