the-programmers-hangout / website

🌳 TPH website
https://theprogrammershangout.com
MIT License
103 stars 70 forks source link

Feature Request: Tabs for Code examples #48

Open junlarsen opened 4 years ago

junlarsen commented 4 years ago

There are a lot of concepts in computer science / programming that are shared between programming languages, for example implementing a recursive function.

If we could create tabs for code examples, maybe something similar to this then we'd we able to provide examples for multiple languages while using less space.

F5D68231-EC33-4446-9DCB-1BA92CB6DC13

aerori commented 4 years ago

with the current structure of how our docs is set up it probably wouldn't be possible unless we moved to tags. everything right now is sorted under a language -> article

if we had more info/content it might be better to move to a tag structured system but we don't have enough content to make that decision, really.

veksen commented 4 years ago

Could possibly make sense if we have the discussed: "platforms" section, where general concepts are introduced. Code example in some popular languages would be possible.