473,725 Members | 2,055 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

c# is a good way to learn c


After working in c# for a year, the only conclusion I can come to is
that I wish I knew c.

All I need is Linux, the gnu c compiler and I can do anything.

Web services are just open sockets hooked up to interfaces.

The Gtk is more than enough gui.

Jul 21 '05
354 15877

Hi Tom_Shelton ( and Olaf Baeyens ),

I like low_level coding, not because it's faster ( although it usually is ),
but because it, and only it, does what I want.

I'll write slower code if I think it makes the source code look better.
The look of the souce code is very important to me,
hence I don't use things like String, cout or the STL.

Also, for greater readability, I put the simplest code in the true part,
e.g.:
// Because it's in another timezone,
// subtract one from the_day_of_the_ month ( Day_There ),
// rolling back to the earlier month, if required.

Day_There = Day_There > 1 ? Day_There - 1 : DpM [ M = ! M ? 11 : M - 1 ]

The code above is from:
http://www.Cotse.NET/users/jeffrelf/X.CPP

Re: public int MyProperty {
get { return this.myProperty ; }
set { this.myProperty = value; } }

get()s and set()s in classes like that are too ugly to live... too nested.

Jul 21 '05 #61

Hi Olaf_Baeyens ( and Peter_Kohlmann, Bailo ),

You asked: << Odd, why would somone name a screen saver with my name in it
and send as an attachment it to this newsgroup ? >>

Pete started his post with: << begin virus.scr Olaf Baeyens wrote: >>
I he does that because of his brain tumor, I believe.

Also, Pete, as a demo of Linux's Knode in action,
redirected your post to parts unknown... again, I blame it on his tumor.

You asked: << How odd that a lot of people claming that C is the top
and linux is the top tend to use fake names in the posts ?
And that people that are more realistic
actually are more brave to user their real names. >>

Jeff_Relf is my given name, I was born in Seattle at the start of 1960.
Bailo, a.k.a. Chinese_Pope, is a rapid nymshifter in Comp.OS.Linux.A dvocacy .

C# might well be the best language for certain things,
just not the things that do.

Jul 21 '05 #62

Hi Michael_Gray, Ya writ: << Real men program in machine code
through binary toggle switches on front panels. C is for wimps. >>

No, Real men design and forge their own CPUs, using ores dug out by hand.

Jul 21 '05 #63
> You asked: << Odd, why would somone name a screen saver with my name in
it
and send as an attachment it to this newsgroup ? >>

Pete started his post with: << begin virus.scr Olaf Baeyens wrote: >>
I he does that because of his brain tumor, I believe.
Odd that the "virus.scr Olaf Baeyens wrote" part ended up as an attachment
in Outlook express.
And who is JBailo???

But the real message would have looked like this I assume:

--------------begin virus.scr Olaf Baeyens wrote:
First you're all like low-level and stuff, and then you subscribe to a
garbage language like c++

c is the answer and it always will be.

c/unix/linux is the lingua franca of the whole world.


How odd that a lot of people claming that C is the top and linux is the
top tend to use fake names in the posts?
And that people that are more realistic actually are more brave to user
their real names.


How come that you think that JBailo is actually a linux user?

Jul 21 '05 #64
begin virus.scr Olaf Baeyens wrote:
You asked: << Odd, why would somone name a screen saver with my name in it
and send as an attachment it to this newsgroup ? >>

Pete started his post with: << begin virus.scr Olaf Baeyens wrote: >>
I he does that because of his brain tumor, I believe.

Odd that the "virus.scr Olaf Baeyens wrote" part ended up as an attachment
in Outlook express.


What do you think is odd about that? After all OE is a POS, a steaming one
at hat
And who is JBailo???


A retard. Posts under dozens of different names, to escape killfiles
He is no linux user, although he often pretends to be one. That only fools
widiots

< snip >

end
--
begin untitled1.pif
Hi. I'm a real nasty virus. Download me
end

Jul 21 '05 #65
"Jeff_Relf" <Me@Privacy.NET > wrote in message
news:Je******** *************** @Cotse.NET...

Hi Tom_Shelton ( and Linønut ),

