|
You are here |
gcher.com | ||
| | | | |
sergioprado.blog
|
|
| | | | | The GNU Compiler Collection (GCC) provides several language features not found in ISO standard C. | |
| | | | |
wittchen.io
|
|
| | | | | Sometimes it's good to revise some algorithms and try to implement them in order to get to know, how the built-in functions of high level programming languages actually works. One of the popular problems is string searching. We have many approaches to solve this problem. For example: Naive string search algorithm Rabin-Karp string search algorithm Finite-state automaton based search Knuth-Morris-Pratt algorithm Boyer-Moore string search algorithm Bitap algorithm This time, I've decided to focus on Knuth-... | |
| | | | |
takeonrules.com
|
|
| | | | | When Im writing about or in Ruby ? code, sometimes I want to grab the qualified method name. For example, lets say I have the following Ruby code: module Hello module World def foo :bar end def self.call :yup end end end The qualified method name for the method #foo would be Hello::World#foo. The qualified method name for the singleton method .call is Hello::World.call. (Sidenote: A Ruby documentation convention is that instance methods are prefix with a # and singleton methods are prefixed with a . | |
| | | | |
endofline.wordpress.com
|
|
| | | This article has been republished on Monkey and Crow. As of ruby 1.9, you can do some pretty odd things with array destructuring and splatting. Putting the star before an object invokes the splat operator, which has a variety of effects. First we'll start with some very useful examples, then we will poke around the... | ||