ios - Why can't I run commands by themselves in Swift? -
it great if run commands in terminal during simulation. in javascript can enter commands , output. why there no such functionality in programming ios?
only interpreted languages can execute code @ runtime. compiled languages cannot. since swift compiled language cannot execute code @ runtime.
examples of interpreted languages
- java
- javascript
- php
- perl
- python
- ruby
examples of compiled languages
- c
- c++
- c#
- objective-c
- pascal
- scala
- swift
Comments
Post a Comment