If you are interested/working in computer science filed, have you ever wondered about magical compiler that understand the code in every language? After consequently learning Java, Object C, C, C++, JavaScript, and python based on the course schedule, little syntaxes such as “;” or “range” got all mixed up in my head. Learning new programming languages definitely gives you the great advantages especially in job market, but prompting yourself about syntaxes of languages you already knew is as much as important as learning a new one. I think it is great opportunity for computer science majors to take class like comparative language that we can understand the functions and logics behind those amazing languages along with providing informations about how to select the most efficient languages for each tasks.
The project is basically two parts, one for converting Roman numerals in swift and the other one is parser for SQL database command. I had heard about swift that it is the language for iOS application, but I personally never used it before. From Wikipedia, Swift is a general purpose programming language designed to work with Apple’s Cocoa nad Cocoa Touchframeworks based on existing Objective C written for Apple product. According to Indeed.com in 2016, iOS/Swift is 9th largest number of programming jobs after SQL, JAVA, JAVASCRIPT, C#, Python, C++ and Php. I was surprised about the fact that Java is actually the second most demanding programing language not the first.
Another crazy fact about Swift is that it is the number one most higly paid developer job in United States! So if you are looking for the new language to add more extra on top of your salery, Swift will defnitely worth checking out. But the one thing about Swift Developer is that it is using limitedly in iOS, so there is a possibility that Swift developer scored the high average salery since there will be a good majority portion of Apple employers.
Let’s go back to the problem, the Roman numeral translation was a good experience for me to learn about swift. There were few syntaxes in Swift that I had to constantly reminding myself, but the most confusing part was usage of the semicolon. I was reading through the Swift documents, and it was very interesting to see how different code grammer varies on each versions. When I was updating the version of Java, I did not even reconginze the huge difference in basic functionality. However, in Siwft, the changes are significant. Another fact that interested me during this project is the usage of emoji. I love emojis but this was actually my first time printing out emojis on my terminal. I think it is definitely an innovative way to insert emojis as unicode, which I really haven't thought of. Inserting emojis can be just as easy as inserting escape sequences like /t /b or /u.
For the second part, the project is about making a simple parser for SQL. I guess there are so many wasy to make a parser for command of different languages, but I just simply take everything as String and using scanner split method. But for the cancel part, I am still don't think people need more parameter to check sepecific database.
