<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hello,</p>
<p><br>
</p>
<p>As you know lots of online coding challenge websites or University websites require to read data from console ( standard input ).</p>
<p>To read from console in Swift, you could use C "scanf" or "NSFileHandle.fileHandleWithStandardInput()". but I found them very Time and Code consuming. If you check the language popularity in these systems , most of them have simple functions to read from
console ( C++ cin/cout , Java Scanner, Python raw_input ...etc ) . It is especially helpful when you have limited time. And it is not only the coding challenge websites, since Swift got open-source there will be lots of command line tools implemented in Swift.</p>
<p><br>
</p>
<p>I`d suggest to create very simple functionality to manage console input/output , it would make Swift language popular for solving online coding challenges and for command line tools.</p>
<p><br>
</p>
<p><br>
</p>
<p>Regards,</p>
<p>Sergo</p>
</div>
</body>
</html>