< More Posts
Published 09 August 2020 at Yours, Kewbish. 714 words. Subscribe via RSS.
Also published on Dev.to.
This post is going to be shorter than normal. I may or may not have forgotten to take proper notes for most of this track except Flask.1
Web track, check. Homepage and Finance were pretty fun, and now, we have the final project ahead. This week (or track, I suppose) went through web technologies, going through HTML / CSS / JS and Flask. I’ve been planning on learning Flask for a while2, and this was a great opportunity to try to use it! I know I said that Week 5 was the week I’d been looking forward to the most, but it was genuinely really nice this week to finally work on something I have experience with.
request.args.get()is useful for getting form inputs
I did Finance first, because I thought that I wanted to redesign my own site for Homepage (more about that later). I found their todo-list structure of teaching / explaining what to do. This was actually one of the reasons I quit Under the GUI (coding extracurricular I was doing when I was a smol child) - too much spoon feeding and not enough self-research.
Giving freedom to implement however we liked was a good idea in terms of implementation and research, but this comes at the cost of testing. (Or maybe this just wasn’t in the CS50 check50 library and they didn’t want to add a bunch of overhead for one problem set check) This might have been an interesting opportunity to explain TDD (hmm, another thing that I should learn) or even just explaining what automated testing was.
When I decided it was finally time to try to attempt redesigning my website, I quickly realized that it’d take ages, especially since I don’t have any ideas right now. The requirements were a 4-page website, so I just slapped an extra page (that looks nothing like the rest of my site because it’s entirely built with Bootstrap) onto my current site. For the JS requirement, I worked in one of those console header things; y’know,
console.log()s in most big sites that remind you to apply for their jobs.
It’s pretty simple, but I was feeling tired. Which is another discussion point - I think Homepage was probably the only big problem in CS50 where I didn’t really feel challenged, besides the Python ones. Even with the Python ones I was trying to time myself in a self-run programming contest, whereas here I was just trying to speedrun. Despite this week’s relative apathy, I have a scheme for the final project. (Which will also probably take a while, so we’ll have some filler content in between.)
I can’t believe I’m already almost through with CS50 - as of writing this, I think it’s only been a month and a couple days. I’m surprised how much I managed to speedrun, and how much I managed to learn in the meantime. It’s been an great time3, and I might consider doing the Web Programming course as well. (Or maybe not. We’ll see.) Time to start brainstorming for a final project (I have too many ideas and I have a feeling I’m going to go with none of the above) - hopefully it’ll turn out interesting.
- Yours, Kewbish
< More Posts