What do you do if there's a bug, or something You think is bug,
in C#'s high_level routines ? What if they just don't do what you want ?
Report it as a bug and/or write your own high-level routine using low-level
C# (i.e. unsafe code/interop/pinvoke) just like you would in any programming
language.
C#'s high level routines are compromises, where people say:
A-a-aw, hell, it's good enough, I'll just go with it.
Really? Which of the developers of those libraries told you that?
If you want the best code, if you want code that can stand the test of
time,
you need MS C++ 7.1 ( which is, de facto, the latest C from Microsoft ).
The "best" code? I thought the quality of code was independent of the
language. I can write better code in VB.NET than many people can in C++. The
best language for the job depends on the job, and frankly I've written
business systems in many languages, and I've found C# to be more than
adequate for the job, and it gives me more productivity than C++.
Besides, it's not like MS_C has no libraries to draw on,
e.g. no Direct_Draw_7, or no COM.

If you're not picky, or you just don't have the experience under your
belt,
you can go with C#, Java... or even HTML, for that matter.


Please, do you really believe that the more experienced you are the more you
tie yourself to one solution? Are you trying to assert that C# developers by
definition have less experience than C++ developers? Keep in mind that many
C# developers come from a C++ background. I'd say that having a "religious"
devotion to one programming language is the surest sign of a developers
immaturity, not which language they happen to use.
Jul 21 '05 #66
"Jeff_Relf" <Me@Privacy.NET > wrote in message
news:Je******** *************** @Cotse.NET...

Hi Tom_Shelton ( and Olaf Baeyens ),

I like low_level coding, not because it's faster ( although it usually
is ),
but because it, and only it, does what I want.
So, if you want to draw a rectangle to the screen, you directly manipulate
the screen buffer I take it?
I'll write slower code if I think it makes the source code look better.
The look of the souce code is very important to me,
hence I don't use things like String, cout or the STL.
Good one. Haven't laughed that hard for a while. If someone told me some
drek like that in an interview, it'd be sayonara baby, call me when you're
mature enough to actually solve the problems that confront our customers at
a reasonable price.
Also, for greater readability, I put the simplest code in the true part,
e.g.:
// Because it's in another timezone,
// subtract one from the_day_of_the_ month ( Day_There ),
// rolling back to the earlier month, if required.

Day_There = Day_There > 1 ? Day_There - 1 : DpM [ M = ! M ? 11 : M - 1 ]

The code above is from:
http://www.Cotse.NET/users/jeffrelf/X.CPP
Why didn't you include your:
#define LOOP while ( 1 )
#define Loop( N ) int J = - 1, LLL = N ; while ( ++ J < LLL )
#define LoopXx( Xx ) Xx##P P = 0 ; int J = -1 ; \
Xx##A BB = Xx.BB, EE = Xx.PP + 1, PP = BB - 1 ; \
if ( BB ) while ( ++ J, P = * ++ PP, PP < EE )

or any other of the staggeringly bad C++ code in your example. Frankly, the
only time I've ever seen worse C coding is in the Obfuscated C contests, and
they're trying to write bad code, not proclaiming it as good code. One of my
developers writes uncommented spaghetti crap like that and I'd fire them on
the spot.
Re: public int MyProperty {
get { return this.myProperty ; }
set { this.myProperty = value; } }

get()s and set()s in classes like that are too ugly to live... too nested.

Jul 21 '05 #67
"Montrose.. ." <ro***@trower.r ocks> wrote in message
news:42******** ******@trower.r ocks...
Given that it was recently shown that only 25 percent of corporations
installed SP2 for XP what makes you think everyone's in a rush to install
.NET?


Most people couldn't care less to be honest. They buy a CD or a solution and
they install it. They generally don't give a damn whether it's .NET or not.
Jul 21 '05 #68
begin virus.scr Sean Hederman wrote:
"Jeff_Relf" <Me@Privacy.NET > wrote in message
news:Je******** *************** @Cotse.NET...

Hi Tom_Shelton ( and Olaf Baeyens ),

I like low_level coding, not because it's faster ( although it usually
is ),
but because it, and only it, does what I want.


