Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Generic User Avatar

Are Coding competitions good?


  • Please log in to reply
3 replies to this topic

#1 PWRbuster

PWRbuster

  •  Avatar image
  • Members
  • 9 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Helsinki, Finland
  • Local time:12:09 AM

Posted 09 May 2024 - 09:14 AM

As the title states, are coding competitions good/effective to learn proper learning skills?



BC AdBot (Login to Remove)

 


#2 xBlueRobot

xBlueRobot

  •  Avatar image
  • BSOD Kernel Dump Expert
  • 416 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:06:09 AM

Posted 10 May 2024 - 05:57 AM

It depends on the objective of the competition, I wouldn't say that code golf challenges are particularly useful for programming "real" applications for instance.

 

Your question is quite open-ended and depends on the context, but I assume you're referring to writing good quality code which is what really matters in the long-term. I wouldn't be too concerned about language features or frameworks as these change over time and any good development manager won't really mind too much; a good programming interview will look at how you approach a problem and how you structure your code.

 

Here's some general tips:

  • Keep your source code files succinct i.e. don't have files which are 3000+ lines long
  • Since you're learning Java and OOP, then I would generally have a source file per a class/interface
  • Keep your methods/functions purposeful with a name which clearly shows what they do
  • Don't pass too many arguments to a single function, I try to keep at 5 or less
  • Follow the KISS, DRY and SOLID principles which will usually mean using generics and templates when appropriate
  • Follow the programming language style conventions where possible
  • Write for readability over performance at first, refactoring can always be done later after benchmarking your code


#3 Dominique1

Dominique1

    Bleepin Funny


  •  Avatar image
  • Members
  • 1,027 posts
  • OFFLINE
  •  
  • Gender:Not Telling
  • Local time:12:09 AM

Posted 10 May 2024 - 02:22 PM

I would say that the teacher's grades are more effective than competitions.  Obviously, if the competitors don't share their code, there is nothing for you to learn from.



#4 GhostWarrior59

GhostWarrior59

  •  Avatar image
  • Members
  • 9 posts
  • OFFLINE
  •  
  • Local time:01:09 AM

Posted 20 May 2024 - 09:58 AM

If you wanna test your skills compared to others then yes,

Depending on the competition and if you connect with other contestants and they're willing to share their way of coding then it a huge boost to your knowledge if you find the right people.

 

It al boils down to how you are aproching the contest, to learn? to win? to network?






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users