Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

How long every day should I learn code

Discussion in 'General Discussion' started by gdog105, Jul 19, 2015.

  1. gdog105

    gdog105

    Joined:
    Feb 16, 2015
    Posts:
    61
    I was thinking 16 hours a day would be good ,how long do you guys sit down and learn. I said 16 because an older freind of mine said the longer everyday the better and quicker you become.
     
  2. Ryiah

    Ryiah

    Joined:
    Oct 11, 2012
    Posts:
    20,148
    I highly recommend taking your time. You'll get far better results being well-rested than simply throwing hours at the task.
     
  3. gdog105

    gdog105

    Joined:
    Feb 16, 2015
    Posts:
    61
    How long do you learn code everyday?
     
  4. JamesLeeNZ

    JamesLeeNZ

    Joined:
    Nov 15, 2011
    Posts:
    5,616
    Longer everyday the quicker you'll burn out.

    10-12 max.
     
    gdog105 likes this.
  5. gdog105

    gdog105

    Joined:
    Feb 16, 2015
    Posts:
    61
    That sound like a good number.
     
  6. Ryiah

    Ryiah

    Joined:
    Oct 11, 2012
    Posts:
    20,148
    Most of my initial learning took place during my middle- and high-school years. Typically this consisted of a mix of research (books and IDE help files) and writing code (any and everything that came to mind). If I had to guess I spent about two hours a day during weekdays and likely double that during the weekends.

    At this point, nearly twenty years after starting to learn, I almost always learn as I go. Very rarely will I sit down and spend time learning for the sake of learning. Usually this is when I'm picking up a new engine and even then I don't spend more than a few hours a day on learning.
     
    Last edited: Jul 20, 2015
  7. gdog105

    gdog105

    Joined:
    Feb 16, 2015
    Posts:
    61
    Thanks guys I think ill study 10 hrs a day and see how that goes I just want to hurry up and make a game.:D
     
  8. Deleted User

    Deleted User

    Guest

    I did 15 hours on Saturday after a full week working, towards the end I was just sat there like a potato.. Needed a couple of days for my brain to re-align (so it worked against me), treat it like a job do 8 - 9 hours a day and then shut it down / get off the laptop whilst taking regular breaks (for your eyes sake if nothing else).

    You need proper food for energy, you should exercise and get plenty of sleep.

    If your brain and body are functioning at an optimal rate, you can achieve more in 2 hours than you can in 20 otherwise.
     
  9. gdog105

    gdog105

    Joined:
    Feb 16, 2015
    Posts:
    61
    Thanks guys:)
     
    Martin_H likes this.
  10. willemsenzo

    willemsenzo

    Joined:
    Nov 15, 2012
    Posts:
    585
    You'll notice it when the well has dried up.
     
    Martin_H and GarBenjamin like this.
  11. Meltdown

    Meltdown

    Joined:
    Oct 13, 2010
    Posts:
    5,796
    I would say spend 2 hours a day learning new concepts, and the rest of the day practicing what you already know and applying the new concepts you learned that day.

    Think of little scenarios where you can apply what you've learnt, and apply it.
    If you're just 'learning' all the time, and not applying and practising, you'll forget what you learnt very quickly.
     
  12. Kiwasi

    Kiwasi

    Joined:
    Dec 5, 2013
    Posts:
    16,860
    Learn and study while you are learning. As soon as you stop learning, walk away and do something else. Come back in an hour or after a good nights sleep.

    Learning is a different process from working. Just throwing more hours at it won't work. Your brain needs time to digest what it's learned, to make connections. Learning doesn't just happen by cramming in infomation. Most of the 'click' moments will come after you walk away.

    If you need a number for hours I would say 2-3 a day. But really just keep going while you are enjoying it and learning efficiently. Some days that will be hours upon hours. Other days it might be measured in minutes.
     
  13. Frpmta

    Frpmta

    Joined:
    Nov 30, 2013
    Posts:
    479
    You should have tried 16 hours before asking to understand what you just said. [people work 8 hours and return home exhausted]
    Don't get frustrated.

    Yup. If you get stuck, it means you are about to learn something.
    As long as you don't stay stuck of course.
     
  14. LaneFox

    LaneFox

    Joined:
    Jun 29, 2011
    Posts:
    7,384
    Any more than 3.14 hours per day exposes users to Dopefish syndrome wherein learning is intensely onerous.
     
  15. Schneider21

    Schneider21

    Joined:
    Feb 6, 2014
    Posts:
    3,510
    Anyone that can go 6 hours or more a day and stick with it is either a psychopath or some sort of genius. When I started out, I could only handle a couple hours at a time before my brain would just start tingling and become less effective. Even now, when I'm focusing on a new language or framework at work, I max out after 5 hours or so. And I can't do that every day, either.

    I'd recommend 2-3 hours tops per session. Take a break afterwards and do something mindless like housework or watching a Michael Bay film. During that time, think over what you learned and relate it to your goal (I'm assuming, in this case, to make a game). If you have the energy, go back for another session, but stick to the same or closely related subject or reviewing stuff you went over earlier.

    You'll have many more 'Eureka, I finally get it!' moments this way, rather than 'WTF did I just read and how many times did I read that already?'.
     
    Ryiah likes this.
  16. james_m_russell

    james_m_russell

    Joined:
    Jun 2, 2015
    Posts:
    25
    16 hours a day is unreasonable. IMO, 10 hours a day is also pretty unrealistic.

    you can't force learn anything. there will be times where you get stuck. for me, it was those times i had to put it down or do something else. when i came back, boom, solved it. (*a Eureka moment, as mentioned above).

    with that said, if you're making progress and everything starts to click and you want to keep going, there is no reason to stop. Your breaks and stop points should be controlled by energy and frustration level. So if everything is confusing, and nothing is working. time for a break.
     
  17. GarBenjamin

    GarBenjamin

    Joined:
    Dec 26, 2013
    Posts:
    7,441
    Back when I had a lot more time I'd often spend 12 hours or more learning per day. I could do that for a few days or maybe a week. Then needed a break. I'd just try what some of the others have said. Put in as much time as you can. When you are feeling like you need a break. Take a break. Everyone is different. Certainly if you are feeling refreshed and absorbing information easily it'd be silly to stop just because your 2 to 3 hours of time for the day are up.
     
    Kiwasi, Ryiah and Deleted User like this.
  18. BornGodsGame

    BornGodsGame

    Joined:
    Jun 28, 2014
    Posts:
    580
    I was going to say this. I can code decent enough, but I want to learn some of the deeper stuff with making games, so what I have been doing is splitting my day up with different tasks, and one of those is just 2 hours of learning. But on the same days, I am also making progress on my game by doing some art and world building, and coding the stuff I know how to do correctly. I would definitely recommend that you don´t study 10 hrs a day, that is unsustainable for most people if it is pure learning.. instead, get your feet wet in Unity at the same time doing stuff you know how to do already.
     
  19. Slyder

    Slyder

    Joined:
    Oct 17, 2013
    Posts:
    270
    I probably get to do 4-6 hours per day Fri-Sun and 2 hours per day Mon-Thurs

    I typically sit down with a goal in mind and when I complete that goal I take a break to process everything. While driving home or doing anything, I am processing and planning stuff in my mind. Drives me crazy that I can't sit down and work on it for more hours.

    I would probably do 6-10 hours per day if I could.
     
  20. Azmar

    Azmar

    Joined:
    Feb 23, 2015
    Posts:
    246
    Learn it, write it on paper. If you think you know something or how to write code after you learn it, write a program on paper and after write the exact thing on a script, compile it and see how many error's you get :)

    Now a days I spend most my time processing in my brain what and how I want to program and rethink it everytime on betters ways of doing it before I actually end up programming it. Once I get it figured out in my brain its crazy programming time!
     
  21. Sotisp

    Sotisp

    Joined:
    Sep 9, 2016
    Posts:
    1
    I only recently started learning Unity and I've discovered that I am successfully digesting about 8-10 hours of learning a day (mixture of building/learning). The code-learning itself should not be separate from building in Unity. Although you will have an easier time having extensively learned JS or C# beforehand, if you're looking for the fastest and most effective way of building a game, it should go hand in hand.

    This being said, we're all also human. I have firsthand experience learning from an intensive hack-schooling that the drain is real. We all have our physical and mental limitations, but only you will discover what schedule works best for you (in terms of diet, sleep, sanity, etc.).
     
  22. ErisCaffee

    ErisCaffee

    Joined:
    Nov 26, 2014
    Posts:
    127
    You should spend only as much time as you remain alert and focused. If that's 2 hours then so be it. If it's 16 hours, then you probably ought to see a doctor about your mania. They have medicine for that. ;)

    But seriously, study for as long as you remain alert, maybe push yourself a little more since sometimes losing focus is just a temporary thing and you can recover it with a bit of effort, but don't push yourself too far because you'll just be wasting time reading things that you won't remember.

    I also recommend that you set specific learning goals, such as "today I will focus on learning the GameObject class and it's methods". If you have a specific learning goal in mind then you are more likely to stay focused for a longer time.
     
  23. imaginaryhuman

    imaginaryhuman

    Joined:
    Mar 21, 2010
    Posts:
    5,834
    Dude, 16 hours of coding + 8 hours of sleep is not a life.
     
    Martin_H, angrypenguin and Kiwasi like this.
  24. GoesTo11

    GoesTo11

    Joined:
    Jul 22, 2014
    Posts:
    604
    I find that learning to spot necroposts is a handy skill.
     
    Tzan likes this.
  25. Human2002

    Human2002

    Joined:
    Oct 4, 2015
    Posts:
    22
    I wish it was for me :p
     
    Last edited: Sep 9, 2016
  26. Human2002

    Human2002

    Joined:
    Oct 4, 2015
    Posts:
    22
    Few times I haven't slept for a day or two while I was coding. The good old days. But now I have limited the time I spend typing thousands of line of code whose ultimate destiny is to get deleted......
    You should just do it when ever you want and for how long do you want to do it. If you are calculating hours of how much you do something that you love it doesn't even makes sense. Also make sure that you just don't see videos of how to make a XYZ or something like that. Instead have a goal. No when you have a goal there is just three things to do. Practice, practice and more practice.....
     
  27. wccrawford

    wccrawford

    Joined:
    Sep 30, 2011
    Posts:
    2,039
    Oh come on. The post was only a year old. I'm sure the person is still intensely interested in finding out exactly how many milliseconds per day they should be "learning to code" for maximum efficiency. I bet they haven't even started yet, and are still planning out every second of the day to get the most benefit from their study time.

    That's sarcasm, for anyone missing it.
     
    Kiwasi, kittik and Ryiah like this.
  28. Ryiah

    Ryiah

    Joined:
    Oct 11, 2012
    Posts:
    20,148
    Being able to spot sarcasm on the Internet is a handy skill to have too. :p
     
    Kiwasi likes this.
  29. ErisCaffee

    ErisCaffee

    Joined:
    Nov 26, 2014
    Posts:
    127
    Ah I didn't see that. I almost never look at the timestamp, because surely no one would resurrect a dead thread. :D
     
  30. GoesTo11

    GoesTo11

    Joined:
    Jul 22, 2014
    Posts:
    604
    I have been burned a few times so I try to remember to check. It is especially suspicious when the account doing the necroposting only has one post.
     
  31. neginfinity

    neginfinity

    Joined:
    Jan 27, 2013
    Posts:
    13,328
    You don't wish for that (Headaches and reduced efficiency). Best ideas happen when you're not in front of the computer.
     
    Ryiah likes this.
  32. Arowx

    Arowx

    Joined:
    Nov 12, 2009
    Posts:
    8,194
    Coding is just an expression of your thinking and imagination, translated to the digital world of computers via mathematics.

    You can probably learn the basics in a day or two, after that it depends what you want to make.