| Ko

Go Package Naming Conventions

This article references the official Go blog’s “Package Names,” Go code review comments, and standard library design cases. Go Package Design Philosophy Go’s package system has a unique philosophy compared to other languages, reflecting Go’s core design principles of simplicity and clarity. Go did not adopt complex package hierarchies like Java or C++’s namespace system. Instead, it separates package paths and package names to enable concise yet expressive code. Go’s package conventions do not enforce strict rules for directory structure or architectural patterns. This is a deliberate design choice by the Go team. Go language creators, including Rob Pike and Ken Thompson, preferred an approach that provides flexibility to programmers while offering clear guidelines. This philosophy can be observed in the package structure of the standard library. Go’s package conventions are built around the following key principles. ...

February 15, 2025 · 7 min · 1432 words · In-Jun

Network Sockets

A socket is a software interface that abstracts network communication endpoints, first appearing in the 4.2BSD Unix operating system developed at UC Berkeley in 1983 and remaining a fundamental technology underlying internet communication to this day. It identifies unique communication points on a network through the combination of IP address and port number, providing a standardized API that enables data exchange between processes. History and Evolution of Sockets The Birth of Berkeley Sockets ...

June 8, 2024 · 7 min · 1449 words · In-Jun

Call by Value vs Call by Reference

Parameter passing mechanisms determine how arguments are passed when calling functions in programming languages. This core concept has been studied since the early programming language design era of the 1960s and continues to directly impact code behavior and performance in modern programming. Call by Value and Call by Reference are the two most fundamental passing methods. Understanding the advantages and disadvantages of each method enables writing more efficient and safer code. ...

May 16, 2024 · 10 min · 2072 words · In-Jun

Introduction to Java Programming

Java is an object-oriented programming language developed in 1995 at Sun Microsystems by a team led by James Gosling. Under the slogan “Write Once, Run Anywhere,” it provides a platform-independent execution environment. As of 2024, Java consistently ranks among the top programming languages in the TIOBE index, making it one of the most widely used programming languages in the world. It serves as a core language in various fields including enterprise applications, Android apps, big data processing, and web services. Java continues to evolve based on its strong type system, rich standard library, and active community. ...

May 16, 2024 · 11 min · 2221 words · In-Jun
[email protected]