background preloader

Practice-It!, a web-based Java practice problem tool for computer science students

Practice-It!, a web-based Java practice problem tool for computer science students

Top 10 Things That Annoy Programmers | Kevin William Pang 10. Comments explaining “what”, but not “why” Introductory-level programming courses teach students to comment early and often. Do you have any idea what the code above does? Me neither. The problem is that while there are plenty of comments describing what the code is doing, there are none describing why it’s doing it. Much better! Write comments to help readers understand the code, not the syntax. 9. In general, programmers tend to be more akin to locomotives than ferraris; it may take us awhile to get started, but once we hit our stride we can get an impressive amount of work done. 8. Wikipedia defines scope creep as “uncontrolled changes in a project’s scope”. Version 1: Show a map of the locationVersion 2: Show a 3D map of the locationVersion 3: Show a 3D map of the location that the user can fly through 7. Management is not an easy job. 6. It’s not hard to see that this is something programmers dread doing. 5. I never said that we weren’t hypocrites. 4. 3. “The website is broken”.

10 Programming Proverbs Every Developer Should Know | Kevin William Pang Proverbs are used to express universal truths or life lessons in a short and memorable fashion. I find that they are a great way to keep things in perspective, both in life and in work. Because of this, I have assembled 10 programming proverbs that every developer needs in their arsenal. 1. Relax. Poorly designed code tends to manifest itself through some common tell-tale signs. Giant classes and/or functionsLarge blocks of commented out codeDuplicated logicDeeply nested if/else blocks Developers often refer to these as code smells, but personally, I think the term "code smoke" or "code fumes" is more appropriate as it implies a higher sense of urgency. 2. Ok, I'm convinced Toyota's assembly line of the 1980s was famously efficient due to its revolutionary approach towards defect prevention. Developers often make the faulty assumption that productivity = cranking out code quickly. 3. In other words, what happens if you suddenly lost a key member of your team? 4. 5. Sound familiar? 6. 7.

Java programming test, hands-on skills - BetterProgrammer.com Programming Interview Questions So you want to know what they are going to ask? Or maybe you are looking for questions to ask? Here are some programming questions or puzzles often asked in programming interviews. Popular topics are: 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. Algorithms Interview Questions Can you discuss the characteristics of different sort algorithms such as bubble sort, heap sort, merge sort, quick sort, hash sort? Speed up your job search. C Style Strings: Find a substring inside a string. Arrays How do you declare and allocate 2-D and 3-D arrays in C? Data Structures Interview Questions What is Linked List (single, double), tree, que, stack, map, hashtable? Object Oriented Programming Interview Questions What is Inheritance, Encapsulation, Polymorphism? Multi-Threading Interview Questions How is multi-threading beneficial? Another question: In a multi-threaded system, assume that there is 1 writer that modifies the contents of an integer array. c++;write();c++; Assume that c++; is an atomic operation. Miscellaneous

Related: