Alt+4 and then Alt+3...... Alt+1
code folding
Alt+4 and then Alt+3...... Alt+1
code folding
enum can contain both concrete methods and abstract methods. If an enum class has an abstract method, then each instance of the enum class must implement it
Yet to explore abstract methods for java enums
We can’t create enum objects explicitly and hence we can’t invoke enum constructor directly.
Color c1 = Color.RED;
Color is the enum and "RED" is internally a class object of class "Color".
In which language though, can invoke the constructor directly? I guess by using the parameterized constructors, one can invoke other constructors easily.
Since it is static, we can access it by using the enum Name. Since it is final, we can’t create child enums.
enum in java is implemented as a class. The static and final keywords have their meanings.
An enum cannot explicitly inherit a class not can it create child enums.
enum can implement many interfaces
Have to learn about Interfaces.
All enums implicitly extend java.lang.Enum class. As a class can only extend one parent in Java, so an enum cannot extend anything else.
In Java, a class can extend only one parent class. Also, an enum implicitly extends the java.lang.Enum class. Therefore, an enum cannot extend anything else.
In Java, we can also add variables, methods and constructors to it
java enums allow one to add variables, methods and constructors. Java enums are apparently more powerful than C++ enums
enum type can be passed as an argument to switch statement.
An enum object can be created and the object can be passed as an argument.
file, gg=G.
To correct the indent of entire file in vim
ArrayList is a part of collection framework and is present in java.util package. It provides us with dynamic arrays in Java.
Jayanth
Raising an Independent Child
Monica Suri on healthy parenting
You’ll learn how to cause stack overflows, illegal memory access, andother common flaws that plague C programs so that you know what you’re upagainst
When you learn from "Learn C the Hard Way"
The Silver Searcher
How do install this on my Linux? The commands in the link didn't work
Mistakes programmers need to look out for
being a programmer you should always make sure that you learn by yourself and create things by yourself
Thanks for posting this helpful, well written article. Learning programming, or any other thing one takes up, requires you to sit at one place have a plan of action for your study.
I was going through my Firefox bookmarks and I found article. I had read this article two years back and had commented that I found it to be useful. I read it back in May 2018. As of now, November 2020, my programming skills are still novice-level. I haven't implemented the ideas or followed suggestions given here.
It has been 2 years and 5 months since I found this article to be relevant and it baffles me that I haven't taken action by making use of the knowledge given in this article. Two long years flew by. I guess reviewing my bookmarks is something that I will do more often.
The article was posted on May 23, 2018 and I had stumbled on it the next day itself, i.e., May 24, 2018. This gets me thinking that we could finds solutions for problems(latest ones in this case) once we identify it, articulate it, hit the search button and just read stuff. I could presume that what happened next was that I misunderstood "finding a solution" to "realizing the solution", and perhaps became complacent or maybe there were more problems that didn't come to my awareness to identify and further find solutions. I'm not quite sure. Should I have identified my problems and googled more so that I could have learned C and C++ sooner?
I wonder what held me back from taking action to accomplish and master something that usually takes not more that 5-6 months maximum.
On learning programming
The challenges are very difficult and require great thinking ability to complete. If you are a beginner then it’s gonna be really tough for you.
Practice programming challenges with HackerEarth and then move to TopCoder.
Project Euler
Project Euler emphasises on programming challenges that involve problem solving and critical thinking skills.
It’s powered by a large set of problems to work with, and you can also gain access to the source codes that others used to solve the given coding challenges.
You'll learn more when you read others' code and immitate it. CodeChef provides you access to learn from others' code.
anything that makes you lighter helps create the balance which keeps you going.
"In order to balance I never left anything pending on my to-do-list for tomorrow. If I did, I worked on break shift from home post putting her off to sleep. This was possible because I could manage my office on laptop. To release the pressure points I tore papers, took cold water bath in the middle of the night, laid on the floor in child pose." Monica Suri
BTech in design engineering or BTech engineering design: Design thinking is a popular concept that spans multiple industries and there are courses, independent of any branch purely focussing on designing products. This is also often referred to as an engineering design course or design engineering course. The idea is to teach how to not just bring in design to develop great products that are aesthetically perfect and ergonomically usable and consumer-focused but also to introduce design as a tool for innovative thinking. The curriculum develops design thinking concepts in a manner basis which students can conceptualise and develop products that are innovative while also boasting of high aesthetic value. These graduates are sought after by all manufacturing industries.
Design thinking fosters innovative thinking.
It involes designing user focused, highly utilitarian and aesthetic products.
Get you Hypothes.is API toke here. To sync Hypothes.is notes for readwise.io, copy this API token and paste in the Add Highlights->Sync Highlights->Hypothes.is section in readwise.io.
Mental Toughness
David Goggins
David Goggins' book: Can't Hurt Me: Master Your Mind and Defy the Odds