Julie (@0224_julie) 's Twitter Profile
Julie

@0224_julie

Aspiring Software Engineer | πŸ‡°πŸ‡· in πŸ‡¬πŸ‡§
On my way to completing CS50

ID: 1435629296723374081

calendar_today08-09-2021 15:41:19

300 Tweet

753 Followers

416 Following

Julie (@0224_julie) 's Twitter Profile Photo

Day 22 #100DaysOfCode Nothing new, working on CS50 as usual. Trying to solve the Plurality problem. The same old internal screaming - why isn't it working? 🀯

Julie (@0224_julie) 's Twitter Profile Photo

My team has a morning ritual of saying "morning" in the team chat, and someone keeps saying "bye all" accidentally. I feel you πŸ˜‚

Julie (@0224_julie) 's Twitter Profile Photo

Day 23 #100DaysOfCode Week 4 of CS50 The code on the right works but the left doesn't! I guess it is because string s is practically char *s, so practically matches the type 'void *n'? What does void mean here though?

Day 23 #100DaysOfCode 
Week 4 of CS50
The code on the right works but the left doesn't! I guess it is because string s is practically char *s, so practically matches the type 'void *n'? What does void mean here though?
Julie (@0224_julie) 's Twitter Profile Photo

If anyone doesn't know, CS50 is holding a workshop on How to Prepare for Technical Interviews today. Check out the link! youtu.be/QDC1Ik-SeOI

Julie (@0224_julie) 's Twitter Profile Photo

I watched the lecture again and found the answer to this. A string is the address of the first character in the string in C. Its data type is char *, and this again represents an address of a character. So quite simply, s does not need & because it is already an address.

Julie (@0224_julie) 's Twitter Profile Photo

Day 24 #100DaysOfCode The asterisk (*) is super confusing in C, which contributed to the day 23 headaches. 3 uses of the asterisk: 1⃣ declaring a pointer variable that holds an address 2⃣ dereferencing, which is accessing a value that a pointer points to 3⃣ multiplication

Julie (@0224_julie) 's Twitter Profile Photo

Day 25 #100DaysOfCode Learned how to write a bubble sort in C. Solved Plurality, but kinda scared to move onto Tideman. It seems like it's notorious for being difficult πŸ₯²

Julie (@0224_julie) 's Twitter Profile Photo

Day 26 #100DaysOfCode Working slowly on Tideman. I thought about self-doubt. Realised that learning to code is just not easy. I need to accept it as it is, adjust my learning process if needed, and most importantly keep going. πŸ™‚

Julie (@0224_julie) 's Twitter Profile Photo

Day 27 #100DaysOfCode Reviewed the basic concepts of CSS. Learned the differences of: classes and IDs inline and block elements

Julie (@0224_julie) 's Twitter Profile Photo

Day 28 #100DaysOfCode Getting back into my daily coding routine. Almost finished with writing the first draft code of Tideman. Can't wait to get it over with πŸ˜΅β€πŸ’«

Julie (@0224_julie) 's Twitter Profile Photo

Day 29 #100DaysOfCode Learned how to write recursion. Finished the first draft code of Tideman. It compiles but some functions don't work as they are supposed to, which I will have to figure out. I am happy that it takes much less time to make my code compile than before. πŸ˜„

Julie (@0224_julie) 's Twitter Profile Photo

Day 30 #100DaysOfCode I see the end of Tideman! Not happy that the instruction and check50 do not match in the print winner function requirement.🀨

Julie (@0224_julie) 's Twitter Profile Photo

Day 31 #100DaysOfCode Can't pass one check of Tideman 😒 I think I know the problem is but haven't found the answer. Hopefully, I could find it in my dreamland... 😴

Julie (@0224_julie) 's Twitter Profile Photo

Day 33 #100DaysOfCode Reviewed the concepts of memory because Tideman took me so long and I forgot everything! Feels good that some concepts that were hard to grasp are easier to understand now that I watch the lecture again.

Julie (@0224_julie) 's Twitter Profile Photo

Day 34 #100DaysOfCode Finished watching shorts on: Hexadecimal Pointers Defining Custom Types Dynamic Memory Allocation Call Stacks File Pointers Thought I understood pointers, and then file pointers appeared giving me a lot more things to learn!

Julie (@0224_julie) 's Twitter Profile Photo

Day 35 #100DaysOfCode Working on lab 4. Super busy these days planning to move house. So many things to consider in terms of interior design! πŸ˜΅β€πŸ’«

Julie (@0224_julie) 's Twitter Profile Photo

Day 36 #100DaysOfCode Started to learn JavaScript! Some confusing sytax differences between JS and C: 1. Array 1) C: int balance[] = {1000, 2, 3, 7}; 2) JS: const balance = [1000, 2, 3, 7]; 2. Structure & Object 1) C: struct aboutme { }; 2) JS: const aboutMe = { };

Julie (@0224_julie) 's Twitter Profile Photo

Day 37 #100DaysOfCode Loops and functions in JS are surprisingly similar to those in C. Glad that I took CS50 to really understand them. Something new I learned today is an arrow function: ex) const calculateTotal = (price, salesTaxRate) => {}