Pages: 1 ... 4 5 [6] 7   Go Down
Author Topic: Ardunio C++ SUCKS!!!!  (Read 9317 times)
0 Members and 1 Guest are viewing this topic.
Global Moderator
Offline Offline
Brattain Member
*****
Karma: 484
Posts: 18764
Lua rocks!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
« Last Edit: August 16, 2012, 02:03:04 am by Nick Gammon » Logged


Global Moderator
Offline Offline
Brattain Member
*****
Karma: 484
Posts: 18764
Lua rocks!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

@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?
Logged


Cape Town South Africa
Offline Offline
Edison Member
*
Karma: 19
Posts: 1217
A newbie with loads of posts, and still so much to learn !
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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 ?
Logged

With my mobile phone I can call people and talk to them -  how smart can you get ?

Offline Offline
Newbie
*
Karma: 0
Posts: 26
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 302
Posts: 26273
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

"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.

Offline Offline
Newbie
*
Karma: 0
Posts: 26
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

@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.
Logged

Espoo, Finland
Offline Offline
God Member
*****
Karma: 7
Posts: 586
"Oops, try again..."
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged


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

Dubai, UAE
Offline Offline
Edison Member
*
Karma: 22
Posts: 1675
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
More pointing out that things could have been better.

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

Duane B
Logged


Offline Offline
Newbie
*
Karma: 0
Posts: 26
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
« Last Edit: August 16, 2012, 02:46:28 am by gooby » Logged

Dubai, UAE
Offline Offline
Edison Member
*
Karma: 22
Posts: 1675
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged


Pittsburgh, PA, USA
Offline Offline
Faraday Member
**
Karma: 98
Posts: 4807
I learn a bit every time I visit the forum.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

I find it harder to express logic in English than in Code.
Sometimes an example says more than many times as many words.

Pistestii din Deal
Offline Offline
Newbie
*
Karma: 0
Posts: 36
Arduino project collection rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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)
Logged

Offline Offline
Full Member
***
Karma: 2
Posts: 181
So, you want to make something, huh?
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

If you want to meet a beautiful nurse you must be patient.

Pittsburgh, PA, USA
Offline Offline
Faraday Member
**
Karma: 98
Posts: 4807
I learn a bit every time I visit the forum.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

If you like basic better, you probably deserve PICAXE.
Logged

I find it harder to express logic in English than in Code.
Sometimes an example says more than many times as many words.

Offline Offline
Edison Member
*
Karma: 29
Posts: 2449
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

 smiley-roll-blue
Logged

Pages: 1 ... 4 5 [6] 7   Go Up
Jump to: