Category Archives: CS-348

code review, what it is and why it matters

For my first blog post for CS-348 and in general (in terms of actual content), I wanted to look into code review. I already had an inkling as to what it could entail, but I wanted to know what sorts of techniques and tools are used in looking over our peers’ (and our own) code.

For this blog post, I consulted a post on SmartBear to get a better understanding of it all. The post establishes reasoning for why we need code review so that we can overall reduce the excess workload and costs that can be caused by unreviewed code being pushed through. The post also gives us 4 common approaches to code review in the current day (which is noted to have been very much improved from methods found in the past). These approaches are email threads, pair programming, over-the-shoulder code review, and tool-assisted reviews.

An email thread provides advantages in versatility but sacrifices the ease of communicating that you get in person. Pair programming is the practice of working on the same code at the same time, which is great for mentoring and reviewing at the same time as coding, but doesn’t give the same objectivity as other methods. Of course, over-the-shoulder reviews are simply having a colleague look over your code at your desk, which while fruitful, doesn’t provide as much documentation as other methods. Lastly, tool-assisted reviews are also straightforward, utilizing software to assist with code review.

The SmartBear post goes on to say that tracking code reviews and gathering metrics helps improve the process overall, and should not be skimped out on. Some empirical facts from Cisco’s code review process in 2005 are given as well. According to an analysis of it, code reviews should cover 200 lines of code or less, and reviews should take an hour or less for optimal results. Some other points are given as well if you visit the post.

Considering most of my ‘career’ has been independent coding (that is, coding as the sole contributor), this was rather interesting to me. I’ve done code reviews for my peers, helping them with assignments and the like, while I’ve only really utilized tools and software to assist myself. It’s interesting to see how something as simple as looking over someone’s code on their computer is such an important step in the software development process, but it certainly makes sense. I also wonder how much the code review process has changed since the popularization of AI companions such as ChatGPT and Github’s Co-Pilot. Perhaps these tools have made code review with our peers less important, but I wonder if it’s more important to have our peers second-guess the AI’s suggestions in case of mistakes. Nonetheless, having a solid grounding of the actual ramifications of code review will prove very useful during my programming career, I am sure.

From the blog CS@Worcester – V's CompSCi Blog by V and used with permission of the author. All other rights reserved by the author.

Learning Git

Mastering Git: Navigating the World of Version Control

