Teaching new skills, programming languages, frameworks, ways to get in the zone, remembering, and generally improving other's skills. Closely related to learning.

learn more… | top users | synonyms

4
votes
3answers
294 views

How to teach pointers to beginners in C? [closed]

I'll hold a little presentation about C-Pointers in a small group of people with beginners programming skills, with no CS background. Just people who would like to learn something about coding and ...
15
votes
8answers
3k views

Teaching logical/analytical thinking

I have been trial running a club in which I teach programming for the past year and while they have progressed what they really lack is the most fundamental concept to programming, analytical ...
2
votes
1answer
97 views

Mental schema for SQL queries

While preparing SQL introductory material, I've ended asking myself about the line of thought followed by a developer when writing a query. I believe it could be too valuable from a beginner's point ...
5
votes
5answers
580 views

Teaching a course on intro to programming, in C++: Do I teach C-style casts? [closed]

I'm currently redesigning a college level first semester graduate course on Intro to Programming, in C++. Note the comma; the course is introduction to programming, and C++ just happens to be the ...
2
votes
4answers
2k views

Pros of start learning programming with Python if what I really want is Javascript? [closed]

A friend of mine seeks to learn Javascript programming but he never programmed before. I've found Python as a quite nice language that takes most unneeded "strangeness" out of learning programming ...
242
votes
33answers
13k views

How can I deal with the cargo-cult programming attitude?

I have some computer science students in a compulsory introductory programming course who see a programming language as a set of magic spells, which must be cast in order to achieve some effect ...
4
votes
2answers
322 views

Looking for a very subtle unit testing example [closed]

In the context of Continuous Integration, I need to teach unit testing to a 20-people audience of programmers. Everything will be all right, but I am still trying to find the perfect unit testing ...
14
votes
6answers
1k views

Should I teach my students alloca? [closed]

How widely used is alloca in the real world? Should I teach my students to use alloca when it makes sense? Or should I teach them never to use it? Coming from a C++ RAII background, the idea of not ...
24
votes
8answers
2k views

Is there a LOGO interpreter that actually has a turtle?

This is not a repeat of the now infamous "How do I move the turtle in LOGO?" Recently, I had the following conversation with my five year old daughter: Daughter: Daddy, do you write programs? ...
13
votes
2answers
726 views

Starting to be a team leader [closed]

After half a year working for the company, I got two students to be leader for. So, I got some technical management responsibility. As I think, I should be not just a leader, but a teacher and the one ...
42
votes
9answers
4k views

What is the most orthogonal programming language?

I find myself repeatedly annoyed by having to teach freshmen about special language rules (like array-to-pointer decay) that have absolutely nothing to do with programming in itself. So I wondered: ...
38
votes
13answers
2k views

How do I teach to my brother how to program? [closed]

My brother is 12, and he's asked me several times to teach him how to program. I'm confident that I'm not a terrible programmer, but I don't see myself as an effective teacher. I taught myself most of ...
51
votes
10answers
2k views

How to correct a junior, but encourage him to think for himself? [closed]

I am the lead of a small team where everyone has less than a year of software development experience. I wouldn't by any means call myself a software guru, but I have learned a few things in the few ...
3
votes
5answers
296 views

What are some good assignments for an introductory course on concurrent programming? [closed]

I am teaching a course which involves introducing the students to the concept of threads and concurrent programming. I am in search of programming assignments that can gently get them to accept the ...
7
votes
8answers
1k views

Introducing polymorphism to new programmers

I've been teaching Java to a group of four people for about four months now. Prior to this, they've all had very limited or no other experience programming. We've gotten through basic control ...
2
votes
6answers
253 views

to teach or not to teach GUI for beginners in CS [closed]

I have been teaching an OOP course for almost one year from now. The premise of the school is to use Java by using NetBeans for the programming part. I have seen the following scenarios: The ...
9
votes
3answers
838 views

