LED – My first Julia package

By: Alvaro "Blag" Tejada Galindo

Re-posted from: http://blagrants.blogspot.com/2014/07/led-my-first-julia-package.html

So yesterday I was thinking about Julia and how easy people claim package development is…of course…I need to give it a try…

I wanted to start small and simple…so I build something useless mostly for fun and learning…

The LED Package simply writes an LED representation of any given number…

julia> Using LED

julia > ShowLED(12345)

   _  _       _  
| _| _| |_| |_
| |_ _| | _|

As simple as that…and it took me no more than 5 minutes to get it done…

So, I can confirm now that package development in Julia…is a piece of cake -:)

If everything was done nicely…you should be able to do…

julia > Pkg.add(“LED”)

otherwise…please do…

julia > Pkg.clone(“git@github.com:atejada/LED.jl.git”)

Of course…this was just an experiment…so of course I’m planning to put my mind into the work and come up with some nice and useful packages -;)


Development Culture.