3 Mistakes Beginners Make When First Learning Java and Android Development

Back To Back SWE · Beginner ·🛠️ AI Tools & Apps ·9y ago

Key Takeaways

The video discusses common mistakes beginners make when learning Java and Android development, highlighting the importance of libraries, memory management, and utilizing free resources such as Team Treehouse, YouTube, and Stack Overflow.

Full Transcript

[Music] hey guys this is Ben from Java programming for beginners. comom and today I'm going to talk about the three mistakes coders make when they first started are three mistakes beginners make and I made myself when I first started to learn how to code just a quick background on me if you've never watched any of my videos I did not know anything about coding I searched everywhere I tried you I tried YouTube videos I tried everything I tried books I'm a slow reader so I didn't like that um to learn how to code cuz I had an idea I was passionate about and I wanted to make um So eventually I found a program called team treehouses are an online code school they teach a wide range of courses they have thousands of videos um I learned Java in a month Android 2 months after that so 3 months um in total to make my first Android app the app I really wanted to make um it was a really enriching experience I learned a lot and I continue to study Java to this day that's why I started this website to help beginners who want to learn how to code but but are unsure of whether they should do it so today I'm going to talk about three mistakes I made as a beginner starting out coding of course this is a extremely um narrow um three mistakes I'm about to give there's thou there there's hundreds of not thousands there's hundreds of mistakes beginners probably make and hundreds of mistakes I made first learning how to code because it was very difficult um there's so much to learn in coding you can't learn it all in the beginning and you will make mistakes inevitably but anyway my first mistake or first mistake you might make learning to code is ignoring libraries basically libraries and coding is it's basically like a collection of code that solves a problem in a concise way and it's it's ready to use just like you pick up a book and has a solution to your problem a library is a collection of code collection of um programs to allow you to solve a problem so when you're coding and you need to solve a problem maybe parsing an image maybe formatting an image and there's already a library for that there's no reason to solve a problem that's already been solved and tested by thousands of people uh the thing about most libraries that is that they're open source people can openly manipulate them and redistribute the software for the benefit of um International coding community so you really want to take advantage of libraries learn what they are um Team Treehouse talks about libraries they gave a great in-depth tutorial in the Java Basics course about libraries um at the time when I learned they didn't have it but they do have it now but anyway libraries very important you need to use them to make your programs more efficient and it makes you an overall better coder because you learn how to use other people's code and it allows you it actually augment your code in a sense because you learn how to cooperate with other people's programs and stuff like that so for my second point is a mistake you I made was I didn't use cheap and free resources in the beginning when I could have um I don't recommend going only free sources but I do recommend watching the occasional YouTube video um because not every online course that you pay for is going to cover everything about coding team Tre house is amazing but it's not going to cover everything okay they'll cover like 95% of the stuff but like the minor topics you go on forums go on stack Overflow learn about the smaller details the minutia of the language you're learning um which is really beneficial but I still recommend treeh house excellent for beginners excellent for intermediate coders experts at the point you're an intermediate coder you'll be able to direct your learning you won't even need a place to learn you'll just learn yourself but beginners and intermediates team Treehouse is awesome but still take advantage of free resources take advantage of library books whatever you can find to learn to augment your overall understanding of the coding language you're learning and number three um this is kind of like esoteric this is not exactly something you think of off the top of your head as a mistake coders commonly make but memory leaks basically when you have a program when you have an application that needs to run on Hardware um the software or program has to say hey I need this amount of memory give it to me um this is mine now and I'm going to use it so basically you're allocating memory to the program and the program says hey this memories mine and if your program doesn't handle the me when your program um stops running if it doesn't say okay I'm done with it then that's a memory leak because it's going to hold on to that memory that's and it's not using it it's going to keep holding on to it and that's a waste of memory it can cause your application to lag it can cause your phone to crash many of my first Android apps um I didn't handle memory correctly I create extra resources you'll see what I mean when you start learning to code I created extra resources that my my program didn't need I didn't release the resources and they continued to run in the background and I eventually crashed my phone and I couldn't even get it to turn on and it was crazy that probably won't happen to you because I made a really intensive application like intensive on the um operating system but you want to really understand the lower level processes that happen you need to understand threads this is covered very well in treehouse when I um screwed up my um my phone with that application I skipped the lesson on threading uh you need to understand threads you need to understand um how memory is allocated Java is actually Java actually does memory handling very well it does it automatically for you but there's still a chance the occasional memory leak can happen and in Android it did happen to me with an application that um I made that was really intensive on the phone but uh memory leaks are very important to understand this is something that um it's not critical in the beginning later on these smaller details are critical to the overall user experience of the app but anyway those are the top three things I had um for you about the biggest mistakes beginners make when they first learn to program um I really wanted to make this list detailed and really minute not like those very broad posts that don't really help you I want to make make it very like experiential like these like memory leaks that's something you wouldn't think of normally but that's only something you can learn from actually doing coding and messing up and these things happening to you and that's really what I want to do with this website Java programming for beginners anyway if you like this video hit the Thumbs Up Button if you um want to see more videos like this subscribe I'm going to link my website right here if you've never coded before if you're a beginner who wants to learn how to code if you want to learn a new coding language you already know one click this link I give a a review of Team Treehouse I talk about how awesome they are they have thousands of videos great staff great teachers um they give you a 7-Day free trial no risk no credit card I believe I yeah I don't I don't think you're putting your credit card at first people are normally scared of that I I used to be scared of that I don't really care now but um you just enter your name email whatever and you just sign up 7 days free you get everything free um actually before you even do that if you're scared to even put your name and email in I give you a tour of the paid members area right here on my website you can click below a free tour I show you everything they give you I show you all the videos I show you the dashboard the layout everything they give you I show you it so if you're afraid to hop in just check out my site look at the video um titled 2017 tour of the Java and Android courses I actually show all the courses I just titled the video that anyway thank you so much for watching subscribe like this video check out my website right here link description thank you so much for watching see you

