![]() |
Re: Programming Challenges?
Quote:
The main advantage of using var is that unlike VB, it doesn't mean 'Variant' - CSC actually determines the most appropriate type for it based on your code - meaning less error margin. (i.e. say I used an integer then later in the code parsed values of over 2,147,483,648, it would auto assign it to be a double) And I think you're getting your version numbers mixed, .NET 3.0 introduced C# 3.0 and .NET 3.5 is the most current version. Quote:
---------- Post added at 10:46 ---------- Previous post was at 10:44 ---------- Quote:
|
Re: Programming Challenges?
Quote:
|
Re: Programming Challenges?
Quote:
Quote:
BTW remember my post on this before: http://www.cableforum.co.uk/board/34528914-post11.html |
Re: Programming Challenges?
Quote:
|
Re: Programming Challenges?
Keep these coming guys, they're really helping my enthusiasm :)
Have to confess that I'm starting small and just going through the basics with some course materials that I've got to get myself back up to speed - I haven't even tried the challenges that you're posting above :) I'm tempted to suggest a monthly coding challenge, but I'm not sure how we would judge who the winner was (there are so many 'correct' answers to these sorts of things.....answers on a postcard please :) |
Re: Programming Challenges?
Quote:
I mean the following requirements are all important:
|
Re: Programming Challenges?
As I have my code I might as well post it now. I've not beautified or robustified it yet:
Creating the initial random array: Spoiler:
The way I did it at university and how it initially last night: Spoiler:
And my bubble sort: Spoiler:
---------- Post added at 11:13 ---------- Previous post was at 11:08 ---------- Quote:
|
Re: Programming Challenges?
Quote:
|
Re: Programming Challenges?
Quote:
|
Re: Programming Challenges?
Ok, this thread appears to be deviating somewhat from my original intention, but that's cool as I think it's moving in an interesting direction.
With regards to the 'judging' how about if it were up to the person that set the task for that month to decide on the winner? Obviously they wouldn't be able to take part in their own task, but that's not always a bad thing..... A poll would be another good option, peer review is always a good way of telling how well you're doing. Given that a poll can be added to a thread at any time this could be added after a specified time has passed and then people just vote on the submissions (also saves cluttering everything up with loads of threads). Once the voting's over and the winners announced we could then allow alternative solutions, or discussions of the solutions that have been posted. On that note, how would the submissions be handled? If they were posted up as people put them in using the [spoiler][/spoiler] tags then other people could potentially copy the entries. Also, there's the issue of people submitting stuff that isn't actually their work. I like the idea of multiple classes (might give me a chance of winning something :LOL:), but fear it could be complicated to organise and judge. |
Re: Programming Challenges?
Quote:
Submissions could be PM'd to the judge or a neutral member. Multiple classes wouldn't be too hard and we could simply have one experienced developer judge them all, or voting. You're never going to get around the submitting other people's work, but you can however tell if they've entered a beginner contest, they aren't going to be able to push out the same standard as advanced, if we go with that idea. |
Re: Programming Challenges?
We should:
|
Re: Programming Challenges?
TBH this competition thing should only be a bit of fun away. I'd only be interested in doing it casually, if it gets too regimented then it might not be worth it. We can't turn this into Google's Summer Of Code or something.
|
Re: Programming Challenges?
Quote:
|
Re: Programming Challenges?
I've had a bash at the modulus one:
Spoiler:
Speaking of operators, in some OO (Object-Orrientated) languages like C# and Java you can actually overload operators (re-code them to do some different). I had to do this in university once - write a Matrix class (a matrix is like a grid/table of values) including defining the + - * / operations for them. So there's another good educational challenge if someone wants. Don't complain, you're getting a programming degree for free in thread :p: |
All times are GMT +1. The time now is 03:40. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
All Posts and Content are © Cable Forum