How to start a high school Java/Android development club for 13-17 year olds

My wife is a high school maths teacher, and is considering starting a programming club for 13-17 years olds who show an interest. Their interest seems to be around Apps and Android which I have little ...
2
votes
2answers
215 views

Start by Teaching Classes [closed]

In every class, and every book I have seen regarding programming, classes are held off. They are thought to be confusing and strange. I certainly had issues with them. But in object orient ...
15
votes
5answers
1k views

How would you teach C# delegate to a newbie? [closed]

I was reviewing Andrew Troelsen book on C# 4.0. The part that explains delegates starts as smooth as: public class SimpleMath { //declare delegate public delegate int BinaryOp(int x, int y); ...
1
vote
1answer
107 views

How to develop an attitude for abstraction fundamentals?

I know it's mostly a psychological question, but what practices exist for a software developer to improve the sense of recognizing basic concepts in the domain and the habit to define simple reusable ...
45
votes
18answers
4k views

Recursion without factorial, Fibonacci numbers etc

Almost every article I can find about recursion includes the examples of factorial or Fibonacci Numbers, which are: Math Useless in real life Are there some interesting non-math code examples to ...
2
votes
5answers
12k views

Example for explaining object-oriented concepts [closed]

What are some good examples for illustrating the concepts of object-oriented programming? I'm talking about sample classes, classes that would have inheritance, overriding, etc. The only one I can ...
6
votes
6answers
542 views

Should I continue teaching old Java input methods alongside the new ones?

I've been imparting a Java introduction course for several years. Some slides explain how to read from files and keyboard using BufferedReaders, InputStreams, FileInputStreamReaders etc. I'm adding ...
11
votes
2answers
867 views

Which programming language first introduced 'Hello World'

Which programming language first introduced 'Hello World' as a first program to code for beginners?
0
votes
4answers
420 views

What should be “D” for a good unit test?

I'm trying to introduce what is unit testing, and how to write good unit test to a friend. I think it's better if I give him some principles for a good unit test, and suddenly I remember about "ACID" ...
19
votes
12answers
2k views

How to teach Exception Handling for New Programmers?

How do you go about teaching Exception Handling to Programmers. All other things are taught easily - Data Structures, ASP.NET, WinForms, WPF, WCF - you name it, everything can be taught easily. With ...
43
votes
13answers
8k views

How to find a programming mentor? [closed]

I decided to learn programming. I've been reading SO for few days, and I think I will start with C++, as I read some articles. I am aware of loops, arrays, program logic and objects a little and I ...
1
vote
3answers
795 views

Scratch - why do schools teach students a language that is not used anywhere else?

