Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C Programming > Re: What is better and why?

Reply
Thread Tools

Re: What is better and why?

 
 
Jorgen Grahn
Guest
Posts: n/a
 
      06-09-2013
On Sun, 2013-06-09, Keith Thompson wrote:
> "paskali" <(E-Mail Removed)> writes:
>> 1st:
>>
>> struct person {
>> char *name;
>> char *surname;
>> };

>
> That's my own preference. The type has a name "struct person";
> I don't feel the need to give it another one.


Me too. For the same reason:

> My own opinion is
> that making the fact that it's a struct explicit is a good idea --
> unless it's an opaque type such that code should use it without
> knowing that it's a struct


/Jorgen

--
// Jorgen Grahn <grahn@ Oo o. . .
\X/ snipabacken.se> O o .
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
xmp, what to use instead of. myphplists@yahoo.com HTML 9 04-29-2013 03:35 PM
what is the advantage of using maven for java standalone app mcheung63@gmail.com Java 13 04-16-2013 01:42 AM
What Linux freeware will blur faces & show all frames of a 30second AVI video? Danny D. Digital Photography 8 04-14-2013 10:18 PM
findcontrol("PlaceHolderPrice") why why why why why why why why why why why Mr. SweatyFinger ASP .Net 2 12-02-2006 03:46 PM



Advertisments