Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Stuff that every programmer should know but isn't necessarily in the school books

Stuff that every programmer should know but isn't necessarily in the school books

Scheduled Pinned Locked Moved The Lounge
collaborationtoolshelpquestionlearning
65 Posts 29 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Ed Poore

    Only very badly written ones...


    I doubt it. If it isn't intuitive then we need to fix it. - Chris Maunder

    D Offline
    D Offline
    Dan Neely
    wrote on last edited by
    #20

    Which is to say, most of them...

    It is a truth universally acknowledged that a zombie in possession of brains must be in want of more brains. -- Pride and Prejudice and Zombies

    1 Reply Last reply
    0
    • C Chris Losinger

      - in fifteen years, the only programmers in the West will be academics and hobbyists.

      image processing toolkits | batch image processing

      C Offline
      C Offline
      Cedric Moonen
      wrote on last edited by
      #21

      And the software industry will collapse because of horrible code quality :)

      Cédric Moonen Software developer
      Charting control [v2.0] OpenGL game tutorial in C++

      M 1 Reply Last reply
      0
      • D dabs

        Hi all, I will be teaching an introductory course for students studying computer science this fall, and I was thinking that it might be a good idea to spend a little time teaching them about all kinds of stuff that they will probably not read in their books, but are nonetheless useful (and sometimes useless) information for all programmers. Stuff like: - shortcuts, both obvious and not-so-obvious (such as Windows+E to start Windows Explorer, Ctrl+PageUp to switch between tabs in Excel/Chrome etc.) - command line commands, maybe the 10 most commonly used (both on Windows and Unix) - tools they should know exist, both tools that are already installed on their computers (Task Manager, Event Viewer etc.) and others they can download (WinRar, Firebug etc.) - tricks that might come in handy at times (you can use Ctrl+C to copy error messages to the clipboard when a messagebox appears, instead of rebooting when you install Subversion you can just kill Explorer etc.) What would you add to this list? Regards, Daniel


        Wenn ist das Nunstück git und Slotermeyer? Ja! Beierhund das oder die Flipperwaldt gersput!

        B Offline
        B Offline
        benjymous
        wrote on last edited by
        #22

        How to use a debugger - it's amazing how many new grads have never debugged anything before, and seem amazed when you tell them that using prints and messageboxes isn't the best way

        Help me! I'm turning into a grapefruit! Buzzwords!

        R D C D 4 Replies Last reply
        0
        • E Ennis Ray Lynch Jr

          What does computer science and windows short-cuts have in common? I think that material is better left to an introduction to computers or business software lay course. If I walked into a C.S. course and the first day the prof. went over such things I would drop the course or switch professors. (Or go to the Department Head and yell).

          Need custom software developed? I do C# development and consulting all over the United States. A man said to the universe: "Sir I exist!" "However," replied the universe, "The fact has not created in me A sense of obligation." --Stephen Crane

          Y Offline
          Y Offline
          Yusuf
          wrote on last edited by
          #23

          I second Ennis's post. You are there to teach programming not intro to computers. By all means gather all the material and create a course website. On the first day of the class, tell them about your *extra* course material and *freebies* and let them dig it out from your website. No need to print any paper. I took several classes with a particular professor. I like her because she digs out a lot of relevant material about the course and posts links in the her "course website". Then in the beginning of the class, she reminds the students with a single statement about the material in the website never to mention it again. The best part sometimes when someone asks her she points them to her website. :thumbsup::thumbsup:

          Yusuf May I help you?

          D 1 Reply Last reply
          0
          • D Dario Solera

            dabs wrote:

            instead of rebooting when you install Subversion you can just kill Explorer

            :omg: :omg: No no no. It screws most applications that have an icon in the tray area.

            If you truly believe you need to pick a mobile phone that "says something" about your personality, don't bother. You don't have a personality. A mental illness, maybe - but not a personality. - Charlie Brooker My Photos/CP Flickr Group - ScrewTurn Wiki

            J Offline
            J Offline
            jeffwask
            wrote on last edited by
            #24

            Would you tear the shell off a Turtle? Poor little turtle... How do you think Windows feels when you rip it's shell right out from under it? Not really a great idea just to save a minute on a reboot...go get a coffee.

            B D 2 Replies Last reply
            0
            • R realJSOP

              I think you can assume a certain level of computer skills if someone is in a CS class.

              "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
              -----
              "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

              J Offline
              J Offline
              jeffwask
              wrote on last edited by
              #25

              When you assume you make an *** out of you and me. But seriously I think you can assume they now how to Tweet, to Facebook, to AIM , to Limewire, and a few others but why should you assume they actually know how to use a computer. Coming out of High School... it's not like back in they day when to get your computer to work you had to constantly juggle settings in the autoexec.bat and config.sys. Even if they do know the basics, I can't tell you how many competent computer users I have surprised by using Windows-R, Window-E, or Window-M. We all have tips and tricks that we have picked up and assume everyone knows but... Devoting a couple hours to basics and tips in an introductory course is a good thing.

              modified on Friday, June 26, 2009 9:53 AM

              1 Reply Last reply
              0
              • D dabs

                Hi all, I will be teaching an introductory course for students studying computer science this fall, and I was thinking that it might be a good idea to spend a little time teaching them about all kinds of stuff that they will probably not read in their books, but are nonetheless useful (and sometimes useless) information for all programmers. Stuff like: - shortcuts, both obvious and not-so-obvious (such as Windows+E to start Windows Explorer, Ctrl+PageUp to switch between tabs in Excel/Chrome etc.) - command line commands, maybe the 10 most commonly used (both on Windows and Unix) - tools they should know exist, both tools that are already installed on their computers (Task Manager, Event Viewer etc.) and others they can download (WinRar, Firebug etc.) - tricks that might come in handy at times (you can use Ctrl+C to copy error messages to the clipboard when a messagebox appears, instead of rebooting when you install Subversion you can just kill Explorer etc.) What would you add to this list? Regards, Daniel


                Wenn ist das Nunstück git und Slotermeyer? Ja! Beierhund das oder die Flipperwaldt gersput!

                D Offline
                D Offline
                Dario Solera
                wrote on last edited by
                #26

                Maybe you could try to "integrate" those notions along the way, without teaching them explicitly.

                If you truly believe you need to pick a mobile phone that "says something" about your personality, don't bother. You don't have a personality. A mental illness, maybe - but not a personality. - Charlie Brooker My Photos/CP Flickr Group - ScrewTurn Wiki

                D 1 Reply Last reply
                0
                • B benjymous

                  How to use a debugger - it's amazing how many new grads have never debugged anything before, and seem amazed when you tell them that using prints and messageboxes isn't the best way

                  Help me! I'm turning into a grapefruit! Buzzwords!

                  R Offline
                  R Offline
                  Rajesh R Subramanian
                  wrote on last edited by
                  #27

                  Excellent suggestion. :thumbsup:

                  It is a crappy thing, but it's life -^ Carlo Pallini

                  1 Reply Last reply
                  0
                  • B benjymous

                    How to use a debugger - it's amazing how many new grads have never debugged anything before, and seem amazed when you tell them that using prints and messageboxes isn't the best way

                    Help me! I'm turning into a grapefruit! Buzzwords!

                    D Offline
                    D Offline
                    Dario Solera
                    wrote on last edited by
                    #28

                    benjymous wrote:

                    using prints and messageboxes isn't the best way

                    Really?! How do you debug your code then?

                    If you truly believe you need to pick a mobile phone that "says something" about your personality, don't bother. You don't have a personality. A mental illness, maybe - but not a personality. - Charlie Brooker My Photos/CP Flickr Group - ScrewTurn Wiki

                    B 1 Reply Last reply
                    0
                    • D dabs

                      Hi all, I will be teaching an introductory course for students studying computer science this fall, and I was thinking that it might be a good idea to spend a little time teaching them about all kinds of stuff that they will probably not read in their books, but are nonetheless useful (and sometimes useless) information for all programmers. Stuff like: - shortcuts, both obvious and not-so-obvious (such as Windows+E to start Windows Explorer, Ctrl+PageUp to switch between tabs in Excel/Chrome etc.) - command line commands, maybe the 10 most commonly used (both on Windows and Unix) - tools they should know exist, both tools that are already installed on their computers (Task Manager, Event Viewer etc.) and others they can download (WinRar, Firebug etc.) - tricks that might come in handy at times (you can use Ctrl+C to copy error messages to the clipboard when a messagebox appears, instead of rebooting when you install Subversion you can just kill Explorer etc.) What would you add to this list? Regards, Daniel


                      Wenn ist das Nunstück git und Slotermeyer? Ja! Beierhund das oder die Flipperwaldt gersput!

                      C Offline
                      C Offline
                      Christopher Duncan
                      wrote on last edited by
                      #29

                      I'd add volumes to this list, but you might well consider it out of scope. A large part of the books and columns I write address the void in academic education regarding how to actually get things done in the real world, i.e. effectively dealing with people, politics, deadlines, bureaucracy and so on, particularly in an industry as much in need of adult supervision as ours. If they're interested in pursuing a career in tech, good coding skills aren't enough. But that's about all that the typical graduate hits the streets with. Share your experience with them and give them a competitive edge in a tough job market.

                      Christopher Duncan www.PracticalUSA.com Author of The Career Programmer and Unite the Tribes Got a career question? Ask the Attack Chihuahua!

                      1 Reply Last reply
                      0
                      • D dabs

                        Hi all, I will be teaching an introductory course for students studying computer science this fall, and I was thinking that it might be a good idea to spend a little time teaching them about all kinds of stuff that they will probably not read in their books, but are nonetheless useful (and sometimes useless) information for all programmers. Stuff like: - shortcuts, both obvious and not-so-obvious (such as Windows+E to start Windows Explorer, Ctrl+PageUp to switch between tabs in Excel/Chrome etc.) - command line commands, maybe the 10 most commonly used (both on Windows and Unix) - tools they should know exist, both tools that are already installed on their computers (Task Manager, Event Viewer etc.) and others they can download (WinRar, Firebug etc.) - tricks that might come in handy at times (you can use Ctrl+C to copy error messages to the clipboard when a messagebox appears, instead of rebooting when you install Subversion you can just kill Explorer etc.) What would you add to this list? Regards, Daniel


                        Wenn ist das Nunstück git und Slotermeyer? Ja! Beierhund das oder die Flipperwaldt gersput!

                        R Offline
                        R Offline
                        Russ T
                        wrote on last edited by
                        #30

                        One of the most useful shortcuts that I've come across: Windows+Break to start the System Control Panel. Useful for getting into Device Manager quickly

                        1 Reply Last reply
                        0
                        • R Rajesh R Subramanian

                          dabs wrote:

                          Ctrl+PageUp to switch between tabs in Excel/Chrome etc.

                          Ctrl+Tab is much neater for that purpose (in the browsers and VS, etc.,).

                          It is a crappy thing, but it's life -^ Carlo Pallini

                          D Offline
                          D Offline
                          dabs
                          wrote on last edited by
                          #31

                          Indeed, where it is available (doesn't work in Excel for instance). Ctrl+PageUp/PageDown is one of those rarely used shortcuts that is nice to know about, and hardly ever mentioned.


                          Wenn ist das Nunstück git und Slotermeyer? Ja! Beierhund das oder die Flipperwaldt gersput!

                          1 Reply Last reply
                          0
                          • J John M Drescher

                            dabs wrote:

                            WinRar

                            How about 7zip instead?

                            John

                            D Offline
                            D Offline
                            dabs
                            wrote on last edited by
                            #32

                            Thanks, didn't know about that, will try it. What benefits does it have that WinRar hasn't?


                            Wenn ist das Nunstück git und Slotermeyer? Ja! Beierhund das oder die Flipperwaldt gersput!

                            D 1 Reply Last reply
                            0
                            • C CPallini
                              • MSDN
                              • Google
                              • Code Project
                              • "How to get an answer to your question" aka "Chris Maunder's 11 commandments"

                              :)

                              If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                              This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
                              [My articles]

                              D Offline
                              D Offline
                              dabs
                              wrote on last edited by
                              #33

                              :-) But surely this should be taught in kindergarden school!


                              Wenn ist das Nunstück git und Slotermeyer? Ja! Beierhund das oder die Flipperwaldt gersput!

                              C 1 Reply Last reply
                              0
                              • E Ennis Ray Lynch Jr

                                What does computer science and windows short-cuts have in common? I think that material is better left to an introduction to computers or business software lay course. If I walked into a C.S. course and the first day the prof. went over such things I would drop the course or switch professors. (Or go to the Department Head and yell).

                                Need custom software developed? I do C# development and consulting all over the United States. A man said to the universe: "Sir I exist!" "However," replied the universe, "The fact has not created in me A sense of obligation." --Stephen Crane

                                D Offline
                                D Offline
                                dabs
                                wrote on last edited by
                                #34

                                Don't worry, there will be lots and lots of stuff about computer science. I was thinking about maybe one 45 minute lecture/hands-on session about this stuff, and mostly because when students talk about the stuff that they remember the most from lectures, it is often some of those small things. What I've learned from 10 years of teaching is that the lectures cannot be too boring, the attention of students will quickly go elsewhere if they get bored. Talking about stuff that isn't theory but helps them in practice will help in keeping their attention.


                                Wenn ist das Nunstück git und Slotermeyer? Ja! Beierhund das oder die Flipperwaldt gersput!

                                E 1 Reply Last reply
                                0
                                • S Simon P Stevens

                                  I totally agree with Ennis on this. Forget all this intro rubbish. If you've got a bunch of undergrads on a computer science course who don't know basic windows short cuts then they might as well leave immediately. Give them a proper intro to programming, show them some code, get them writing code. Don't teach them how to use computers. If they are ever going to be even semi decent programmers they should be able to figure things like that out for themselves. By all means, if you feel like it, giving them a printed sheet of "tips" then go for it, but don't patronize them by wasting their time with this stuff. Our first day at uni included an intro to "the labs". It was handled perfectly, there was one 3rd year for every ~10 newbies, They handed out printed sheets of common unix commands, and the basic tools you would need, a Java tutorial, and a guide to the various file shares. You could tell within about 5 minutes who was going to make it through the course and who wasn't. The best had emacs/vi up and some simple code running almost immediately. The worst were still trying to figure out what the ls command did. Even having never touched unix before (and very little Java), I was very quickly compiling code. Lesson 2 went straight into full on Java. You could figure out the commands and short cuts in your spare time.

                                  Simon

                                  D Offline
                                  D Offline
                                  dabs
                                  wrote on last edited by
                                  #35

                                  Totally disagree. When I started learning computer science, I was a newbie myself. If students should be thrown out based on how they perform the first days I would have been thrown out. But here I am, quite a decent programmer (if I may say so myself), and an excellent teacher (you can ask my students!). People reeeealllyyy should learn to be more patient with those that don't succeed immediately.


                                  Wenn ist das Nunstück git und Slotermeyer? Ja! Beierhund das oder die Flipperwaldt gersput!

                                  M D 2 Replies Last reply
                                  0
                                  • D dabs

                                    :-) But surely this should be taught in kindergarden school!


                                    Wenn ist das Nunstück git und Slotermeyer? Ja! Beierhund das oder die Flipperwaldt gersput!

                                    C Offline
                                    C Offline
                                    CPallini
                                    wrote on last edited by
                                    #36

                                    At MFC/C++ forum you may find plenty of 'Senior Developers' unaware of such points. :)

                                    If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                                    This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
                                    [My articles]

                                    D 1 Reply Last reply
                                    0
                                    • D dabs

                                      Hi all, I will be teaching an introductory course for students studying computer science this fall, and I was thinking that it might be a good idea to spend a little time teaching them about all kinds of stuff that they will probably not read in their books, but are nonetheless useful (and sometimes useless) information for all programmers. Stuff like: - shortcuts, both obvious and not-so-obvious (such as Windows+E to start Windows Explorer, Ctrl+PageUp to switch between tabs in Excel/Chrome etc.) - command line commands, maybe the 10 most commonly used (both on Windows and Unix) - tools they should know exist, both tools that are already installed on their computers (Task Manager, Event Viewer etc.) and others they can download (WinRar, Firebug etc.) - tricks that might come in handy at times (you can use Ctrl+C to copy error messages to the clipboard when a messagebox appears, instead of rebooting when you install Subversion you can just kill Explorer etc.) What would you add to this list? Regards, Daniel


                                      Wenn ist das Nunstück git und Slotermeyer? Ja! Beierhund das oder die Flipperwaldt gersput!

                                      B Offline
                                      B Offline
                                      Brady Kelly
                                      wrote on last edited by
                                      #37

                                      Basic debugging, i.e. breakpoints and stepping.

                                      1 Reply Last reply
                                      0
                                      • D dabs

                                        Hi all, I will be teaching an introductory course for students studying computer science this fall, and I was thinking that it might be a good idea to spend a little time teaching them about all kinds of stuff that they will probably not read in their books, but are nonetheless useful (and sometimes useless) information for all programmers. Stuff like: - shortcuts, both obvious and not-so-obvious (such as Windows+E to start Windows Explorer, Ctrl+PageUp to switch between tabs in Excel/Chrome etc.) - command line commands, maybe the 10 most commonly used (both on Windows and Unix) - tools they should know exist, both tools that are already installed on their computers (Task Manager, Event Viewer etc.) and others they can download (WinRar, Firebug etc.) - tricks that might come in handy at times (you can use Ctrl+C to copy error messages to the clipboard when a messagebox appears, instead of rebooting when you install Subversion you can just kill Explorer etc.) What would you add to this list? Regards, Daniel


                                        Wenn ist das Nunstück git und Slotermeyer? Ja! Beierhund das oder die Flipperwaldt gersput!

                                        P Offline
                                        P Offline
                                        Pete OHanlon
                                        wrote on last edited by
                                        #38

                                        dabs wrote:

                                        What would you add to this list?

                                        Most of the time it's quicker to do some research on your own, rather than posting questions demanding solutions to problems or asking questions that could be answered with a quick Bing.

                                        "WPF has many lovers. It's a veritable porn star!" - Josh Smith

                                        As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.

                                        My blog | My articles | MoXAML PowerToys | Onyx

                                        1 Reply Last reply
                                        0
                                        • R Rajesh R Subramanian

                                          Concept: Virtualization (What it is, with a demo). More shortcuts: Alt+Space+N, Alt+Space+C, Alt+Space+X, WinKey+M, WinKey+D (this is different from WinKey+M, this will "show" the desktop and pressing it again will toggle the windows to previous state, whereas WinKey+M will minimize everything) and there are plenty other I use every day. And when a non-technical person happens to see it, usually it is "shocking" for them. :) Most people know Alt+Tab, but there's also Alt+Shift+Tab and WinKey+Tab. There's also Ctrl+RightArrow (and Ctrl+other directional arrow keys), Ctrl+Home, Ctrl+End, Ctrl+A, ... How to use osalt[^] to find an application that is open source, free and that "just works". How to keep the computer safe (hosts file to begin with?), how can SysInternals suite[^] help in development, etc., NOT using the download manager that comes with IE (oh wait, IE does not have one :rolleyes: ), especially while doing reasonable large downloads. There's a thing called FDM[^], which is free, open source and works like a charm.

                                          It is a crappy thing, but it's life -^ Carlo Pallini

                                          B Offline
                                          B Offline
                                          Brady Kelly
                                          wrote on last edited by
                                          #39

                                          Rajesh R Subramanian wrote:

                                          how can SysInternals suite[^] help in development, etc.,

                                          :thumbsup:

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups