From kde-devel Sat Jul 19 07:39:28 2003 From: Ralf Nolden Date: Sat, 19 Jul 2003 07:39:28 +0000 To: kde-devel Subject: Re: new KDE Development book X-MARC-Message: https://marc.info/?l=kde-devel&m=105860056700330 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============38057556345794019==" --===============38057556345794019== Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-02=_wWPG/Vyr5NaSspb"; charset="iso-8859-15" Content-Transfer-Encoding: 7bit --Boundary-02=_wWPG/Vyr5NaSspb Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Description: signed data Content-Disposition: inline On Samstag, 19. Juli 2003 09:11, Chris Lee wrote: > Holy crap. > > You're teaching your kid C++ before you teach him English? > > No _wonder_ you Germans get so much coding done. :) My approach for teaching - which is the reason why I think this needs to be= =20 included and I will write this down from my teaching experience is that you= =20 need to put this on the table: C++ is: =2E -> * & :: Then you're set :-) Syntax:=20 returntype function ( parameter list ) { implementation} keywords are:=20 class, new, delete, public, private, protected, return preprocessor commands are: (always starting with a #): #include #incude "filename" #define foo bar #ifdef foo #ifndef foo #endif Qt adds: keywords: public slots: protected slots: private slots: signals: You can easily learn C++ while you get into KDE/Qt development. Which is wh= at=20 is missing from *any* other programming environment learning books. And whi= ch=20 is why I want to do things different for our book (which shouldn't concern= =20 you if I write that part by myself and take an absolute beginner to test th= is=20 for effectiveness on learning C++ with Qt) Ralf > > -clee > > On Friday 18 July 2003 11:58, Karl-Heinz Zimmer wrote: > > On Saturday 19 July 2003 00:56, Guillaume Laurent wrote: > > > On Friday 18 July 2003 20:02, Ralf Nolden wrote: > > > > Exactly :-) As written earlier, I want to explain/teach C++ > > > > programming with Qt/KDE, so C++ is explained directly with what one > > > > needs - even if you have no programming knowledge about C++ at all. > > > > It's all about practical programming with background explanation. > > > > > > I honestly don't think that can work. C++, even coated with Qt, is not > > > suitable as a first language. > > > > IM(h)O: It is. > > > > Ask my son who just started learning C++ as his first language, even > > before starting english. > > > > C++ is OK for beginners if you start with the basics and try to make the > > learning curve less steep - e.g. by using a step-to-step approach in > > your main sample program that is enhanced in every chapter, while having > > tiny little exercise proggies in each chapter that show one single > > element of the language. > > > > So the user would have two areas of pratcise (and of success): > > > > a) the ever growing main sample > > > > b) the small mini proggies that show clearly one aspect each. > > > > > > Karl-Heinz > > > >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to > >> unsubscribe << =2D-=20 We're not a company, we just produce better code at less costs. =2D------------------------------------------------------------------- Ralf Nolden nolden@kde.org The K Desktop Environment The KDevelop Project http://www.kde.org http://www.kdevelop.org --Boundary-02=_wWPG/Vyr5NaSspb Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQA/GPWwu0nKi+w1Ky8RAqRAAJ9uKBNFFxnevRMFkItrX5n+LRR5zQCfSbM7 3XRtSLsYzpKuX4oBZMEW/Ik= =0ZUj -----END PGP SIGNATURE----- --Boundary-02=_wWPG/Vyr5NaSspb-- --===============38057556345794019== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe << --===============38057556345794019==--