Saturday, October 13, 2012

C/++, you're on notice! - Computers, Math, Science, and Technology

Smartalex
Sea Gull
Sea Gull

Joined: Apr 12, 2012
Age: 28
Posts: 249


PostPosted: Sat Oct 13, 2012 4:54 pm?? ?Post subject: C/++, you're on notice! Reply with quote

Grievances with C;

I have to tell you NOT do do something?!? That's stupid. I'm the programmer, I tell you what to do.
"VOID" SETUP or "VOID" LOOP? I'll tell you what C, if I want you to bring me back a value, I, will tell YOU, to bring me back a value. Don't go doing stuff on your own!

INT, integer, really?!? The last time I paid attention to math class was fifth grade. Call it "name" or "address" or anything better than "InTEger". You might as well just write the language in Greek.

C/++, you're on notice!

Back to top
MyFutureSelfnMe
Phoenix
Phoenix

Joined: Feb 27, 2010
Posts: 1219
Location: NYC


PostPosted: Sat Oct 13, 2012 5:22 pm?? ?Post subject: Re: C/++, you're on notice! Reply with quote

Smartalex wrote:
Grievances with C;

I have to tell you NOT do do something?!? That's stupid. I'm the programmer, I tell you what to do.
"VOID" SETUP or "VOID" LOOP? I'll tell you what C, if I want you to bring me back a value, I, will tell YOU, to bring me back a value. Don't go doing stuff on your own!

INT, integer, really?!? The last time I paid attention to math class was fifth grade. Call it "name" or "address" or anything better than "InTEger". You might as well just write the language in Greek.

C/++, you're on notice!

C++ doesn't "do something on its own", the return type is required. "Void" is specific and helps avoid ambiguity.

How is "name" or "address" better than "int"? If "int" is "name" then what is "float"? What is "long"? Addresses are pointers, they are not integers.

It seems to me you have a grievance with C++'s level of control, while complaining about the lack of it.

If you have a problem with integers, go back to math class.

Back to top
Smartalex
Sea Gull
Sea Gull

Joined: Apr 12, 2012
Age: 28
Posts: 249


PostPosted: Sat Oct 13, 2012 5:37 pm?? ?Post subject: Re: C/++, you're on notice! Reply with quote

MyFutureSelfnMe wrote:
Smartalex wrote:
Grievances with C;

I have to tell you NOT do do something?!? That's stupid. I'm the programmer, I tell you what to do.
"VOID" SETUP or "VOID" LOOP? I'll tell you what C, if I want you to bring me back a value, I, will tell YOU, to bring me back a value. Don't go doing stuff on your own!

INT, integer, really?!? The last time I paid attention to math class was fifth grade. Call it "name" or "address" or anything better than "InTEger". You might as well just write the language in Greek.

C/++, you're on notice!

C++ doesn't "do something on its own", the return type is required. "Void" is specific and helps avoid ambiguity.

How is "name" or "address" better than "int"? If "int" is "name" then what is "float"? What is "long"? Addresses are pointers, they are not integers.

It seems to me you have a grievance with C++'s level of control, while complaining about the lack of it.

If you have a problem with integers, go back to math class.

You do realize this is a rather humorour attempt at saying C has some wierd names right?

Back to top
MyFutureSelfnMe
Phoenix
Phoenix

Joined: Feb 27, 2010
Posts: 1219
Location: NYC


PostPosted: Sat Oct 13, 2012 5:39 pm?? ?Post subject: Re: C/++, you're on notice! Reply with quote

Smartalex wrote:
MyFutureSelfnMe wrote:
Smartalex wrote:
Grievances with C;

I have to tell you NOT do do something?!? That's stupid. I'm the programmer, I tell you what to do.
"VOID" SETUP or "VOID" LOOP? I'll tell you what C, if I want you to bring me back a value, I, will tell YOU, to bring me back a value. Don't go doing stuff on your own!

INT, integer, really?!? The last time I paid attention to math class was fifth grade. Call it "name" or "address" or anything better than "InTEger". You might as well just write the language in Greek.

C/++, you're on notice!

C++ doesn't "do something on its own", the return type is required. "Void" is specific and helps avoid ambiguity.

How is "name" or "address" better than "int"? If "int" is "name" then what is "float"? What is "long"? Addresses are pointers, they are not integers.

It seems to me you have a grievance with C++'s level of control, while complaining about the lack of it.

If you have a problem with integers, go back to math class.

You do realize this is a rather humorour attempt at saying C has some wierd names right?

Aspie Humor! Sometimes I get lost...

I don't find C's keywords weird, I think they're brief and to the point

Back to top
Smartalex
Sea Gull
Sea Gull

Joined: Apr 12, 2012
Age: 28
Posts: 249


PostPosted: Sat Oct 13, 2012 6:01 pm?? ?Post subject: Reply with quote

It's not actually C's fault.

Here's my problem, I purchased an arduino for my students, highschool, I'm a student teacher. I want to introduce the students to electronics and the programming process in the hopes that they can build things on their own, and have some ownership and pride. So the arduino uses C for the programs.

I don't really understand c that well but my students are having an even tougher time. The sad thing is, they get the board, the get the pin outs, it's that language that is tripping them up. I was told arduino is for "lay people."

Friday, I came in and I told the students to forget everything I tried to explain to them, "Integer is just a way of 'naming' a pin or a piece of information... And the Arduino's language is stupid, you have to tell it NOT to do something, that's why you write VOID in front of setup or loop, otherwise it's gonna search for some address or value". The kids got it. They started making stuff on their own or adapting projects.

I wish there was a language that was better for lay people, that was written in not percise technical terms that are accurate, but rather are in simple and conventional phrases. The phrases that C has that are more conventional such as SETUP, the kids got that. So it's not really C's, fault, it was designed for another purpose.

Back to top
Smartalex
Sea Gull
Sea Gull

Joined: Apr 12, 2012
Age: 28
Posts: 249


Back to top

Source: http://www.wrongplanet.net/postt212508.html

curacao home run derby kourtney kardashian kourtney kardashian DNS Changer ernest borgnine adrian peterson

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.