For loop in C#, VB.net and Python

This little exercise helped me understand some differences between the three available scripting languages in GH (C#, VB.net and Python) The bottom right editor shows a python script using Rhinoscriptsyntax while the others use Rhinocommon directly. Thank you Giulio Piacentino: http://www.grasshopper3d.com/forum/topics/incrementally-rotate-a-line-using-vb-net-or-c?xg_source=activity

Load Previous Comments
  • Mateusz Zwierzycki

    and look at arthur's examples ... for loop in vb and c# :

    for i as integer = 0 to 10 step 1 <== vb

    for(int i = 0; i<=10; i++) <== c#

    so which is faster and easier to type ?

  • Yasser Hafizs

    I see, vb get more close to the common languages everyday we used, no needs semicolon, etc :D

    How about Phyton, it's to be used in specific works? must trying all of them to get know,like Arthur did :)

  • Kacper Radziszewski

    just yesterday I have started tutorials from CodeAcademy.com, Im amazed with its form, sb made a lot of work preparing it to us. I see all we need is to try both of em, understand basic scripting and choose one to extend.