Go is a programming language created at Google in 2009 by Robert Griesemer, Rob Pike, and Ken Thompson. It’s very easy to learn, and yet incredibly powerful, especially for concurrency. App built on this language can perform better than most of other language for similar purpose especially against dynamic typed language like php, ruby, python. Go is … More Go Interface and Polymorphism
Mina is popular gem for fast deployment of simple ruby on rails apps. I found these design patterns being used in mina and we can learn how to use them from these real live implementations. Singleton Design Pattern. Delegation Pattern If you are unfamiliar with Design patterns, I strongly recommend reading Gang Of Four’s Design Pattern book. You … More Design Patterns used in mina gem
Most Java programmers are already familiar with Java annotations. Java annotations are used to provide meta data for your Java code. Java annotations are typically used for the following purposes: Compiler instructions Build-time instructions Runtime instructions Android programmers also use android annotations. Some of android annotations used are override, nullable, SuppressWarnings , etc. … More Android Annotations: love at first sight
Originally posted on Josh Software – Where Programming is an Art!:
RISE was the first of Web Summit taking on Asia. Hong Kong is indeed an excellent place for conference of this scale. Over 5000 attendees and 500 different startup exhibiting their products is indeed a mind blowing experience. The scale of the event started…
Earlier we seen detailed working of ‘gem'(present in Gemfile) command. For now, we are now going to introspect the working of ‘gemspec’ which we mostly used during building our rubygems. As i have mentioned in earlier serials that all command, which we used in Gemfile, found in the bundler file(lib/bundler/dsl.rb) Let see how ‘gemsepec’ is … More Ruby through rails part 6: Bundler Dsl
We have been learning & working on various programmings languages. These different programmings language help us to learn various programming paradigm & constructs. There are number of new programming language such golang, rust, dlang. We are going to see performance of simple loop in golang, rust, dlang, ruby. We are going iterate a 100 million times … More Comparative study of looping construct in ruby, dlang, rust, golang.
Note: All path are relative to bundler gem path. For these blog, i am currently using ruby 2.1.2 and bundler 1.6.3. While going through Bundler source code earlier, we have seen how bundler evaluates the Gemfile and creates function for each of keyword like gem, source and etc. Now we are going to see the implementation … More Ruby through rails part 5: Bundler Dsl