7 ms·
Writing `ls` is the first thing I do when learning a new language.
by yegle 9y ago
Writing `ls` is the first thing I do when learning a new language.
- jayvanguard 9y agoHah, interesting! Mine is writing a simple web server (sockets, IO, string handling) and an ultra-simple command line browser (args handling, 3rd party libs for URLs, HTML parsing, etc.)
- jamescostian 9y agoAnd all along I thought I was creative for skipping "Hello, World" and going straight to "Hello, World" 10 times
- sabujp 9y agomine is doing everything in hackerrank in the new language
- oskenso 9y agoI like to write chip-8 and other VMs to get a handle Of a new lang
- jsjohnst 9y agoMine in similar, I implement an authoritative domain name server. I've done it in something like 20-25 languages now. The only language I've learned in the last decade I didn't write one in is ARM Assembly. I am not that "dedicated" (more like masochistic) enough to try to do one in assembly.
- mathw 9y agoA friend of mine used to learn new languages by implementing Tetris in them. Sad to say I'm here years later and I still haven't even implemented Tetris once in anything.
- cytzol 9y agoThanks for the kind words, everybody. exa was my first Rust project and it just grew and grew.
- dfc 9y agoIt looks neat. You should include a link to the documentation on the homepage. After I saw the screenshot I went looking to see how easy it would be to change some of the colors before I installed it. I read down below that the colors are baked in:( It would also be nice to see files owned by different users and some of the git functionality.
- Dowwie 9y agoWould you consider reflecting and writing about your experiences using Rust?
- HaoZeke 9y agoDon't be worried about the hate. ls is a gold standard but that doesn't mean alternatives aren't interesting. Especially as a FOSS project in rust I find it fascinating.
- nightvox 9y agoNice! I just downloaded it here ... My suggestion is to include an option to list the hidden files (dot files) as well as some file sorting options in the next version of Exa. ;-)
- Inityx 9y agoYou must have had an easy time with Ruby, then. #!/usr/bin/env ruby `ls`
- unit91 9y agoYou haven't written ls in Ruby, you've called ls with Ruby. Big difference!
- copperx 9y agoIs it useful to learn how to do system calls and formatted output for the kind of programming work that you do?