So, if you want to draw a rectangle to the screen, you directly manipulate
the screen buffer I take it?


Why do you think that any "discussion " with this Relf cretin should be on
topic in a linux group? That idiot has less knowledge how to code than a
demented cow of nuclear energy. And he is a windows user, with absolutely
no linux knowledge.
So, get lost

< snip Relf garbage >
Jul 21 '05 #69
> Please, do you really believe that the more experienced you are the more
you
tie yourself to one solution? Are you trying to assert that C# developers by definition have less experience than C++ developers? Keep in mind that many C# developers come from a C++ background. I'd say that having a "religious" devotion to one programming language is the surest sign of a developers
immaturity, not which language they happen to use.

A good developer will adapt to what he has available.
A good developer will probably mix different technologies and languages in
order get the project done.
A good developer will probably try newer technologies and OS'es in order to
understand what is good or not.
A good developer does not live in the past when everything was better, but
evolves to what user wants.

Any other stuff I have forgotten?

PS: Personaly I would program in Assembler, because that would prove my real
skill and I love doing it, but sadly enought we live in a world where skill
is not that important but what you produce in a resonable interval that is
competitive. So my second choice is C#.
Jul 21 '05 #70

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
5283
by: tada991 | last post by:
Hello Everyone, I just purchased Visual Studio .Net Architect 2003 and want to know what's a good book for begginers to start with. I know nothing about programming whatsoever, but I do have a desire to learn- as obvious with this purchase. So please let me know where I can start and thanks. Also, what newsgroup should I post my queries to?
29
3023
by: RAY | last post by:
Hi , my boss has asked I sit in on an interview this afternoon and that I create some interview questions on the person's experience. What is C++ used for and why would a company benefit from someone who could use it? I would like you guys/and gals to give me some good questions & the correct answers so I can give this person a good review for my boss.
22
4081
by: Ramzy Darwish | last post by:
Hello, I have a Bachelors in CS and a Masters in Comp. Graphics. In all of my schoolwork, I used C and C++ and thought that I had a pretty good understanding of the language(s). But now, as I really am trying to find work as a C/C++ programmer, I am having trouble on programming interview tests when they start asking about low-level C stuff dealing with memory and binary numbers. Recently, I took a test for a SE position at Intel, which I...
11
2365
by: Sam | last post by:
Hi All I don't know anything about C# and I'm planning to learn the language. Does anyone know any good book out there that explains things well? Any suggestion is greatly appreciated Regards, Sam
59
5010
by: Alan Silver | last post by:
Hello, This is NOT a troll, it's a genuine question. Please read right through to see why. I have been using Vusual Basic and Classic ASP for some years, and have now started looking at ASP.NET. At first glance, it looks excellent, albeit nothing that couldn't have been done to Classic ASP. I have been through a few tutorials and was impressed with how quickly you can get database info onto a page.
269
1650
by: Montrose... | last post by:
After working in c# for a year, the only conclusion I can come to is that I wish I knew c. All I need is Linux, the gnu c compiler and I can do anything. Web services are just open sockets hooked up to interfaces. The Gtk is more than enough gui.
15
2613
by: Alex L Pavluck | last post by:
I am new to programming other than SAS. I read that C# is a good starting language and I have started to create some simple programs with C# 2005 express edition. Can someone let me know if this is indeed a good learning language and also suggest a good learning text. Thanks, Alex
6
2064
by: Jamiil | last post by:
I am not a programmer by any means, but a dedicated aficionado. I have good understanding of Java and C/C++, and now I would like to learn javascript->ajax, but I don't know where to start. My HTML knowledge is basic, however, with a little bit of an effort I can program a small page. Can anyone recommend a good beginner's book on JavaScript? Please, bear in mind that it is my intention to learn to program server and client side, thus the...
5
1598
by: vinnie | last post by:
i wish to start programming with OOP, but i have no experience: can anyone tell me what book should i buy to learn it? I have a good knowledge of programming, but absolutely zero of OOP. Also, working hard, how long do you think it may need to have a good understanding of it, so i can start programming in that direction? Thanks a lot.
0
8886
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9401
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9255
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9168
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8090
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6701
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4509
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
2632
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2154
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.