Original Description

Come visit us: https://nas.io/backtobackswe 📹 Intuitive Video Explanations ❓New Unseen Questions 🔎 Get All Solutions http://www.javaprogrammingforbeginners.com/ Check out my site where you can learn how to program java and learn android app development with Team Treehouse! I give my honest and thorough review of Team Treehouse's courses in 2017 and give some tips and pointers to help you learn java online! ____________________________________________________________________ This Channel: https://www.youtube.com/channel/UCmJz2DV1a3yfgrR7GqRtUUA Team TreeHouse Review, My Honest Experience: https://www.youtube.com/watch?v=-X6KKxUXvKc How Long Does It Take To Learn To Code For Java & Android?: Article - http://javaprogrammingforbeginners.com/index.php/how-long-does-it-take-to-learn-to-code-java-or-android/ Video - https://www.youtube.com/watch?v=BtO4KqxWDdI How Hard Is It To Learn To Code Java or Android As A Beginner?: Article - http://javaprogrammingforbeginners.com/index.php/how-hard-is-it-to-learn-to-code-java-or-android-as-a-beginner/ Video - https://www.youtube.com/watch?v=yZMRFjaK6Is Best Way To Learn Coding: Why Online Courses Are Perfect For Beginners Learning Java & Android: Article - http://javaprogrammingforbeginners.com/best-way-to-learn-java-online-courses Video - https://www.youtube.com/watch?v=OIptk8lbmT8 This video's topic on my blog: http://javaprogrammingforbeginners.com/mistakes-beginners-make-when-first-learning-java-and-android/ About Me: http://javaprogrammingforbeginners.com/index.php/about-me/ ____________________________________________________________________ When first learning programming in java it can be hard to grasp the java programming basics needed to become a competent coder. I get it. I was (and still am) a beginner to coding and I struggled heavily in the beginning to make progress. Eventually, I stuck through the process and learned Java basics in 1 month and Android development in 2 months with a p
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Playlist

Uploads from Back To Back SWE · Back To Back SWE · 2 of 60

