Write To CSV C#

I can’t compare really - i understand c# also allows rapid development but it takes longer to learn and to type (more verbose)

I have noticed that Python seems a lot more compact, yes.

Both languages are great to learn. You can’t go wrong by picking one over the other. We will support both on this forum.

4 Likes

The iterations point is of great interest to me. Eventually I wish to code a form finding script which needs to be able to iterate. Take the last result as an input and repeat a number of times. Can both languages do that or just Python?

I am sure both. The limitation is surely more the user than the language.

3 Likes

Thank you guys for all the info. Trully helpful. And @laurent_delrieu… I owe you. For real. :slight_smile:

1 Like

The Rhino Python 101 is a great way to get started with Python and see some of the possibilities

1 Like

This?

Thanks man there is all I need very well structured and then some! Damn I love this community!

If I would start scripting again within the Rhino environment. I would start learning two languages at once, and this the option I provided my students when I was teaching. Its not wrong to write a script in two languages, because in the end both have more in common as you might think they have.It really is a great advantage to learn a dynamical and static typed language, because both have their advantages and disadvantages.

1 Like

Let’s not start a fight over strongly-typed vs. weakly typed and static vs. dynamic languages on a CSV discussion! :slight_smile: In this particular case, it was best to code in C# as there was a code base that needed minimum changes – so rewriting from scratch was surely counter-productive.

We internally really like all languages we support, so it’s each user’s choice what they pick, and you can’t go wrong with Python, nor C#.

4 Likes

The CSV stuff is just a fire starter. The discusion itself is very beneficial to me really :slight_smile:

1 Like

I think one aspect to consider when learning Python in the Rhino environment is that you deal with IronPython which is C#-Python. To get a better understanding about IronPython, understanding basics about C# is really benefical. This why I would learn both to a certain degree at least.

2 Likes