| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
English | 简体中文
The project address: GitHub
What do you generally do when you start learning a new language? Write a Hello World and print it out? I believe everyone is familiar with this scene, but just printing a simple Hello World will allow you to quickly learn a new language? The answer is no.
Programming languages are similar, except that the syntax is different, but the focus of programming is on the logical implementation of the code and the algorithm. Therefore, learning a new language needs to be combined with actual coding. By implementing a program function, you can familiarize yourself with the syntax of the programming language and enable you to quickly master the language.
In this project, I used Java, Kotlin, JavaScript, Python, Dart, Go to implement a small program that generates csv text corresponding to the language code.
This is a small program that reads text and generates code.Its function is as follows:
Contents of csv text:
Generated file:
Generated code:
The table contains two-dimensional data, and the data is organized by rows and columns.
After parsing the data according to the above rules, we can generate corresponding constant classes and enumeration classes through character templates.
The knowledge involved in this is:
Although the function of this program is simple, it covers a series of basic programming language knowledge points, through which you can quickly learn and master a new language. No need to write simple Hello World, try to complete this small program with code. When you implement this small program, you will find that mastering a language is not as difficult as you think.
This project is just an introduction, for your reference. If you find that the code is not written well, or if there are other new language implementations, you are welcome to contribute the code to PR. I hope everyone can learn useful things from this project. If you like this project, you can order it ⭐️️ Star Favorites
Copyright 2020 HurTeng
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.| Back | FazBrowse Home | New Git URL |