Why do schools teach Scratch instead of more commonly used programming languages (C, C++, Java, C#, Python etc)?
7
votes
8answers
754 views

Why isn't TDD part of programming lessons at school [closed]

My daughter and my son are learning Java with BlueJ. I really don't understand why the first thing they learn isn't to write code to bring a testcase to green light.
-2
votes
0answers
275 views

Why should CS teachers stop teaching applets? [closed]

Why should CS teachers stop teaching Java applets? As a veteran of applets and forums, I think it is high time to make a call that teachers should stop teaching applets in general, & especially ...
13
votes
10answers
1k views

What is a good toy example to teach version control? [closed]

I am looking for practical examples to use when teaching version control. Breaking down the material to basic concepts and providing examples is an obvious way to teach version control, but this can ...
22
votes
7answers
1k views

How do I know if I have a good programming professor? [closed]

Today I begun my second programming course. The professor seemed a bit different from the others - we had some fun saying things like "he's probably a misunderstood genius". He criticized some other ...
13
votes
11answers
6k views

Why is Python recommended as an entry level programming language?

I've read here on P.SE more questions in which beginner programmers are advised to pick Python as their first programming language. Don't get me wrong, I like Python. I like it a lot! But its ...
2
votes
4answers
469 views

Should every front-end developer understand the basic aspects of design?

I'd say that we're developing software in a world where the front-end of an application is probably the most important. The increasing ability for a user to access and interact with software almost ...
16
votes
10answers
3k views

12 year old son interested in Android programming [closed]

So, my 12 year old son is interested in programming for Android. He's never done a real program before, but he did play briefly with Alice. I'm trying to figure out what the best way to introduce him ...
5
votes
6answers
2k views

Good way to explain the need for nestable lambda expressions

I'm in a situation where I need to explain lambda expressions to a colleague. He's well-educated, with some programming experience, and my first time showing him lambda expressions seemed to go well. ...
0
votes
3answers
193 views

pair programming and teaching

Pair programming is seen as a helpful teaching strategy - in fact, compared to singleton work, almost a magic bullet: better learner satisfaction higher exam scores for longer - later exams continue ...
-3
votes
0answers
91 views

Resources for small programming excercises [duplicate]

Possible Duplicate: Books or websites containing easy programming problems? Are there any resources that offer small programming exercises? I am looking for problems that are relatively ...
93
votes
11answers
53k views

How can I teach a bright person, with no programming experience, how to program? [closed]

I have been asked to take a person in our IT department who has no programming experience but is a smart and capable person and help him move into programming at lets say an entry level developer ...
12
votes
12answers
2k views

How do I explain to non-programers what .NET is?

I don't work at a software company, and I'm one of a small handful of people in the company that know anything about programming. I spend a lot of time automating other programs that are used in the ...
6
votes
10answers
480 views

Teaching Classes and Objects

I'm trying to teach how an object is just an instance of a class to a buddy of mine. However, he doesn't seem to understand it so well. I've heard a ton of the examples (blueprint to a house, etc.) ...
10
votes
14answers
600 views

If you had to teach professional development to students that just graduated school, what would be the topics? [closed]

The idea is to give them more chances to be efficient in a professional environment. Most students are good with theory, most of them are smart, but they have to learn how to solve common technical ...
1
vote
2answers
319 views

Software and/(x)or Hardware Projects for Pre-School Kids [closed]

I offered to participate at my kid's pre-school for various activities (yes, I'm crazy like that), and one of them is to help them discover extra-curricular (big word for a pre-school, but by lack of ...
4
votes
7answers
539 views

Getting my younger brother started on programming [closed]

My younger brother is 13 years old, I started programming when I started to develop Android applications when I was 15, last year my brother gained an interest in it and he would always pestering me ...
1
vote
3answers
301 views

Any tips/tricks/resources on actually TEACHING a class on OOP? [closed]

I may slowly be getting into teaching an Object-Orientated Programming class at my school in a year or two. I just graduated and work at my school as an Application Programmer. I'd first start off as ...
6
votes
6answers
304 views

Teaching: How can you motivate students to comment? [closed]

I remember when I was taught, "comments are the most important part of code." Or rather, when I was told that comments are the most important part of the code. I don't think I was convinced, and I ...
19
votes
7answers
806 views

Teaching version control (git, mercurial) to undergraduates? [closed]

I'm teaching a scientific programming course to undergraduates, targeted at freshmen/sophomores who are seeing the command line for the first time but are likely to need version control in future ...
21
votes
27answers
4k views

What language should an 11-year old start with to learn game programming? [closed]

I have a 11-year old son who wants to do game programming. I've started him on C++ (C++11) and he's learned iostreams, looping, functions, logic and flow control. I'm using the standard library and ...
16
votes
9answers
1k views

Teaching kids to program - how to teach syntax? [closed]

I've been spending this week teaching kids (11-18) to program. Teaching them the core concepts and the logic has been going fine, but I've noticed one snagging point for them all: syntax. I feel like ...
2
votes
5answers
479 views

How to motivate students for a programming section?

Last year I tried establishing a programming section at my alma mater. We started with a clear document detailing our plans and goals and a solid attendance (around 20 students). I ran into following ...