Faeka Ansarifyka.hashnode.dev·Apr 6, 2024Slice Secrets in GoLangSlices are one of the most versatile and powerful data structures in Go, offering flexibility and efficiency in managing collections of data, and extremely used in literally every Go Program I have came across. However, there's more to slices than me...Discussgolang
Jemin Kikanijemin.hashnode.dev·Feb 28, 2024Day 5 : how many String Methods in javascript with example ?● String length ● String slice() ● String substring() ● String substr() ● String replace() ● String replaceAll() ● String toUpperCase() ● String toLowerCase() ● String concat() String Length:- ● String trim() ● String trimStart() ● String tr...DiscusspadEnd()
Shounak Khulapeshounakkhulape.hashnode.dev·Feb 21, 2024Go - SlicesA slice is defined as a continuous segment of an underlying array and it provides access to a numbered sequence of elements from that array. Slices provide access to parts of an array in sequential order. Slices are more flexible and more powerful ...DiscussGo Language basicGolang developer
Lucie Yarishlucieyarish.hashnode.dev·Feb 3, 2024JavaScript slice() MethodThe slice() method is often confused with splice(), and vice versa. In this article, we are going to take a closer look at the JavaScript slice() method with code examples. In the upcoming articles in this series, I am going to dive into splice(), to...Discuss·4 likes·88 readsJavaScriptJavaScript
Weiping Dingwpding.hashnode.dev·Sep 17, 2023Get Going: peek into sliceIn previous posts, I explored the unique design of Go error handling. This time I am moving to another part: Go slice. Similar to error handling, this data structure (essentially dynamic array) is something so common (JavaScript array, Python list et...Discussgolang
Bidhubhushan Gahanbidhubhushan.hashnode.dev·Sep 7, 2023Javascript Array.Splice vs Array.sliceArray.slice() slice() is a method of javascript array datatype that helps to get a subarray from an array. It doesn't change the original array. Syntax const arr = [1,2,3,4,5,6] const slicedArr = arr.slice(1,4) //Here the first parameter represents t...Discuss·38 readsslice
Ray Yangblog.rayspock.com·Sep 6, 2023Go Slice Copying: What Really Happens Under the Hood?In Go, variables are passed by value, which means that when we pass variables as arguments to functions, Go makes a copy of those values for the function to use. However, the behaviour of Slice can be a bit confusing at first glance, especially if we...Discuss·80 readsGo Language
Roshan Guragainroshangrg.hashnode.dev·Sep 4, 2023RTK (Mastering Slice)RTKRedux Toolkit streamlines Redux state management in React by minimizing setup overhead with createSlice, simplifying actions and reducers. It integrates thunks for async operations and DevTools for debugging, while promoting immutable updates. Thi...Discussrtk query
Kapil Chaudharykapilscodecraft.hashnode.dev·Jul 15, 2023The Power of Slice: Extracting Array Portions in JavaScriptIntroduction: In JavaScript, arrays are fundamental for storing and manipulating collections of data. One highly versatile method that stands out is slice(), which allows you to extract specific portions of an array. In this article, we will explore ...DiscussArrays in JSslice
Dhawal Pandyadhawalpandya01.hashnode.dev·Jun 21, 2023Length vs Capacity in GolangIn Go, both capacity and length are important properties when working with certain data structures like slices and maps. They serve distinct purposes and provide valuable information about the underlying data. Length len() The length of a data struct...DiscussGo Language