Goravel is a Go web framework heavily inspired by Laravel's elegant syntax and developer-friendly features. It aims to provide a similar experience for Go developers, offering functionalities like routing, middleware, database ORM (using GORM), validation, templating, caching, and queuing. The goal is to boost developer productivity by offering a structured and familiar environment for building robust web applications in Go, leveraging Laravel's conventions and principles.
Eki Bright argues for building your own internet router using commodity hardware and open-source software like OpenWrt. He highlights the benefits of increased control over network configuration, enhanced privacy by avoiding data collection from commercial routers, potential cost savings over time, and the opportunity to learn valuable networking skills. While acknowledging the higher initial time investment and technical knowledge required compared to using a pre-built router, Bright emphasizes the flexibility and power DIY routing offers for tailoring your network to your specific needs, especially for advanced users or those with privacy concerns.
HN users generally praised the author's ingenuity and the project's potential. Some questioned the practicality and cost-effectiveness of DIY routing compared to readily available solutions like Starlink or existing cellular networks, especially given the complexity and ongoing maintenance required. A few commenters pointed out potential regulatory hurdles, particularly regarding spectrum usage. Others expressed interest in the mesh networking aspects and the possibility of community-owned and operated networks. The discussion also touched upon the limitations of existing rural internet options, fueling the interest in alternative approaches like the one presented. Several users shared their own experiences with similar projects and offered technical advice, suggesting improvements and alternative technologies.
Summary of Comments ( 70 )
https://news.ycombinator.com/item?id=43306797
Hacker News users discuss Goravel, a Go framework inspired by Laravel. Several commenters question the need for such a framework, arguing that Go's simplicity and built-in features make a Laravel-like structure unnecessary and potentially cumbersome. They express skepticism that Goravel offers significant advantages over using standard Go libraries and approaches. Some question the performance implications of mimicking Laravel's architecture in Go. Others express interest in exploring Goravel for personal projects or as a learning experience, acknowledging that it might be suitable for specific use cases. A few users suggest that drawing inspiration from other frameworks can be beneficial, but the overall sentiment leans towards skepticism about Goravel's value proposition in the Go ecosystem.
The Hacker News post about Goravel, a Go framework inspired by Laravel, has generated a moderate amount of discussion. Several commenters express skepticism about the need or benefit of bringing Laravel's design patterns and features into Go. A recurring theme is that Go's simplicity and performance are its strengths, and emulating a framework designed for a different language (PHP) and environment might introduce unnecessary complexity and overhead. Some question whether Goravel truly captures the essence of Laravel or merely replicates surface-level aspects.
One commenter suggests that if a developer prefers Laravel's style, they should simply use Laravel. This sentiment reflects a broader view that choosing the right tool for the job is crucial, and trying to force a specific paradigm onto a language where it might not fit is counterproductive.
There are also concerns about the potential for "magic" and hidden complexity within Goravel, mirroring similar criticisms leveled against Laravel itself. Commenters worry that the framework might obscure underlying Go mechanisms, making it harder to debug and understand the code's behavior. The reliance on reflection is mentioned as a potential performance bottleneck and a source of unexpected issues.
While some appreciate the effort to provide a familiar experience for developers transitioning from PHP and Laravel, others express doubts about the long-term viability and maintainability of the project. The potential for feature creep and divergence from Go's idiomatic style are raised as concerns.
However, not all comments are negative. Some express curiosity and interest in exploring Goravel, particularly those familiar with Laravel. They see potential value in having a framework that offers similar conveniences and conventions in the Go ecosystem. One commenter mentions the potential for Goravel to attract PHP developers to Go.
The discussion also touches upon the broader topic of framework fatigue and the proliferation of frameworks in various languages. Some argue that creating yet another framework, especially one inspired by a different language's paradigm, contributes to this problem. Others counter that having more choices is generally beneficial, as it allows developers to select the tools that best suit their needs and preferences.