Live data from Hacker News

Ask HN: What are some of the most elegant codebases in your favorite language?

news.ycombinator.com

1–10 of 186 posts

Re: Ask HN: What are some of the most elegant codebases in your favorite language?

#4
post #2

Php and Laravel

I`ve seen so many posts and comments about Laravel and how it has made PHP a modern choice for webdev.

As someone who has written many small apps in PHP, I might dive into it and finally see what that Laravel thing is all about.

Re: Ask HN: What are some of the most elegant codebases in your favorite language?

#5
Go and it’s standard library. ‘Elegant’ is pretty subjective, but it’s a treasure trove of learning how things work under the hood. I’ve learned loads about networking, compression, encryption and more by browsing through it, because the code is super easy to read and understand.

Re: Ask HN: What are some of the most elegant codebases in your favorite language?

#6
So many, I like reading how other people write code.

R - sf package is a clean example of functional OOP

Python - pytudes (Peter Norvig’s notebooks)

Haskell - Elm compiler. I could mostly understand what’s going on even though I barely know any Haskell.

Ruby - Sequel is really nice.

Rust - Ripgrep

Pretty much any F# codebase is super readable too.

Re: Ask HN: What are some of the most elegant codebases in your favorite language?

#7
post #4
post #2

Php and Laravel

I`ve seen so many posts and comments about Laravel and how it has made PHP a modern choice for webdev. As someone who has written many small apps in PHP, I might dive into it and finally see what that Laravel thing is all about.

I'm currently using Laravel at work. It's very opinionated, and some folks say it uses anti-patterns with regards to its use of facades. That being said my last job was C#/.Net and I am so much more productive with Laravel. It really allows you to develop quickly and I haven't yet bitten by any of the "anti-patterns". If you give it a shot I'd recommend just using Laravel Sail as, if you already have docker installed, you can have a full dev environment setup in less than 10 minutes.

Re: Ask HN: What are some of the most elegant codebases in your favorite language?

#9
post #7
post #4

Earlier quoted context omitted.

I`ve seen so many posts and comments about Laravel and how it has made PHP a modern choice for webdev. As someone who has written many small apps in PHP, I might dive into it and finally see what that Laravel thing is all about.

I'm currently using Laravel at work. It's very opinionated, and some folks say it uses anti-patterns with regards to its use of facades. That being said my last job was C#/.Net and I am so much more productive with Laravel. It really allows you to develop quickly and I haven't yet bitten by any of the "anti-patterns". If you give it a shot I'd recommend just using Laravel Sail as, if you already have docker installed…

To me, "anti-pattern" has the same bogus meaning as "clean code"
Post reply on HN