[go: up one dir, main page]

|
|
Log in / Subscribe / Register

Just curious

Just curious

Posted Feb 26, 2013 0:27 UTC (Tue) by cjwatson (subscriber, #7322)
In reply to: Just curious by mathstuf
Parent article: Ruby 2.0.0 released

OTOH, if you can afford not to care about pre-2.6 (Debian squeeze; Ubuntu 9.04) then supporting both 2 and 3 is rather easy in most new code provided all your library dependencies are available - you can mostly write in Python 3 style with a bit of extra boilerplate - and for old code the main difficulty is getting bytes vs. text straight which is no bad thing anyway. I've written a few thousand lines of bilingual 2/3 code in the last week alone.


to post comments


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds