Resend my activation email : Register : Log in 
BCF: Bike Chat Forums


Any c# guys here?

Reply to topic
Bike Chat Forums Index -> The Geek Zone
View previous topic : View next topic  
Author Message

cimbian
World Chat Champion



Joined: 27 Sep 2012
Karma :

PostPosted: 15:56 - 09 Jan 2013    Post subject: Any c# guys here? Reply with quote

Many years ago I used to write in C to .exe in Microsoft C and in Turbo C as well as in an interpreted ANSI C system programming environment and was comfortable with this but that was back in the early 90s.

I'm now trying to develop a Windows program using C# in VS2010.

Several key problems:

1. Slow brain... Now 52.
2. Long time ago
3. Don't really like modern IDEs
4. Understand the concepts of OO but not the application of OO (much of it seems so bloody unnecessary)
5. Don't know enough about the differences between ANSI C and C#
6. Bought "C# 4.0 The Complete Reference" by Herbert Schildt and leaning on that, though it should be "C# 4.0 The Incomplete Reference".

I was going to write it in VBA within Excel but that was truly horrible!

The program is basically to be a fancy parser that produces a neutral output of data in csv, xls etc.

Application configs are probably going to be in XML as are the parser rule-sets (defined by the user within the application).

Now the question. Is there anyone in my local[ish] area that would like to do some tuition/mentoring for a fee? I'm in Bognor Regis.

Steve.
____________________
22PlusY
Current: Moto Guzzi 1100 Breva. Previous: Honda XL650V TransAlp
Bearded, Balding, Born again Buddhist Biker
 Back to top
View user's profile Send private message Visit poster's website You must be logged in to rate posts

Rogerborg
nimbA



Joined: 26 Oct 2010
Karma :

PostPosted: 18:22 - 09 Jan 2013    Post subject: Reply with quote

Do you need a swooshy GUI, or are you just number crunching?

If the latter, I'd suggest having a look at Perl. It just gets stuff done.

If you're married to the idea of using C# then you'd be as well blagging someone else's source and modifying it as necessary.
____________________
Biking is 1/20th as dangerous as horse riding.
GONE: HN125-8, LF-250B, GPz 305, GPZ 500S, Burgman 400 // RIDING: F650GS (800 twin), Royal Enfield Bullet Electra 500 AVL, Ninja 250R because racebike
 Back to top
View user's profile Send private message You must be logged in to rate posts

cimbian
World Chat Champion



Joined: 27 Sep 2012
Karma :

PostPosted: 18:28 - 09 Jan 2013    Post subject: Reply with quote

It relies on user input in a datagridaray so the user can mouse-over similar to using a highlighter pen.

It crunches data as the user mouses over (well just after in real terms).

If it was just crunching data it'd be fine as I would use C and be a very happy bunny. Smile
____________________
22PlusY
Current: Moto Guzzi 1100 Breva. Previous: Honda XL650V TransAlp
Bearded, Balding, Born again Buddhist Biker
 Back to top
View user's profile Send private message Visit poster's website You must be logged in to rate posts

daemonoid
World Chat Champion



Joined: 27 Jun 2008
Karma :

PostPosted: 23:46 - 09 Jan 2013    Post subject: Re: Any c# guys here? Reply with quote

cimbian wrote:
1. Slow brain... Now 52.
2. Long time ago
3. Don't really like modern IDEs
4. Understand the concepts of OO but not the application of OO (much of it seems so bloody unnecessary)
5. Don't know enough about the differences between ANSI C and C#
6. Bought "C# 4.0 The Complete Reference" by Herbert Schildt and leaning on that, though it should be "C# 4.0 The Incomplete Reference".


1. Nonsense - my principle engineer is a similar age and he is the most productive member of my team.
2. A time a way may be your biggest hurdle, but it'll all come flooding back when you get down to it.
3. At least start with a better attitude! Visual Studio will make it so much easier for you once you really start using it. I started at programming at a prompt and have moved through all kinds of editors. Visual Studio is by far the most productive and simplest to use, but you do need to make a bit of effort to try to get along with it to start with.
4. Understanding the concepts is good. OO solves a lot of problems in simple ways that non OO languages cannot, but its real strength is in maintainability and collaboration. It's why so many bedroom programmers do not appreciate it - they work on a project alone and never revisit it.
5. You don't need to. Visual Studio will help you through anything and the c# samples online are extensive.
6. If you can already program a little I'd stay away from a tome like that. Pick a few small tasks and just do them, solving problems is much better than try to slog through something like that. One of my interview questions is to get people to make a countdown (the tv show) solver given a dictionary in a text file. I get them to discuss how they'd solve it including best practice datatypes and the likely classes - I'd suggest trying something like that as it has a reasonably high theoretical difficulty but fairly low practical difficulty (so is easy to implement).

Unfortunately I'm in Luxembourg otherwise I'd've tried to help in person. Have you tried coursera?
I would say that if you do remember functional programming then it probably is worthwhile just diving in and doing a few little projects rather than trying to learn from someone.
____________________
current: ducati monster 750
past: hyosung gt250r, bajaj pulsar 180, hyosung gt 125 comet
@thomasgarrard | www.straitjkt.com | www.racingseven.com
 Back to top
View user's profile Send private message Send e-mail Visit poster's website You must be logged in to rate posts

Frost
World Chat Champion



Joined: 26 May 2004
Karma :

PostPosted: 00:09 - 10 Jan 2013    Post subject: Reply with quote

If you know ANSI C then use that. Does the parser need to have a GUI or can you just write a C script then launch that via an icon?

Python is a scripting language that's easy to learn, is designed for the web so CSV's and parsers are easy to get / make, it's easily installed on windows.
 Back to top
View user's profile Send private message Send e-mail You must be logged in to rate posts

cimbian
World Chat Champion



Joined: 27 Sep 2012
Karma :

PostPosted: 09:33 - 10 Jan 2013    Post subject: Reply with quote

Thanks for the replies.

Frost:
Yes it is highly dependent on the UI.

Daemonoid:
I guess I was just laying -out the obstacles as I see them. I am actually a positive person but do find modern IDEs very confusing. In the past 90% of my work would have been in functional programming with very little UI.

I looked at many different routes for this application but recognised that I need to get myself up to speed with current methods and tools.

The long gap is probably my biggest hurdle as it is not the leap that is the problem it is the letting-go. Much of the resource I have found is about learning from scratch rather than converting or 'upgrading'.

I hadn't tried coursera though have just had a look at it. I have used Stackoverflow and msdn but these are really about getting a specific answer to a specific question and I am conscious of not trying to get my code free of charge.

Again, thanks for your time. Smile
____________________
22PlusY
Current: Moto Guzzi 1100 Breva. Previous: Honda XL650V TransAlp
Bearded, Balding, Born again Buddhist Biker
 Back to top
View user's profile Send private message Visit poster's website You must be logged in to rate posts

daemonoid
World Chat Champion



Joined: 27 Jun 2008
Karma :

PostPosted: 12:51 - 10 Jan 2013    Post subject: Reply with quote

cimbian wrote:
I hadn't tried coursera though have just had a look at it. I have used Stackoverflow and msdn but these are really about getting a specific answer to a specific question and I am conscious of not trying to get my code free of charge.

Again, thanks for your time. Smile


Don't worry about getting your code free of charge! That is what all good programmers do - finding/using a well tested module with the correct license is much better than writing it from scratch from a debug as well as time perspective. Also take a look at codeplex - many of the things you want to write are there in a basic project and you just have to extend for your own purposes.

If you have any specific questions then do feel free to PM me.

Just another bit about C#...
I started using it as a contractor, I was a C++ programmer but found a hefty piece of sample code that would've taken me weeks to convert was available. It pretty much halved my development time for one of my customers which made me look good and saved them money so I decided to go the C# route.
Since then I've seen the massive productivity gains of the language and the IDE. Things that take weeks to write in C++ take days in C# and the debugging takes even less time - garbage collection and the lack of pointers (unless you really need them) takes so much of the pain away. My team is far more productive in C# than it could ever be in C++.
The IDE makes learning so easy too - but you have to embrace certain things like autocomplete rather than fighting against them.

Another couple of tips:
Learn and use the 'using' and .dispose keywords (appropriate for Idisposable objects).
Learn to write code first and then clean up - say you want a new function... just type it out where you're going to use it and then hover the mouse over the new function and a little blue bar appears, click on this and it will give you the option to create the function rather than typing it out yourself.
This mouseover on anything that is underlined is incredibly powerful - it can automatically add most of the header files and many other automagical effects.

Sorry, this post is a bit hotchpotch - I've been doing lots of things in between adding a few lines.
____________________
current: ducati monster 750
past: hyosung gt250r, bajaj pulsar 180, hyosung gt 125 comet
@thomasgarrard | www.straitjkt.com | www.racingseven.com
 Back to top
View user's profile Send private message Send e-mail Visit poster's website You must be logged in to rate posts

cimbian
World Chat Champion



Joined: 27 Sep 2012
Karma :

PostPosted: 12:56 - 10 Jan 2013    Post subject: Reply with quote

Thanks daemonoid. Thumbs Up
____________________
22PlusY
Current: Moto Guzzi 1100 Breva. Previous: Honda XL650V TransAlp
Bearded, Balding, Born again Buddhist Biker
 Back to top
View user's profile Send private message Visit poster's website You must be logged in to rate posts

Tarmacsurfer
World Chat Champion



Joined: 29 Jun 2004
Karma :

PostPosted: 13:08 - 10 Jan 2013    Post subject: Reply with quote

daemonoid wrote:
Sorry, this post is a bit hotchpotch


That's what you get for relying on autocomplete Tut Tut

Wink
____________________
I'm immortal. Well, so far.
 Back to top
View user's profile Send private message You must be logged in to rate posts

supZ
World Chat Champion



Joined: 03 Feb 2009
Karma :

PostPosted: 15:37 - 10 Jan 2013    Post subject: Reply with quote

daemonoid wrote:
cimbian wrote:
I hadn't tried coursera though have just had a look at it. I have used Stackoverflow and msdn but these are really about getting a specific answer to a specific question and I am conscious of not trying to get my code free of charge.

Again, thanks for your time. Smile


Don't worry about getting your code free of charge! That is what all good programmers do


indeed, to be fair the .net framework is just one big source of scripts other people have written. wouldnt worry about getting scripts/tools off the net, especially if it solves your problem in a fraction of the time.
____________________
CBR954RR - Daily toy
CBR600RR - Trackbike
 Back to top
View user's profile Send private message You must be logged in to rate posts
Old Thread Alert!

The last post was made 13 years, 287 days ago. Instead of replying here, would creating a new thread be more useful?
  Display posts from previous:   
This page may contain affiliate links, which means we may earn a small commission if a visitor clicks through and makes a purchase. By clicking on an affiliate link, you accept that third-party cookies will be set.

Post new topic   Reply to topic    Bike Chat Forums Index -> The Geek Zone All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Read the Terms of Use! - Powered by phpBB © phpBB Group
 

Debug Mode: ON - Server: birks (www) - Page Generation Time: 0.16 Sec - Server Load: 0.45 - MySQL Queries: 13 - Page Size: 73.96 Kb