Go Down

Topic: Ardunio C++ SUCKS!!!! (Read 10 times) previous topic - next topic

Nick Gammon

#75
Aug 16, 2012, 09:00 am Last Edit: Aug 16, 2012, 09:03 am by Nick Gammon Reason: 1

Why would a device meant to teach microcontroller science use such a complex, under documented language like Ardunio C++?


...


Would that add up to the 700+ pages that the first C++ standard had? (To say nothing of the current 1100+?)


You and the OP better put on boxing gloves and get together in a ring somewhere.

He says it is "under documented" and you say it has 1100+ pages of documentation. You can't both be right.  Maybe neither of you are.
http://www.gammon.com.au/electronics

Nick Gammon

@gooby: What's your point exactly? Do you wish the Arduino had been developed using Basic? Or Lisp? Or Smalltalk? Or Objective C? If so, that's interesting but hardly relevant to anyone.

Do you want to release your own development environment using (say) Objective C? Go ahead, I'm sure people will be interested. You will maybe have to rewrite a whole lot of libraries to do that. It might be a heck of a lot of work. But go ahead if you want to.

Or have you just come here to complain?
http://www.gammon.com.au/electronics

Boffin1

The bottom line is that with no knowledge of any of the things that Gooby is talking about, ( lithp etc ) a 64 year old absolute newbie like me can quickly write extremely satisfying software for all sorts of projects.

Arduino ( using ,as it happens C++ ) worked for me !   and presumably the other newbies amongst the 142512 members of this forum ?
With my mobile phone I can call people and talk to them -  how smart can you get ?

gooby


You and the OP better put on boxing gloves and get together in a ring somewhere.

He says it is "under documented" and you say it has 1100+ pages of documentation. You can't both be right.  Maybe neither of you are.


I don't think Arduino C++ (which is not the same as ISO C++) is under-documented. Regarding my claim about the ISO standard, well that's easy:

http://www.iso.org/iso/catalogue_detail.htm?csnumber=50372

Number of Pages: 1338

Woops, sorry, I low-balled it.

AWOL

Quote
amongst the 142512 members of this forum

By my rough guess, about 70000 of these are bogus, spam accounts.
We're working on 'em.
"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

gooby


@gooby: What's your point exactly? Do you wish the Arduino had been developed using Basic? Or Lisp? Or Smalltalk? Or Objective C? If so, that's interesting but hardly relevant to anyone.


How would it be interesting then, if it's not relevant to anyone?

To me that makes no sense.

Re: Smalltalk: the extreme late-binding most likely makes it unsuitable for microcontrollers ... that I know of.

Or have you just come here to complain?


Not quite complaining. What exists is satisfactory. More pointing out that things could have been better.

GaryP

gooby,

You have much to say, but do you have any constructive decisions in your mind? Or are you just playing with the idea that it SHOULD be better?

Cheers,
Kari
The only law for me; Ohms Law: U=R*I       P=U*I
Note to self: "Damn! Why don't you just fix it!!!"

DuaneB

Quote
More pointing out that things could have been better.


Your obviously not married - you soon see the error in that.

Duane B
Read this
http://rcarduino.blogspot.com/2012/04/servo-problems-with-arduino-part-1.html
then watch this
http://rcarduino.blogspot.com/2012/04/servo-problems-part-2-demonstration.html

Rcarduino.blogspot.com

gooby

#83
Aug 16, 2012, 09:41 am Last Edit: Aug 16, 2012, 09:46 am by gooby Reason: 1

gooby,

You have much to say, but do you have any constructive decisions in your mind?


Why should that matter here? If I were talking like this in the Suggestions forum, it would be an issue, but I'm not.

So it isn't.

My view that C++ is essentially inferior to a number of its alternatives stands.


Quote
More pointing out that things could have been better.


Your obviously not married - you soon see the error in that.

Duane B


The main reason I got into Arduino was to--one day--facilitate entering into an industry where replacing human with microcontroller assistants would cut the drama down to nothing ... and that's very important in this case. Don't think a spouse would necessarily approve of this venture either.

DuaneB

Quote
Why should that matter here? If I were talking like this in the Suggestions forum, it would be an issue, but I'm not.


You are quite right, it is clear enough that this thread and its more recent posts are pure sport.

Sport on gentlemen, just watch the F bombs.

Duane B
Read this
http://rcarduino.blogspot.com/2012/04/servo-problems-with-arduino-part-1.html
then watch this
http://rcarduino.blogspot.com/2012/04/servo-problems-part-2-demonstration.html

Rcarduino.blogspot.com

GoForSmoke

OP; you come in here flaming away on your troll boat and then whine when you get splashed back.. I feel so achy breaky for you.

The Arduino IDE is worth more to me than I paid for the UNO.

Just what other languages are suitable on systems with usually less than 4k ram? I can think of a few and one that's even been done at least twice... Forth. Simple fact is that not all of C/C++ practices are suitable for AVR's. Basic can fit but if Arduino came with Basic I wouldn't have bought the thing.
I wrote a -lot- of Basic long ago for people who HAD to have Basic and compared to C, Basic sucks!

What can I say? Most people will never write code and a lot of the rest have the capability to learn 1 OS and maybe 1 language. To them, everything else is not good for reasons other than the real one.
I find it harder to express logic in English than in Code.
Sometimes an example says more than many times as many words.

funlw65



Are you sure about this? I thought NASA was writing code in the ADA language?
Best regards
Jantje

They are using ADA now.  In the early days they were using HAL/S (and presumably other languages).  One of my previous co-workers used to work at Intermetrics on the HAL/S compiler.  http://en.wikipedia.org/wiki/HAL/S.



Thanks to Tero Koskinen and others, now NASA can program Arduino 8bit boards using ADA language. Hopefully, there will be packages also for the upcoming Fedora19 (which come with avr-gcc-4.7.3 and the included Arduino can compile with that version of gcc)

Ufoguy

I totally disagree with this one. Arduino makes things easy. Without arduino I'd never have gotten into micro-controllers. Arduino C is not really that hard except when it comes to 'pointers'. But you can do without pointers. Learning a new language is some times hard especially if you're used to the old one. It's your choice.

If you like Basic better you can use PICAXE.
If you want to meet a beautiful nurse you must be patient.

GoForSmoke

If you like basic better, you probably deserve PICAXE.
I find it harder to express logic in English than in Code.
Sometimes an example says more than many times as many words.

cjdelphi


I started programming back in the early 1970's with Basic. I am not a great programmer


:smiley-roll-blue:

Go Up