My GF learned to code in 3 months. This is what she came up with.
111–113 of 113 posts
Re: My GF learned to code in 3 months. This is what she came up with.
#112Re: My GF learned to code in 3 months. This is what she came up with.
#113Earlier quoted context omitted.
> Can you give me an example of writing really really advanced code in Ruby or Python ? I will take your comment at face value and will answer accordingly. First, here's a direct answer to your question: take a look at [0], and you will se an example use of metaprogramming. In this file ModelBase is a metaclass, which is used to create new classes at runtime. [0] https://github.com/django/django/blob/master/django/db…
Great roundup. Its nice to see all this points. One big difference between scripting and non-scripting languages is that, in scripting languages you can modify the structure of the program at runtime, while in compiled languages you are stuck once you compile it. C++ does have metaprogramming through the use of templates and those programs look immensely complicated, but it can't introduce new data types and logic at…
Daily.