simplyprogramming
simplyprogramming
Aspiring Software Engineer
200 posts
I thought it would be helpful and fun to show my growth in computer science and keep my notes in the same place.
Don't wanna be here? Send us removal request.
simplyprogramming · 3 years ago
Text
Today I learned about all the different kinds of...
Today I learned about all the different kinds of injections in Spring (constructor, setter, and field). After using Spring for two internships and taking two other Udemy courses, this current Udemy course I’m taking makes everything make more sense now. I didn’t understand why there were so many interfaces rather than just concrete classes previously.
0 notes
simplyprogramming · 3 years ago
Text
Today I learned about the two different types of ListViews...
Today I learned about the two different types of ListViews in Flutter. The first is made with using the ListView(children: []) method which renders all the elements in the list. When creating a ListView using the builder method it then only loads the elements visible on the screen. This saves memory for bigger lists. It’s interested as this is a similar difference between ListView and RecyclerView that I learned in Android app making. 
0 notes
simplyprogramming · 3 years ago
Text
Today I learned about the differences between putting const...
Today I learned about the difference between putting const in the variable name and actual definition in Dart. If you use const names = [”Dan”, “Sandra”] you can’t redefine names to be something else but if you use var names ] = const [”Dan”, “Sandra”] then you can’t modify the list’s elements. 
0 notes
simplyprogramming · 3 years ago
Text
Today I learned that you can make classes private by...
Today I learned that you can make classes private in Dart by adding an underscore to the front of it
0 notes
simplyprogramming · 3 years ago
Text
Today I learned about how to use named arguments...
Today I learned about how to use named arguments in Dart. It reminds me of object properties from Javascript but it’s interesting how they become not required and help the code be more flexible.
Create named arguments in a constructor: Person({this.name});
Create positional arguments in a constructor: Person(this.name);
0 notes
simplyprogramming · 3 years ago
Text
Today I started learning Flutter as I have free time over the summer...
Today I started learning Flutter as I have free time over the summer. I learned that Flutter doesn’t use any native platform specific elements but has elements of its own which is a bit different from React Native.
1 note · View note
simplyprogramming · 4 years ago
Text
Today I learned about the different annotations beans can have...
Today I learned about the different annotations beans can have and what they mean. Repository is for storage/retrieval/search from a database, Service is for business logic, Controller is from the MVC pattern, and Component is just a generic component.
0 notes
simplyprogramming · 4 years ago
Text
Today I learned in Java Spring you can define beans as...
I’m learning Java Spring for my new job and today I learned you can define beans as either singleton or prototype. Singleton means only a single instance of the bean will be made even if queried multiple times from the context while prototype means a new one will be made.
0 notes
simplyprogramming · 4 years ago
Text
Today I learned how to take a graphQL schema...
Today I learned how to take a graphQL schema and create a query to get what I needed. I feel really proud when I figure out how to get a specific value as it shows how I can pick up things as the schema is pretty big and I need to figure out based on the example queries I have how to get what I need.
0 notes
simplyprogramming · 4 years ago
Text
Today I learned about GraphQL subscriptions...
Today I learned about GraphQL subscriptions and websockets. I won’t need it for my project but it is interesting as I’ve worked with websockets before but not based on updated data.
0 notes
simplyprogramming · 4 years ago
Text
Today I learned more about the benefits of using Apollo Client...
Today I learned more about the benefits of using Apollo Client and what functionality it brings. I’m not 100% sure why some Udemy courses start out with one way of doing something then switch to something more preferred but it was interesting to see how to work with GraphQL calls both ways.
0 notes
simplyprogramming · 4 years ago
Text
Today I was reminded of how much I can just spend coding...
Today I was reminded of how much I can just spend coding without noticing the time when I really get into it. I was working on a new feature for the CLI which required figuring out some coding styles and how to arrange functions and the code. I spent at least 4-5 straight hours coding before I realized I had done so.
0 notes
simplyprogramming · 4 years ago
Text
Today I demoed the progress on my CLI...
Today I demoed the progress on my CLI and I realized it's pretty easy to forget when you add in placeholder values. I initially thought I'd be removing a command so I named it off the typical naming conventions, but someone from the team brought it up.
0 notes
simplyprogramming · 4 years ago
Text
TIL
Today I learned how a refactor can break things. Sometimes when I change or add code it breaks so constant testing should help detect introduced issues early on.
0 notes
simplyprogramming · 4 years ago
Text
TIL
I learned about using the yargs library in creating a CLI. It was actually really confusing for me to understand how to use it so their quick start guide could be better. I was able to have a user sign in and successfully call the GraphQL API through the CLI which is nice!
1 note · View note
simplyprogramming · 4 years ago
Text
TIL
Today I finally got the authentication process to work. Some of the issues I faced were that the accounts / credentials I was using were on different environments. It’s now time to implement it on the CLI!
0 notes
simplyprogramming · 4 years ago
Text
TIL
I’ve been looking into good standards for making CLIs and one thing mentioned is to keep the dependencies low. This will add an interesting part to my project as I’ll need to look into the sizes of packages I’d want to use.
0 notes