1 4 Tips To Learn Java Programming As Fast As Possible As A Beginner
4 Tips To Learn Java Programming As Fast As Possible As A Beginner
Back To Back SWE
3 Mistakes Beginners Make When First Learning Java and Android Development
3 Mistakes Beginners Make When First Learning Java and Android Development
Back To Back SWE
3 How To Get A Job At Google | The Ultimate Guide To Algorithmic/Coding Interviews
How To Get A Job At Google | The Ultimate Guide To Algorithmic/Coding Interviews
Back To Back SWE
4 The Ultimate Big O Notation Tutorial (Time & Space Complexity For Algorithms)
The Ultimate Big O Notation Tutorial (Time & Space Complexity For Algorithms)
Back To Back SWE
5 Total Occurrences Of K In A Sorted Array (Facebook Software Engineering Interview Question)
Total Occurrences Of K In A Sorted Array (Facebook Software Engineering Interview Question)
Back To Back SWE
6 The N Queens Problem using Backtracking/Recursion - Explained
The N Queens Problem using Backtracking/Recursion - Explained
Back To Back SWE
7 Compute All Mnemonics For A Phone Number (Recursion/Backtracking Problem)
Compute All Mnemonics For A Phone Number (Recursion/Backtracking Problem)
Back To Back SWE
8 How To Reverse A Singly Linked List | The Ultimate Explanation (Iteratively & Recursively)
How To Reverse A Singly Linked List | The Ultimate Explanation (Iteratively & Recursively)
Back To Back SWE
9 Depth First & Breadth First Graph Search - DFS & BFS Graph Searching Algorithms
Depth First & Breadth First Graph Search - DFS & BFS Graph Searching Algorithms
Back To Back SWE
10 The 0/1 Knapsack Problem (Demystifying Dynamic Programming)
The 0/1 Knapsack Problem (Demystifying Dynamic Programming)
Back To Back SWE
11 The Dutch National Flag Problem (The Quicksort "Band-Aid")
The Dutch National Flag Problem (The Quicksort "Band-Aid")
Back To Back SWE
12 Test If A Binary Tree Is Symmetric ("Symmetric Tree" on Leetcode)
Test If A Binary Tree Is Symmetric ("Symmetric Tree" on Leetcode)
Back To Back SWE
13 The IP Address Decomposition Problem - Compute All Valid IP Addresses From Raw IP String
The IP Address Decomposition Problem - Compute All Valid IP Addresses From Raw IP String
Back To Back SWE
14 How To Permute A String - Generate All Permutations Of A String
How To Permute A String - Generate All Permutations Of A String
Back To Back SWE
15 The Balanced Parentheses Problem - Classic Stack Problem ("Valid Parentheses" on Leetcode)
The Balanced Parentheses Problem - Classic Stack Problem ("Valid Parentheses" on Leetcode)
Back To Back SWE
16 Knuth–Morris–Pratt (KMP) Pattern Matching Substring Search -  First Occurrence Of Substring
Knuth–Morris–Pratt (KMP) Pattern Matching Substring Search - First Occurrence Of Substring
Back To Back SWE
17 Implement An LRU Cache - The LRU Cache Eviction Policy ("LRU Cache" on LeetCode)
Implement An LRU Cache - The LRU Cache Eviction Policy ("LRU Cache" on LeetCode)
Back To Back SWE
18 Find The Longest Increasing Subsequence - Dynamic Programming Fundamentals
Find The Longest Increasing Subsequence - Dynamic Programming Fundamentals
Back To Back SWE
19 Generate All Palindromic Decompositions Of A String ("Palindrome Partitioning" on Leetcode)
Generate All Palindromic Decompositions Of A String ("Palindrome Partitioning" on Leetcode)
Back To Back SWE
20 Implement A Sudoku Solver - Sudoku Solving Backtracking Algorithm ("Sudoku Solver" on LeetCode)
Implement A Sudoku Solver - Sudoku Solving Backtracking Algorithm ("Sudoku Solver" on LeetCode)
Back To Back SWE
21 Merge K Sorted Arrays - Min Heap Algorithm ("Merge K Sorted Lists" on LeetCode)
Merge K Sorted Arrays - Min Heap Algorithm ("Merge K Sorted Lists" on LeetCode)
Back To Back SWE
22 Partition To K Equal Sum Subsets From An Array of Integers - The Backtracking Approach
Partition To K Equal Sum Subsets From An Array of Integers - The Backtracking Approach
Back To Back SWE
23 Edit Distance Between 2 Strings - The Levenshtein Distance ("Edit Distance" on LeetCode)
Edit Distance Between 2 Strings - The Levenshtein Distance ("Edit Distance" on LeetCode)
Back To Back SWE
24 Total Ways To Decode A String - Recursive Dynamic Programming Approach ("Decode Ways" on LeetCode)
Total Ways To Decode A String - Recursive Dynamic Programming Approach ("Decode Ways" on LeetCode)
Back To Back SWE
25 The Change Making Problem - Fewest Coins To Make Change Dynamic Programming
The Change Making Problem - Fewest Coins To Make Change Dynamic Programming
Back To Back SWE
26 Compute The Next Permutation of A Numeric Sequence - Case Analysis ("Next Permutation" on Leetcode)
Compute The Next Permutation of A Numeric Sequence - Case Analysis ("Next Permutation" on Leetcode)
Back To Back SWE
27 Count Total Unique Binary Search Trees - The nth Catalan Number (Dynamic Programming)
Count Total Unique Binary Search Trees - The nth Catalan Number (Dynamic Programming)
Back To Back SWE
28 Generate All Strings With n Matched Parentheses - Backtracking ("Generate Parentheses" on LeetCode)
Generate All Strings With n Matched Parentheses - Backtracking ("Generate Parentheses" on LeetCode)
Back To Back SWE
29 Implement A Max Stack - A Stack With A .max() API (Similar To "Min Stack" on LeetCode)
Implement A Max Stack - A Stack With A .max() API (Similar To "Min Stack" on LeetCode)
Back To Back SWE
30 The Recursive Staircase - Top Down & Bottom Up Dynamic Programming ("Climbing Stairs" on LeetCode)
The Recursive Staircase - Top Down & Bottom Up Dynamic Programming ("Climbing Stairs" on LeetCode)
Back To Back SWE
31 Search A Maze For Any Path - Depth First Search Fundamentals (Similar To "The Maze" on Leetcode)
Search A Maze For Any Path - Depth First Search Fundamentals (Similar To "The Maze" on Leetcode)
Back To Back SWE
32 Total Unique Ways To Make Change - Dynamic Programming ("Coin Change 2" on LeetCode)
Total Unique Ways To Make Change - Dynamic Programming ("Coin Change 2" on LeetCode)
Back To Back SWE
33 Test If A Binary Tree Is Height Balanced ("Balanced Binary Tree" on LeetCode)
Test If A Binary Tree Is Height Balanced ("Balanced Binary Tree" on LeetCode)
Back To Back SWE
34 Find The Second Largest Item - Heap & Tracking Approach (Beginner Big N Interview Question)
Find The Second Largest Item - Heap & Tracking Approach (Beginner Big N Interview Question)
Back To Back SWE
35 Increment An Integer Represented As An Array ("Plus One" on LeetCode)
Increment An Integer Represented As An Array ("Plus One" on LeetCode)
Back To Back SWE
36 Merge 2 Sorted Lists - A Fundamental Merge Sort Subroutine ("Merge Two Sorted Lists" on LeetCode)
Merge 2 Sorted Lists - A Fundamental Merge Sort Subroutine ("Merge Two Sorted Lists" on LeetCode)
Back To Back SWE
37 Clone An Undirected Graph - The Utility of Hashtable Mappings ("Clone Graph" on Leetcode)
Clone An Undirected Graph - The Utility of Hashtable Mappings ("Clone Graph" on Leetcode)
Back To Back SWE
38 Clone A Linked List (With Random Pointers) - Linear Space Solution & Tricky Constant Space Solution
Clone A Linked List (With Random Pointers) - Linear Space Solution & Tricky Constant Space Solution
Back To Back SWE
39 Deeply Understanding Logarithms In Time Complexities & Their Role In Computer Science
Deeply Understanding Logarithms In Time Complexities & Their Role In Computer Science
Back To Back SWE
40 Implement A Binary Heap - An Efficient Implementation of The Priority Queue ADT (Abstract Data Type)
Implement A Binary Heap - An Efficient Implementation of The Priority Queue ADT (Abstract Data Type)
Back To Back SWE
41 Max Contiguous Subarray Sum - Cubic Time To Kadane's Algorithm ("Maximum Subarray" on LeetCode)
Max Contiguous Subarray Sum - Cubic Time To Kadane's Algorithm ("Maximum Subarray" on LeetCode)
Back To Back SWE
42 Binary Tree Bootcamp: Full, Complete, & Perfect Trees. Preorder, Inorder, & Postorder Traversal.
Binary Tree Bootcamp: Full, Complete, & Perfect Trees. Preorder, Inorder, & Postorder Traversal.
Back To Back SWE
43 What Is Asymptotic Analysis? And Why Does It Matter? A Deeper Understanding of Asymptotic Notation.
What Is Asymptotic Analysis? And Why Does It Matter? A Deeper Understanding of Asymptotic Notation.
Back To Back SWE
44 An In-Depth Algorithmic Analysis of Bubble Sort. Best Case, Average Case, & Worst Case.
An In-Depth Algorithmic Analysis of Bubble Sort. Best Case, Average Case, & Worst Case.
Back To Back SWE
45 Maximum Sum Rectangle In A 2D Matrix - Kadane's Algorithm Applications (Dynamic Programming)
Maximum Sum Rectangle In A 2D Matrix - Kadane's Algorithm Applications (Dynamic Programming)
Back To Back SWE
46 A Detailed Algorithmic Analysis of Insertion Sort. Best Case & Worst Case.
A Detailed Algorithmic Analysis of Insertion Sort. Best Case & Worst Case.
Back To Back SWE
47 Binary Tree Level Order Traversal - Drawing The Parallel Between Trees & Graphs
Binary Tree Level Order Traversal - Drawing The Parallel Between Trees & Graphs
Back To Back SWE
48 Implement A Queue Using Stacks - The Queue ADT ("Implement Queue Using Stacks" on LeetCode)
Implement A Queue Using Stacks - The Queue ADT ("Implement Queue Using Stacks" on LeetCode)
Back To Back SWE
49 All Nodes Distance K In A Binary Tree - Performing Bidirectional Search On A Tree Using A Hashtable
All Nodes Distance K In A Binary Tree - Performing Bidirectional Search On A Tree Using A Hashtable
Back To Back SWE
50 Longest Common Subsequence (2 Strings) - Dynamic Programming & Competing Subproblems
Longest Common Subsequence (2 Strings) - Dynamic Programming & Competing Subproblems
Back To Back SWE
51 Egg Dropping Problem: Dynamic Programming Fundamentals & Understanding Subproblem Decomposition
Egg Dropping Problem: Dynamic Programming Fundamentals & Understanding Subproblem Decomposition
Back To Back SWE
52 Minimum Window Substring: Utilizing Two Pointers & Tracking Character Mappings With A Hashtable
Minimum Window Substring: Utilizing Two Pointers & Tracking Character Mappings With A Hashtable
Back To Back SWE
53 Reverse Polish Notation: Types of Mathematical Notations & Using A Stack To Solve RPN Expressions
Reverse Polish Notation: Types of Mathematical Notations & Using A Stack To Solve RPN Expressions
Back To Back SWE
54 Asymptotic Notations 101: Big O, Big Omega, & Theta (Asymptotic Analysis Bootcamp)
Asymptotic Notations 101: Big O, Big Omega, & Theta (Asymptotic Analysis Bootcamp)
Back To Back SWE
55 The Backtracking Blueprint: The Legendary 3 Keys To Backtracking Algorithms
The Backtracking Blueprint: The Legendary 3 Keys To Backtracking Algorithms
Back To Back SWE
56 Fast Multiplication: From Grade-School Multiplication To Karatsuba's Algorithm
Fast Multiplication: From Grade-School Multiplication To Karatsuba's Algorithm
Back To Back SWE
57 Search A 2D Sorted Matrix - Fundamentals of Search Space Reduction
Search A 2D Sorted Matrix - Fundamentals of Search Space Reduction
Back To Back SWE
58 The Quicksort Sorting Algorithm: Pick A Pivot, Partition, & Recurse
The Quicksort Sorting Algorithm: Pick A Pivot, Partition, & Recurse
Back To Back SWE
59 Lowest Common Ancestor Between 2 Binary Tree Nodes (A Recursive Approach)
Lowest Common Ancestor Between 2 Binary Tree Nodes (A Recursive Approach)
Back To Back SWE
60 Sort A K Sorted Array - Investigating Applications of Min/Max Heaps
Sort A K Sorted Array - Investigating Applications of Min/Max Heaps
Back To Back SWE

The video teaches beginners how to avoid common mistakes when learning Java and Android development, emphasizing the importance of libraries, memory management, and free resources. It highlights the benefits of using Team Treehouse, YouTube, and Stack Overflow for learning. By following the lessons, viewers can improve their coding skills and prevent memory leaks.

Key Takeaways
  1. Use Team Treehouse for online code school
  2. Learn Java in a month and Android in 2 months
  3. Utilize free resources such as YouTube videos and forums
  4. Use Stack Overflow for learning smaller details of a language
  5. Understand threads and memory allocation to prevent memory leaks
💡 Memory leaks can be prevented by understanding threads and memory allocation, which is crucial for Java programming and Android development.

Related AI Lessons

Up next
How to Open HPL Files (HP-GL Plotter)
File Extension Geeks
Watch →