Skip to content
View H0llyW00dzZ's full-sized avatar
💭
Sailing ⛵ ☸
💭
Sailing ⛵ ☸

Block or report H0llyW00dzZ

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
H0llyW00dzZ/README.md

Hi there 👋

My Signature (By Machine Learning + AI where we so deep in binary)

$$ \sum_{i=1}^{n} x_i \cdot \text{H0llyW00dzZ}_{i=1}^{tm} x_i + E=mc^2 + \begin{bmatrix} 0 & 1 & 0 & 0 \\ 1 & 0 & 1 & 0 \\ 0 & 1 & 0 & 1 \\ 0 & 0 & 1 & 0 \end{bmatrix} $$

My Spotify playlist:

Note

I write code while listening to these tracks.


My Main Programming Language:

Systems:

  • Go

Frontend/Web Development:

  • TypeScript

My Git:

  • GitKraken
  • GIthub Desktop
  • Gitea

Git Roll Stats:

VScode Theme:

My GPG Key:


Go Touring

Go Play Ground

My Go Toolkit:

  • gotoolchain auto: Automated management of Go tools.
  • golint & gopls: Essential for code linting and editor integration.
  • deadcode: Removes unused code to maintain a clean codebase.
  • gotests: Automates the generation of test cases.
  • go doc & go fmt: Ensures consistent documentation and code formatting.
  • go vet: Provides in-depth code analysis.
  • gocyclo: Measures and aims to reduce cyclomatic complexity.
  • pprof: A powerful profiling tool for measuring and visualizing the performance characteristics of Go programs, particularly adept at identifying resource-intensive operations.

All these tools are excellent and can help create high-quality Go code with minimal complexity.


gopher

Tip

When writing in Go:

Coding Philosophy:

  • Prioritize error handling first before structuring logs.
  • Strive for simplicity in each function, aiming for a cyclomatic complexity under 5 as a sign of Go programming expertise.
  • As a general rule, maintain a maximum cyclomatic complexity of 10. If you have advanced expertise, aim for a cyclomatic complexity under 5.
  • Emphasize reusable code as it encourages better testing practices, enhances readability for both humans and machines, and aids in minimizing bugs for more reliable code.
  • Utilize constants in Go as a minimalist approach to avoid the pitfalls of stupid hard coding values.

By adhering to these principles, your Go code will stand out as superior when compared to others.

For example, even when using other packages, you'll find that your own package, built upon these principles, is superior. It will be less complex, have fewer bugs, and cause fewer panics compared to other packages that may be unnecessarily complex or prone to issues.

Tip

Another tips, this most important when you are writing in go witthen cyclomatic complexity under 5, especialy when you wanted to push in github for repository

  • Ignore Go test files (e.g, yourfunction_test.go) by adding them to .gitignore.

Because, just think again, why you have to push include go code test files when cyclomatic complexity are under 5 ? so be smart cyclomatic complexity under 5 you are go mastery.

Note

It is important to keep the cyclomatic complexity to a maximum of 10 or lower (ideally under 5). This is because, in Go, unlike Python which may tolerate complex conditional logic (e.g., multiple nested if statements which is bad), functions with a complexity under 10 are more likely to be reusable. This not only aids in testing but also enhances human + machine readability and minimizes bugs (bug-free).

Github Unwrapped

unwrapped-H0llyW00dzZ.1.mp4

⚡ Fun fact


Did You Know? If your Go code resembles a jungle of if statements (think 10+ nested layers – a big no-no!), it's less Go and more Stop-and-ask-for-directions. Flatten those conditionals and let your code run as smoothly as a greased gopher on a slip 'n slide!


Did You Know? If your code is overly stupid complex, it could indicate a need for improvement in your development skills.


Meme Pic of the day

Another Meme Pic of the day

Another Meme Pic of the day

Another Meme Pic of the day

Another Meme Pic of the day

Another Meme Pic of the day

Another Meme Pic of the day

Another Meme Pic of the day

Another Meme Pic of the day

Another Meme Pic of the day

Another Meme Pic of the day

Another Meme Pic of the day

Another Meme Pic of the day

Another Meme Pic of the day

Another Meme Pic of the day

Another Meme Pic of the day

Another Meme Pic of the day

Another Meme Pic of the day

Another Meme Pic of the day

Another Meme Pic of the day

Another Meme Pic of the day

Another Meme Pic of the day

Another Meme Pic of the day

Another Meme Pic of the day

Another Meme Pic of the day

Another Meme of the day

c_lang_gang.mp4

Pinned Loading

  1. ChatGPTNextWeb/ChatGPT-Next-Web ChatGPTNextWeb/ChatGPT-Next-Web Public

    A cross-platform ChatGPT/Gemini UI (Web / PWA / Linux / Win / MacOS). 一键拥有你自己的跨平台 ChatGPT/Gemini 应用。

    TypeScript 77.9k 59.7k

  2. ChatGPT-Next-Web ChatGPT-Next-Web Public archive

    Forked from ChatGPTNextWeb/ChatGPT-Next-Web

    A well-designed cross-platform ChatGPT UI (Web / PWA / Linux / Win / MacOS). 一键拥有你自己的跨平台 ChatGPT 应用。

    TypeScript 17 8

  3. GoGenAI-Terminal-Chat GoGenAI-Terminal-Chat Public

    This repository is a work in progress (WIP).

    Go 8

  4. golang/go golang/go Public

    The Go programming language

    Go 125k 17.7k

  5. Melkeydev/go-blueprint Melkeydev/go-blueprint Public

    Go-blueprint allows users to spin up a quick Go project using a popular framework

    Go 6.3k 348

  6. tour tour Public

    Forked from golang-id/tour

    Go