Gang Of Coders
Home
About Us
Contact Us
All Metaprogramming Solutions on Gang of Coders
Total of 49 Metaprogramming Solutions
Python dictionary from an object's fields
Python
Dictionary
Attributes
Object
Metaprogramming
Get the name of the currently executing method
Ruby
Reflection
Metaprogramming
Calling a Method From a String With the Method's Name in Ruby
Ruby
Metaprogramming
What exactly is metaprogramming?
Metaprogramming
How do you pass arguments to define_method?
Ruby
Metaprogramming
Is it possible to implement dynamic getters/setters in JavaScript?
Javascript
Metaprogramming
Getter Setter
C++ SFINAE examples?
C++
Templates
Metaprogramming
Sfinae
Conveniently Declaring Compile-Time Strings in C++
C++
String
C++11
Metaprogramming
User Defined-Literals
Can a line of Python code know its indentation nesting level?
Python
Reflection
Metaprogramming
Indentation
Tokenize
Is it possible to figure out the parameter type and return type of a lambda?
C++
Lambda
Metaprogramming
C++11
Traits
Objective-C class -> string like: [NSArray className] -> @"NSArray"
Objective C
Reflection
Metaprogramming
Objective C-Runtime
How to drive C#, C++ or Java compiler to compute 1+2+3+...+1000 at compile time?
C#
Java
C++
Compiler Construction
Metaprogramming
How Pony (ORM) does its tricks?
Python
Orm
Metaprogramming
Dsl
Ponyorm
Best introduction to C++ template metaprogramming?
C++
Templates
Metaprogramming
How do I use define_method to create class methods?
Ruby
Metaprogramming
Class Method
Compile time string hashing
C++
Metaprogramming
C++11
Hash
How to call methods dynamically based on their name?
Ruby
Dynamic
Metaprogramming
Get the value of an instance variable given its name
Ruby
Metaprogramming
What is the __dict__.__dict__ attribute of a Python class?
Python
Class
Metaprogramming
Magic Methods
How do I convert a Ruby class name to a underscore-delimited symbol?
Ruby on-Rails
Ruby
Metaprogramming
Ruby Metaprogramming: dynamic instance variable names
Ruby
Metaprogramming
Instance Variables
Python vs. Ruby for metaprogramming
Python
Ruby
Lisp
Metaprogramming
What do "reify" and "reification" mean in the context of (functional?) programming?
Haskell
Functional Programming
Metaprogramming
Terminology
Reification
Find classes available in a Module
Ruby
Metaprogramming
Dynamic Class Definition WITH a Class Name
Ruby
Class
Dynamic
Metaprogramming
What's the use of metaprogramming?
Language Agnostic
Code Generation
Metaprogramming
List stored functions that reference a table in PostgreSQL
Sql
Postgresql
Metaprogramming
Why do I get an error trying to call a template member function with an explicit type parameter?
C++
Templates
Metaprogramming
How can I dynamically create class methods for a class in python
Python
Class
Metaprogramming
Static Methods
Setattr
Programmatically create static arrays at compile time in C++
C++
Metaprogramming
Static Array
Dynamic method calling in Ruby
Ruby
Metaprogramming
Dynamic Method
Does C++ support compile-time counters?
C++
Templates
Metaprogramming
State
java custom annotation: make an attribute optional
Java
Annotations
Metaprogramming
Ruby: define_method vs. def
Ruby
Metaprogramming
Metaprogramming in C++ and in D
C++
Metaprogramming
D
Can you make custom operators in C++?
C++
Templates
Operators
C Preprocessor
Metaprogramming
Python decorator makes function forget that it belongs to a class
Python
Reflection
Metaprogramming
Python dynamic function creation with custom names
Python
Python 2.7
Closures
Metaprogramming
Dynamic Function
Template Metaprogramming - Difference Between Using Enum Hack and Static Const
C++
Templates
Metaprogramming
Is stateful metaprogramming ill-formed (yet)?
C++
Language Lawyer
Metaprogramming
C++17
Undefine variable in Ruby
Ruby
Metaprogramming
Local Variables
Remove/undef a class method
Ruby
Metaprogramming
Does Javascript have something like Ruby's method_missing feature?
Javascript
Ruby
Metaprogramming
`respond_to?` vs. `respond_to_missing?`
Ruby
Metaprogramming
Dynamic/runtime method creation (code generation) in Python
Python
Metaprogramming
Exec
Tag dispatch versus static methods on partially specialised classes
C++
Metaprogramming
Generic Programming
Partial Specialization
Accessing function as attribute in a Python class
Python
Django
Metaprogramming
Thread Safety: Class Variables in Ruby
Ruby
Multithreading
Thread Safety
Metaprogramming
Ruby 1.9.2
Reducing code duplication while defining a commutative operation
C++
Templates
Metaprogramming