Linus Torvalds on C++

For discussions about programming, programming questions/advice, and projects that don't really have anything to do with Puppy.
Post Reply
Message
Author
User avatar
GustavoYz
Posts: 883
Joined: Wed 07 Jul 2010, 05:11
Location: .ar

Linus Torvalds on C++

#1 Post by GustavoYz »

http://harmful.cat-v.org/software/c++/linus
C++ is a horrible language. It's made more horrible by the fact that a lot of substandard programmers use it, to the point where it's much much easier to generate total and utter crap with it.[...]
Last edited by GustavoYz on Tue 06 Mar 2012, 01:03, edited 1 time in total.

nooby
Posts: 10369
Joined: Sun 29 Jun 2008, 19:05
Location: SwedenEurope

#2 Post by nooby »

Comment from such a poor prgrammer named Nooby. Okay a No-Programmer
but I wanted to be one and realized after some years of nothing accomplished
that I don't have the brain for doing structured thinking.

During those fruitless years of trying to make structured code I read that
Pascal Programming Language where made to help programmers stay
structured. The language required that one where structured or else it
would complain?

I where so non or unstructured that I even failed to learn Pascal so
maybe that is true.

Could be that they had similar experiences as Linus T. has and set their
Pascal Language up to protect from such behavior? It sounds familiar to me!

Nooby

PS in case you wonder why on earth I thought me could be a programmer?

Well I loved computers and wanted to make a thinking robot. :)
And I grew up with progressive Marxist Socialists Communists and
some versions of them have the notion that all of us have equal
opportunity to be anything we set our minds to. You only need
dedication and hard study and hard work at it and sooner or later
you would be a programmer or Doctor or Engineer or Rocket Scientist
or whatever you decide on to be. Musician?

Having such a Dad and Socialism being the main Party line in Sweden
I bought that idea to the full and I can now some 50 years later report
that not all of us has such brains. Some of us come with a less equal brain.

Not easy to admit. I lived for some 40 years in a Utopia where everything
where possible. They where wrong. Everybody can not sing or play
music or compose music or program computers. One need a brain that is
plastic enough to get structured and my brain seems to be slow at anything.

Too slow for my own good.
I use Google Search on Puppy Forum
not an ideal solution though

User avatar
darkcity
Posts: 2534
Joined: Sun 23 May 2010, 19:16
Location: near here
Contact:

#3 Post by darkcity »

I guess you learnt equality is about opportunity not about having no differences ; -) :idea:

nooby
Posts: 10369
Joined: Sun 29 Jun 2008, 19:05
Location: SwedenEurope

#4 Post by nooby »

Sorry to derail the thread but as I remember they actually do claim
and still now some 50 years later still claim that anybody having
average IQ like 100 points or what it is named. What most of us have
can learn anything as long as one is dedicated and study the subject
and set ones mind to it.

It where not true for the areas I tested it on.

Building electronic circuits like Amplifiers, Shortwave Recievers
Electronic Music Instruments, Learning to use a Computer
and to learn programming a computer.

I also failed at learning other languages like Esperanto and IDO
and I failed to learn Scores and Rhythm and music melodies.

My brain failed to remember the sequences of tone, notes duration
and beat and such. I failed at learning to dance to these rhythms.

I also failed at social interaction. To give and take and to read
others intentions and to get how my actions got received by them.

They where totally wrong about it. We may have equal opportunities or not the means to take that opportunity.

One need brains that can act in structured ways and to
keep that structure and refine it based on practice.

My brain is too short on attention. It lose focus on what I
where doing just seconds ago. The sequence of actions
breaks down and I only act as a confused non focused loser.

As an experience it is very embarrassing and disappointing.
I use Google Search on Puppy Forum
not an ideal solution though

User avatar
vovchik
Posts: 1507
Joined: Tue 24 Oct 2006, 00:02
Location: Ukraine

#5 Post by vovchik »

Dear nooby,

I always enjoy your candid musings. Don't worry too much - my brain is also fried and shrinking :) And I don't like C++ either.

With kind regards,
vovchik

nooby
Posts: 10369
Joined: Sun 29 Jun 2008, 19:05
Location: SwedenEurope

#6 Post by nooby »

Such is sad. The "Health Care" recommend that one do
a lot of exercise like long fast walks and that one do a
lot of Cross Words and Sudoku and similar or PC Games
or something that get the brain to be very active with
lots of rewards? that way maybe one can slow down the
shrinking or at least have fun while it slowly get worse :)

Doing programming should be effective so doign woof or roar-ng
may be the right thing to do :)
I use Google Search on Puppy Forum
not an ideal solution though

User avatar
GustavoYz
Posts: 883
Joined: Wed 07 Jul 2010, 05:11
Location: .ar

#7 Post by GustavoYz »

