Nikhil AkkiPronikhilakki.in·Oct 5, 2024Implement an Abstract Class in Go!Well in Go, there is no direct equivalent of Python's abstract classes, but you can achieve similar functionality using interfaces and struct embedding. Here's how you can replicate the behavior of an abstract class in Go. Python Abstract Class Examp...Discuss·31 readsGogolang
Md Maruf Howladermarufhow.hashnode.dev·Sep 18, 2024Value Type vs Reference Type ⚡ Structure Can Make Your Code Super Fast!Value types and Reference types are two different ways data is handled in memory. Here’s a simple explanation with examples : Value Types: A value type stores the data directly in the memory allocated for the variable. When you assign a value to a va...Discuss·1 likevalue types
Chris Dourisdigitalcreations.hashnode.dev·Jun 2, 2024Jumping Ball ProgressIt took me quite a bit to figure out how to handle the ball's behaviour. Using print statements and studying how a ball should work, I managed to write some logic for it. I added new attributes to the ball struct and used them to manage the calculati...DiscussJumping BallC
BitFlipperProbitflippers.dev·Apr 6, 2024Use GroqDoc and OpenRewrite to write your JavadocIt is important to have Javadoc comments on our Java interfaces so developers know how the interface was intended to be implemented. Lets use OpenRewrite and an LLM to add Javadoc comments to our interfaces! GroqCloud For this blog we have used the G...Discuss·78 readsopen rewrite
Nikhil AkkiPronikhilakki.in·Nov 11, 2023Go's Building Blocks: Structs and Custom Data StructuresIntroduction Welcome to the world of Go's structured data! In this guide, we'll delve into structs and custom data structures, the cornerstones of organized data in Go. Understanding how to create and use these structures is essential for building co...Discuss·77 readsGogolang
Wisdom Ncubecodewithwhizz.hashnode.dev·Nov 6, 2023C Structures (also called structs) for absolute beginnersIntroduction Structs are like supercharged variables that allow you to group related information together. They are perfect for representing real-world objects or entities in your code. In this article, we will explore the basics of structs, includin...DiscussAlx
Gideon Batureblog.benehub.tech·Aug 5, 2023Advanced Function Pointer Concepts in C: A Guide for ProgrammersIntroduction Previously, we have written on Function Pointers, you can check it here, as it covers the fundamentals and explains from scratch what function pointers are. In this article, I will dwell more on using function pointers in the following c...Discuss·22 likes·254 readsstructs
Peter Wisdomwisepeter.hashnode.dev·Jul 5, 2023Introduction to Structs in C: Managing Complex Data StructuresThe C language allows us to build custom data structures to better manage our data. While arrays are very useful and convenient, they have shortfalls that limit their usage. An array can only store a collection of identical objects; however, real-wor...Discuss·3 likes·39 readsstruct