LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-14-2002, 02:38 AM   #1
udayan
Member
 
Registered: Apr 2002
Location: India
Distribution: Linux Redhat 7.0
Posts: 62

Rep: Reputation: 15
Smile Views on Linux programming!!


I have started reading "Linux Kernel Internals" by M.Beck, where in he says --
In linux we have used the following stuff --
a)Magic numbers instead of Constant declarations in header files
b) Inline expanded functions instead of function calls
c) goto functions instead of break
d) assembler instructions instead of C code

These are features of unstructured programming in C. But why should these features of unstructured programming be included in Kernel programming..

But later on he says that kernel is structured remarkabally well.. Now this i feel as a contradiction.

Ne view points !!

 
Old 10-14-2002, 05:29 PM   #2
jetblackz
Member
 
Registered: Mar 2002
Location: Debian Galaxy
Distribution: Debian
Posts: 711

Rep: Reputation: 30
if ("have used" != "have been using")
{
cout << "What he may mean is 'we' have used the following." << endl;
}

if ("structured remarkabally well" != "structured 'programmatically' well")
{
cout << "What he may mean is the kernel is structured well" << endl;
cout << "but not necessarily, programmtically well." << endl;
}

cout << "Without reading the entire page, I can't be sure what he means.";
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
threads with 0 views rusty_slacker LQ Suggestions & Feedback 7 11-14-2004 05:22 PM
Cloning : Your Views SevenForever General 39 04-19-2004 07:10 PM
dynamic network views bartgymnast Linux - Networking 4 02-20-2003 11:04 PM
0 views and 1 reply?!?! aizkorri LQ Suggestions & Feedback 1 12-20-2002 07:10 AM
your views? gui10 Linux - General 1 01-26-2002 04:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration