RFCsRFC #0197: Type literals in tokensat 2010-02-18 in RFCs, 5.8-SERIES by friebeScope of Change A common way to denote type literals in generated sourcecode will be introduced. Rationale An example of where this is used is the type dispatching methods described in RFC #0195. Another example is generics generation, as described in RFC #0193. Read the full RFC here RFC #0193: Generics optimizationat 2010-02-18 in 5.8-SERIES, RFCs by friebeScope of Change Generics will be optimized. Rationale
Read the full RFC here RFC #0175: New io.zip packageat 2009-12-24 in RFCs by friebeScope of Change A new package named io.zip will be created. Rationale Reading and creating zipfiles. Read the full RFC here RFC #0196: I/O Collections random accessat 2009-11-19 in RFCs by friebeScope of Change There will be methods in the io.collections interfaces that will allow creating, finding, and removing children. Rationale Extend the I/O collections classes from read-only to include a full-featured filesystem access API. Read the full RFC here Generics in C#, Java, and C++at 2009-11-14 in Further reading, RFCs by friebeIn this interview from quite a while ago Bruce Eckel and Bill Venners talk with Anders Hejlsberg about generics implementations in C# and Java - the differences in their implementations, type erasure vs. runtime instantiation, reflection and how they compare to C++'s template mechanism. This has inspired us to come up with RFC #0193 - and moving our generics implementation closer to the one in the CLR. RFC #0181: SystemExitat 2009-11-13 in 5.8-SERIES, RFCs by friebeScope of Change Calls to exit() will be replaced by a method that throws a lang.SystemExit exception. Rationale Be able to catch sourcecode that tries to exit. Read the full RFC here RFC #0188: Test outcomeat 2009-09-28 in RFCs, Unittests by friebeScope of Change At the moment, there are three possible outcomes of a unittest: Succeeded, Skipped and Failed. This RFC suggests adding more kinds of outcomes: Error and NotRun. Rationale Be able to distinguish between the different non-success reasons. Read the full RFC here RFC #0191: New CSV APIat 2009-09-15 in RFCs by friebe Scope of ChangeAn API for processing CSV files will be created and put into a new package called text.csv. Rationale The current classes - text.CSVGenerator and text.parser.CSVParser - are clumsy to use and almost not flexible. Read the full RFC here RFC #0190: Readers and Writersat 2009-09-15 in RFCs by friebeScope of Change To complement the input and output streams reading bytes from the underlying data sources, Reader and Writer classes will take care of reading formats defined ontop of these. Rationale Separate binary data and formatted data such as strings, as prerequisite for Unicode support. Read the full RFC here Extension methods: Swiss army knives without the anti-patternat 2009-08-29 in Experiments, 5.8-SERIES, RFCs by friebe The following calls a method called "sorted" on an instance of the lang.types.ArrayList class. The ArrayList class doesn't have such a method, and we'll thus get a nice "call to undefined method" error shortly before our program is terminated.<?php We could add this method to the class, but the next request would be to have filter(), map(), join(), collect(), partition(), and whatever else methods in this class, which would turn it into the "swiss army knife" anti-pattern. (more) |
|