Today I discovered a really nice syntax search engine for programming languages. You can search programming constructs like loops or conditions via an input field. You will get examples for the different programming languages.
That’s pretty cool, if you are a cross language programmer like me, because sometimes it’s hard to remember each construct in the different languages. Especially if you had a longer pause in that language. But of course it is also really helpful, if you are going to learn a new programming language and want to know how a certain language component, that you already know from other languages, is implemented in that languages.
Here is an example where I had looked up for loop. I got a list of the different loop implementations in the different programming languages.
Syntax search languages
At the moment it only supports the following languages:
Unfortunately there is no PHP support at the moment. But I think, chances are height, that there will be more languages available soon. You can find the programming syntax search database under https://syntaxdb.com/.