I always enjoy your candid musings.[...]
That make two of us.
I started to do things with a C++ framework (open frameworks), and the whole thing is super heavy, slow in comparision and full of dependencies (long 'makes')...
Sudoku is great, nooby. Try this cli-version, as you can set the amount of filled squares to start easy and then increase the 'blanks'. (Unpack and drag it to /my-applications/bin)
Have fun :wink:
Attachments
nsudoku.tar.gz
(5.05 KiB) Downloaded 302 times

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#8 Post by disciple »

Hey - your title calls Linus "Linux"...
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

User avatar
GustavoYz
Posts: 883
Joined: Wed 07 Jul 2010, 05:11
Location: .ar

#9 Post by GustavoYz »

disciple wrote:Hey - your title calls Linus "Linux"...
Yep. Fixed.

garystampa
Posts: 15
Joined: Thu 27 Oct 2011, 16:48

#10 Post by garystampa »

I think C++ was constructed by people who hated programming or weren't good at it so they attempted to make it easier and bullet-proof. Instead they made a mess.

As nooby points out, either you can sing or you can't. Either you are a programmer or you're not. There's no such thing as easy if it's worth anything.

I wouldn't have minded C++'s existence if they hadn't had the audacity to call it C.

C is perfect the way it is - the only thing would be for compiler writers to get better at optimization instead of worrying about 'friends' and 'this' and other silly keywords which actually do very little but insist on strict adherence to syntax - which doesn't keep you from writing crappy code.

scsijon
Posts: 1596
Joined: Thu 24 May 2007, 03:59
Location: the australian mallee
Contact:

#11 Post by scsijon »

But then, most people know about Pascal, but how many realize it was developed for teaching only.

The Non-teaching package was called Modula and then Modula2 and although far superior and infinately extensable and it can even use the same code, it compiles a smaller program, the teaching program was the one that took off.

User avatar
Moose On The Loose
Posts: 965
Joined: Thu 24 Feb 2011, 14:54

#12 Post by Moose On The Loose »

scsijon wrote:But then, most people know about Pascal, but how many realize it was developed for teaching only.

The Non-teaching package was called Modula and then Modula2 and although far superior and infinately extensable and it can even use the same code, it compiles a smaller program, the teaching program was the one that took off.
The Borland version of Pascal had many advantages when it comes to writing programs that are reliable. It is a strongly typed language in the real sense of the word and has run time checking. This means that you had to work at it to walk off the end of an array.

User avatar
minesadorada
Posts: 68
Joined: Sun 11 Sep 2011, 19:10

#13 Post by minesadorada »

Having retired from professional Delphi programming over 10 years now, I am recently a happy user of Lazarus/FPC (for recreation only - retirement in Tenerife definitely makes the brain slow down!)

The Lazarus team have done an amazing job. It's as near as dammit to Delphi 7 before Borland sold out (and it was ruined by the new owners).

I'm currently writing an app that compiles smoothly in Windows 64-bit, Windows 32-bit and Puppy Linux too - without any code modification!

I am in awe of the Lazarus.FPC developers..

I had a go at C and C++ years ago - the standard programmers test 'Hello World' app was ridiculously complicated, so I went to TPW then Delphi to do 'Easy OOP' and never regretted it.

The Delphi/Lazarus IDE debugger is great for lazy programmers like me ;)

jpeps
Posts: 3179
Joined: Sat 31 May 2008, 19:00

#14 Post by jpeps »

minesadorada wrote:
The Lazarus team have done an amazing job. It's as near as dammit to Delphi 7 before Borland sold out (and it was ruined by the new owners).


What happened? Seems like the Borland folks thought it would be positive for future development.

http://delphi.about.com/gi/o.htm?zi=1/X ... feeds.com/

User avatar
minesadorada
Posts: 68
Joined: Sun 11 Sep 2011, 19:10

#15 Post by minesadorada »

jpeps wrote:
minesadorada wrote:
The Lazarus team have done an amazing job. It's as near as dammit to Delphi 7 before Borland sold out (and it was ruined by the new owners).


What happened? Seems like the Borland folks thought it would be positive for future development.

http://delphi.about.com/gi/o.htm?zi=1/X ... feeds.com/
Yes. Embarcadero - the company that gave the world 'RAD Studio'.

jpeps
Posts: 3179
Joined: Sat 31 May 2008, 19:00

#16 Post by jpeps »

minesadorada wrote:
Yes. Embarcadero - the company that gave the world 'RAD Studio'.
Don't know anything about it, but the reviews even in 2010 didn't look horrible

http://windwings.wordpress.com/2009/08/ ... -1-top-10/

BTW/ When using windoz (ugh....years ago), I used J+ builder for all my personal software, and easily re-wrote everything in tcltk when switching over to linux. I think you'd find it very easy (and fun).

Post Reply