As someone deeply immersed in the world of coding and development, I often find myself seeking the latest insights and innovations to stay ahead in this dynamic field. Recently, I had the opportunity to explore the GitHub Blog (https://github.blog/), a treasure trove of information that offers a glimpse into the exciting developments in code collaboration. GitHub, a cornerstone of the coding community, continuously adapts to cater to the ever-changing needs of developers worldwide.
The GitHub Blog, in this context, serves as my primary source of knowledge, delivering timely updates, tutorials, and in-depth insights into the platform’s newest tools and features. These innovations significantly boost productivity and code quality, making my coding journey smoother and more efficient. What truly stands out, though, is how GitHub is fostering a culture of open-source contributions and building inclusive communities.
I encourage you to delve into this blog and embark on your own journey of discovery in the ever-evolving realm of code collaboration. I chose the GitHub Blog as my go-to resource for several compelling reasons. Firstly, it consistently offers a pulse on the rapidly evolving landscape of code collaboration. This blog not only keeps me informed but also inspires me to be part of a larger, positive change within the coding community.

Having explored the GitHub Blog, I’d like to share my thoughts on the content and how it has impacted my perspective as a student in the field of computer science. This resource has been an invaluable source of knowledge for me, primarily due to its dynamic and up-to-date nature.

As a student, staying informed about the latest developments in technology is crucial to my education and future career. The GitHub Blog has proven to be a goldmine of information in this regard. I’ve learned about cutting-edge tools like GitHub Actions and GitHub Copilot, which have the potential to revolutionize the way code is written and managed. This exposure has not only broadened my understanding of these tools but also inspired me to explore them further in my coursework and personal projects.

Beyond the technical aspects, the blog’s emphasis on open-source contributions and inclusivity within the coding community has left a lasting impact on me. It has reinforced the importance of collaboration, diversity, and community engagement in the tech world. Studying for CS, I now see the significance of not just acquiring technical skills but also contributing to the greater good by participating in open-source projects and fostering an inclusive environment for all.

In my future practice as a computer scientist, I plan to apply what I’ve learned from the GitHub Blog in multiple ways. Firstly, I’ll integrate the knowledge of GitHub Actions and GitHub Copilot into my coding projects to boost efficiency and code quality. Additionally, I’m motivated to actively engage in open-source initiatives, leveraging the collaborative spirit and sense of community that the blog has instilled in me. I believe that by embracing these principles and tools, I can become a more effective and socially responsible developer.

From the blog CS@Worcester – Site Title by asejdi and used with permission of the author. All other rights reserved by the author.

Cs-348, Cs @ Worcester Week 2

Normal 0 false false false EN-US X-NONE X-NONE

 

The contents that I have been learning in week 2 are git, GitHub and FOSS communities. First, we focused on FOSS communities, git and GitHub work together to allow this communities to share their work. We also have focus on working in your local repository using branches and commits and then upstreaming your changes using a pull request. Then we learned how to keep the local and origin repositories synchronized with the project’s upstream repo.

I found this blog giving the general definition about the upstream which relates to a content that I have learned in CS-348 class this week.

URL:
https://www.redhat.com/en/blog/what-open-source-upstream

In this blog, they talk about what an upstream is, how it relates to enterprise open-source products, and how they matter to your organization.

What is an upstream?
Upstream refers to the flow of data within information technology, particularly
in open-source projects. It serves as the precursor to other projects and
products, with contributions flowing from upstream to downstream. Users may
receive releases or code directly from the upstream. So, why are upstreams
important?
They are important because that’s where the source contribution comes from.
Each upstream is unique, but generally the upstream is where decisions are
made, the contribution happens, and where the community for a project comes
together to collaborate for the benefit of all parties. Work done at the
upstream might flow out to many other open source projects. The upstream is the
focal point where collaborators do the work. It is so much better if all the
contributors work together.

 

From the blog CS@Worcester – Hong Huynh-CS348-WSU by hhuynh3 and used with permission of the author. All other rights reserved by the author.

How Progressive Web Apps Can Reshape How We Think of Web Apps

If we were to try to categorize all software applications into two groups (a bit of an ambitious task, but bear with me), we could separate them into apps that are platform-specific and natively-installed, such as apps downloaded from an app store onto a smartphone; as well as web-based apps, which run through a web browser. In the past, the majority of all applications can fall neatly into either category, each with it’s own advantages and disadvantages.

Historically, the most capable applications are those directly installed onto the user’s device. They can make use of the full use of system hardware, can launch regardless of internet connection, are more robust and reliable, directly read and write data stored on the device, and are their own platform. Native apps like Spotify, Waze, as well as more platform specific apps like iMessage, have the feeling of directly being part of their respective devices.

This is in contrast to web-based applications, which trade the capability and reliability of native apps for a design that is meant to be accessible to anyone, at any time, from any platform. Additionally, web applications have the advantage of only needing one codebase, as the only platform they must have compatibility with is just a web browser. While a developer of a native app may be able to create a more powerful and capable product, they must design and implement compatibility with each type of platform they want to run on. For example, the navigation app Waze must have compatible versions for iOS, Android OS, as well as other available operating systems.

This is now beginning to change, as Progressive Web Apps (PWA) have exploded into the field and promise to bridge the gap between platform-specific apps and web-based apps. Built using modern APIs, PWAs are able to fully realize their capabilities to the level of native apps, while still maintaining the reach and accessibility of web apps.

Authors Sam Richard and Pete LePage hit on the “best-of-both-worlds” abilities provided by PWAs in their article, What are Progressive Web Apps? “Progressive Web Apps are web applications that have been designed to be capable, reliable, and installable. These three pillars transform them into an experience that feels like a platform-specific application.”

While many different aspects of a developed application can be assessed and critiqued, the most important attribute of any app is the end-user experience. In other words, Is my app easy to use? Does it have all the features the user would need? Is it easily accessible? Reliable?

Progressive Web Apps cover all of these bases, and more. With the ease-of-access as a website and the capabilities of a native app, these new apps have the potential to reimagine how we think of web-based applications. While still a growing field, I believe the inherent ease-of-use provided by this platform will lead it to becoming a new standard for many different fields of application development.

From the blog Butler Software Construction, Design, and Architecture by Griffin Butler and used with permission of the author. All other rights reserved by the author.

My First Blog!

Hello. My name is Aidan Noone and I am currently a junior at Worcester State University. I am pursuing a bachelor’s degree in computer science, and I look forward to updating this blog with new posts in the near future.

From the blog CS@Worcester – CS Blogs with Aidan by anoone234 and used with permission of the author. All other rights reserved by the author.

Intro

Hi all! Welcome to my first blog post concerning new advancements or information when it comes to computer science, thank you for reading and I hope you have a good day!

From the blog CS@Worcester – CSTips by Jamaal Gedeon and used with permission of the author. All other rights reserved by the author.

First Post!

Hey there! My name is Jason, and I’m currently pursuing a Bachelor’s Degree in Computer Science. To kick off, this blog will showcase my assignments and projects from my CS-348 course.

From the blog CS@Worcester – KindlCoding by jkindl and used with permission of the author. All other rights reserved by the author.

Iman’s Blog for CS-348

HI, I’m Iman Kondakciu, I am a Senior in computer science here at Worcester State University

From the blog CS@Worcester – Site Title by Iman Kondakciu and used with permission of the author. All other rights reserved by the author.

Hello Hello~~

I have to say…the software development path is a little fun. This blog is meant to track my journey as I learn how to be a successful software engineer. I started my tech journey by taking an IT class in my junior year of high school and now I’m a junior studying Computer Science at my university. We all start somewhere. I’m now in a software process management class so lets see how this goes.

From the blog CS@Worcester – Live Laugh Code by Shamarah Ramirez and used with permission of the author. All other rights reserved by the author.

Tech Perspectives

Welcome to my blog. I will be sharing all things tech related and this can range from industry insights, to the latest gadgets and more. Join me on this tech adventure and let’s learn together.

From the blog CS@Worcester – Site Title by lynnnsubuga and used with permission of the author. All other rights reserved by the author.