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

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); ...
8
votes
3answers
1k views

How do you deal with teachers teaching the wrong stuff?

Today was my first university day, and my software engineering class left me with a bitter taste. The professor sure seems to know about design and design patterns and MVC and the like (it's going to ...
2
votes
3answers
181 views

How would you explain this line of code to a complete beginner? [closed]

I am about to teach a friend of mine programming in Java. He has no experience in programming at all. We are both high school seniors. I was wondering: when teaching a complete beginner something ...
8
votes
13answers
6k views

What are some good, simple examples for queues?

I'm teaching CS2 (Java and data structures), and am having some difficulty coming up with good examples to use when teaching queues. The two major applications I use them for are multithreaded message ...
4
votes
3answers
363 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
109 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
646 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
3k 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 ...
249
votes
33answers
14k 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
337 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
2k 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 ...
13
votes
2answers
749 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: ...
37
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
330 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
268 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
895 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
220 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 ...
0
votes
1answer
119 views

How to develop an attitude for abstraction fundamentals? [closed]

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
13k 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
545 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
899 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
427 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 ...
44
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
815 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
757 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
283 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
2k 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
7k 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
477 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
202 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
92 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 ...
94
votes
11answers
55k 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 ...
11
votes
10answers
2k views

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

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
482 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
341 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
556 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
322 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
310 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
843 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 ...