TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Go Array and Slice Visualizer

3 点作者 1268超过 1 年前
Hi! This is a small web app I made to explore the relationship between arrays and slices in Go. Probably mostly useful for beginners to Go :)<p>It gets a bit rough around the edges when you provide a custom capacity using index expressions but should work in most other cases.<p>I&#x27;m looking into adding some transitions&#x2F;animations, I think it would be a good way to visualize loops for example, but I haven&#x27;t gotten around to it yet.<p>Let me know what you think!

1 comment

andrewfromx超过 1 年前
very cool. I tend to use slices everywhere and rarely use arrays. What am I missing out on?
评论 #38177850 未加载