Sign Up Now!

Sign up and get personalized intelligence briefing delivered daily.


Sign Up

Articles related to "syntax"


Hello World! in AIM

  • I'll get back to this in a second, but now let's explore the concept of codeblocks and advanced types in AIM, as this is really important for the whole syntax.
  • All these constructions that can be found in other Object-oriented languages are replaced in AIM by so-called advanced types.
  • When codeblock is bound with a receiver, then you can use the runner to pass values for given parameters.
  • So, in our main codeblock where our code starts its execution, we see the first variable.
  • When writing the opening part of your code (like the *Hello World!* example above does) you must use it (compare it to the main method in C/C++).
  • Then, in the next line, we use context modifier (..) to access upper scope and get access to console variable from the context of parent codeblock.

save | comments | report | share on


My First 12 hours with Ruby

  • This year I wanted to learn a new language, to add a different perspective on problem solving.
  • However, recently I was approached with a project that is currently written in Ruby (on Rails).
  • If I had to pick a language to learn based on how friendly and curitouse the members are to each other; Ruby would win hands down.
  • It is a dot based syntax (like JS for example), paren's are optional, and the data types ad nearly self defining.
  • After some digging around I am pleased with the ecosystem around the Ruby language.
  • For all the short syntax, everything is an objects, neat-coll-shininess; Ruby 2.6 lags behind PHP 74.3 in all buit the binary Tree test.
  • I could see myself reaching for Ruby (+Rails / Sinatra) for quick web projects for automation scripting as easily as PHP or Golang.

save | comments | report | share on


My First 12 hours with Ruby

  • This year I wanted to learn a new language, to add a different perspective on problem solving.
  • However, recently I was approached with a project that is currently written in Ruby (on Rails).
  • If I had to pick a language to learn based on how friendly and curitouse the members are to each other; Ruby would win hands down.
  • It is a dot based syntax (like JS for example), paren's are optional, and the data types ad nearly self defining.
  • After some digging around I am pleased with the ecosystem around the Ruby language.
  • For all the short syntax, everything is an objects, neat-coll-shininess; Ruby 2.6 lags behind PHP 74.3 in all buit the binary Tree test.
  • I could see myself reaching for Ruby (+Rails / Sinatra) for quick web projects for automation scripting as easily as PHP or Golang.

save | comments | report | share on