[Gllug] C/C++ mentor

TreeBoy gllug at petethetree.co.uk
Tue Nov 28 17:52:53 UTC 2006


On Tuesday 28 November 2006 15:49, Aaron Trevena wrote:
>
> I learned GTK from the nice hardback book - programming linux with GTK
> or something similar, combined with the online documentation I was
> able to progress quite quickly and found it much much easier to work
> through than QT and C++.
>
> I was also able to port a lot of my C to Perl quite quickly using the
> perl bindings for GTK, but relying on the C documentation for it.
>
> But that's not a fair comparison - I last did GTK about 6 years ago,
> and I tried QT/C++ about 18 months ago.
>
> I found GTK/C far simpler and quicker, but then I have a graduate
> background in both languages so that may have helped.
>
> I was going to suggest wx-widgets but you already found them.. good
> show - they work in Perl too, should you need to invoke the awesome
> power of the mighy CPAN.
>
> cheers,
>
> A.
>
> --
> http://www.aarontrevena.co.uk
> LAMP System Integration, Development and Hosting

Hi Aaron.

I don't have a graduate background in any programming, but I do have more than 
18 years (I can't believe it's that long!) commercial development experience 
(starting in the Defence  industry), having learnt C from Kernighan & Ritchie 
in 1987 and C++ from Stroustrup in 1990.

The real difficulty I have is not the language but finding a complete toolset 
that everyone agrees on. In C or C++ on HP-UX there was one standard set. The 
same appeared to be true on Solaris. The same *is* true on KDE (although you 
can experiment with others once you have a founding), but with Gnome or 
GTK(+, ++ or MM) there is no single toolset.

I read the same GTK book and it was fine for introducing the library, but for 
finding a complete development environment, I found it lacking.

As for wx: I agree it is a marvellous widget set (despite it's lack of MDI, 
which I find a real problem) if only because it is multi-platform: that's not 
meant as a sleight, just my opinion.

Finally: I'm afraid that I am one of Those People (tm) that just have never 
got to grips with Perl. I consider it a Write-Once-Throw-Away language simply 
because of the number of times that I have met code that I find completely 
unintelligible. I have written and seen obfuscated code in C, C++, Fortran, 
Modula2, various Basics, PHP, Logo, Lisp, 6502 Assembler, 6800 Assembler, x86 
Assembler, VAX Assembler, HP-UX assembler.... But Perl seems to require it!

I find Python's list comprehensions unnecessarily complex when a portable 
construct such as a for loop will achieve the same thing.

One last point: I am not yet(!) forty, I just sound like it... ;-)

Cheers,

-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list