Live data from Hacker News

Ask HN: Why are you programming your hobby projects in a niche language?

news.ycombinator.com

131–140 of 172 posts

Re: Ask HN: Why are you programming your hobby projects in a niche language?

#131

Because I can't get a job writing Haskell without having a PhD and some 5+ years of experience in the language even though I've been in the SWE field for 10+ years, so I have to get the fix for my addiction from somewhere else.

> Because I can't get a job writing Haskell without having a PhD and some 5+ years of experience in the language even though I've been in the SWE field for 10+ years I got a Haskell job and don't even have a degree.

Would love haskell advice

Re: Ask HN: Why are you programming your hobby projects in a niche language?

#132

No side projects yet, but I chose to learn Pharo [0] because I believe it'll make me hyper productive for certain side projects [1]. The reason: I use the debugger and REPLs a lot when programming. Pharo is a language with a debugger + REPL + language reflection tools on steroids. Also, I want to see up close what Alan Kay went on and on about. From what I've seen, Pharo has a few things that would make Bret Victor p…

Great choice. Pharo deserves more attention for those wanting to do OOP.

Re: Ask HN: Why are you programming your hobby projects in a niche language?

#133
post #48

I often feel like my primary language, c++, is somewhere between niche and mainstream. It leaves ample opportunities to do something in a niche way. I am often disenchanted after reading many open-source, ostensibly high-quality c++ libraries — namely Apple’s WebKit and a few parts of Google’s Filament. That said, there are a few gems of c++ that I can’t describe as anything but archetypally niche. Nlohhman’s JSON li…

There are 5+ million C++ programmers out there. And the number is going up. So I think it is safe to say that C++ is not a niche language :)

That’s just sad.

Re: Ask HN: Why are you programming your hobby projects in a niche language?

#134
I'm coding a side project in Jack: https://github.com/abhaynayar/genesis

Jack is a language that you create on your own in the Nand2Tetris course. In this project, I first followed the course to build -- assembler, VM translator, compiler and operating system.

Once I finished the course, I decided to build my own CPU emulator so that the whole computing stack is built by me from scratch. Then I decided to change some specifications and also add userland applications to go beyond the course. For example, I have built a chip8 emulator in Jack.

Re: Ask HN: Why are you programming your hobby projects in a niche language?

#136
I like to code in Haskell because it's beautiful. I have tried coding Haskell in larger projects but that was a bad experience, they were a complicated mess of obscure Haskell extensions and methods with >20 types in their signature. So in my professional life I stick to the pragmatic ugliness of Scala or Java.

Re: Ask HN: Why are you programming your hobby projects in a niche language?

#137
post #123

No side projects yet, but I chose to learn Pharo [0] because I believe it'll make me hyper productive for certain side projects [1]. The reason: I use the debugger and REPLs a lot when programming. Pharo is a language with a debugger + REPL + language reflection tools on steroids. Also, I want to see up close what Alan Kay went on and on about. From what I've seen, Pharo has a few things that would make Bret Victor p…

I would also really like to use Pharo more. I tried it for Advent of Code last year [0]. However, I just can't get over the unmanageable custom windowing system going on within the main window. Their isn't an easy way to iterate through windows, find windows, close windows and stop them from overlapping with each other all the time! It would be great to have some kind of Jetbrains/VSCode/modern IDE style layout where…

I agree, nothing is stopping you to change that though ;-)

Though, I've been looking through Calypso a bit (the window browser) and for me it seems really difficult to add anything at the moment. If it gets any easier, I'll create some tutorials.

Loading in your own code to append to an image is doable via a .bashrc style mechanism. As in, you put your code in a file, open a playground and load it in, and your image is appended.

Re: Ask HN: Why are you programming your hobby projects in a niche language?

#138

No side projects yet, but I chose to learn Pharo [0] because I believe it'll make me hyper productive for certain side projects [1]. The reason: I use the debugger and REPLs a lot when programming. Pharo is a language with a debugger + REPL + language reflection tools on steroids. Also, I want to see up close what Alan Kay went on and on about. From what I've seen, Pharo has a few things that would make Bret Victor p…

Great choice. Pharo deserves more attention for those wanting to do OOP.

I have some idea behind the OOP now and it's insane how everything is an object.

I wouldn't call Pharo OOP.

I'd call Pharo live OOP.

Normally, objects in languages are asleep like a bear in hibernation or something only to wake up when spring arrives (or when you click "compile"). But in Pharo they are awake when you edit them. If I was a DJ/producer, I'd try to see if it makes sense as a music tool.

Re: Ask HN: Why are you programming your hobby projects in a niche language?

#139

I like to code in Haskell because it's beautiful. I have tried coding Haskell in larger projects but that was a bad experience, they were a complicated mess of obscure Haskell extensions and methods with >20 types in their signature. So in my professional life I stick to the pragmatic ugliness of Scala or Java.

As someone who dabbled in Scala in school and a professional Kotlin programmer, hearing someone recommend Scala as a sane alternative makes me fearful of Haskell.

Re: Ask HN: Why are you programming your hobby projects in a niche language?

#140

I like to code in Haskell because it's beautiful. I have tried coding Haskell in larger projects but that was a bad experience, they were a complicated mess of obscure Haskell extensions and methods with >20 types in their signature. So in my professional life I stick to the pragmatic ugliness of Scala or Java.

I wrote the backend for my side project http://cryptomarketdepth.com in Haskell (source: https://github.com/cryptomarketdepth/main) in Haskell.

I like to code in Haskell because it works better than any other language I’ve tried — also for larger projects. Where by “works better” I mean that I’m able to deduce what a piece of code does just by reading it more easily than for any other language I’ve tried.

I think it’s the combination of pure functions and strong types that enables this, but I’m not entirely sure.

Post reply on HN