Why shouldn't Python be better at implementing Domain Specific Languages? >From Johnathan Fine: > I really do wish we could have language that had all of Ruby's > strengths, and also all of Python's. That would be really nice. Quite > something indeed.
> Languages do influence each other. Ruby is good at internal Domain > Specific Languages (DSLs). And there's Perrotta's influential book on > Ruby Metaprogramming. That's something I think Python could learn > from. > But I don't see any need (or even benefit) in adding new language > features to Python, so it can do better at DSLs. It would be nice if there was a DSL for describing neural networks (Keras). The current syntax looks like this: model.add(Dense(units=64, activation='relu', input_dim=100)) model.add(Dense(units=10, activation='softmax'))
_______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/