[ToC] Introduction These are my ongoing notes for Effective Java. Note-taking is currently on hold to prioritize other reading material for work. Chapter 2: Creating and Destroying Objects Item 1: Consider static factory methods instead of constructors Static factory method = static method that returns an instance of a class Naming Convention
3/26/2022[TOC] Introduction This is a paste of my internship reflection written in Fall 2019. I deleted the note about a year ago, but decided to upload it again to re-start my notes. On August 9, 2019, I closed out my Summer 2019 internship at IBM. I'm glad to have recieved the opportunity to intern there for my first software engineering internship because I learned a lot about working in the industry and how it contrasts with my academic experience. I wanted to note down the insights I drew from my experience to serve as a future reference on how I have grown as a software engineer and a guide for anyone who would like to learn from my accomplishments and failures. Lessons and Relevations It's difficult to stay satisfied with front-end work. Context: This summer, I was placed in a front-end role, implementing features for views in an internal dashboard. One thing I came to realize was that one feature requires various opinions and a surprisingly complicated series of steps to bring to fruition. Often time, even if I was done with the functionality, I would consider the visual design and usability of the feature and realize that there were several other tasks that needed to tackled.
3/26/2022Hello! Here are the notes I've compiled from my first week of tutoring sessions. If you're already familiar with all the topics, check out the Resources section for more practice or insights. Also, here is a folder of all practice problems I have sent out. [TOC] Class Architecture Methods: functions Fields: variables Constructors: intializes object's state
3/26/2022[TOC] Abstract Classes The purpose of an abstract class is to have a class that cannot be instantiated. An abstract class can have abstract methods, but do not necessarily need them to be defined. This is useful because the abstract class is sometimes too vague to be instantiated by itself. Consider the abstract class Shape below. How do we know the sides and dimension of a shape? Well, we all know that shapes are two-dimensional. However, for sides, it really depends on what shape we are instantiating! Therefore, it would make more sense to not instantiate Shape and have it be a class that you can inherit methods from. Example of Abstract Class abstract class Shape {
1/5/2021or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up