CppCon 2018:H. Wright “Large-Scale Changes at Google: Lessons Learned From 5 Yrs of Mass Migrations”

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 พ.ย. 2024

ความคิดเห็น • 5

  • @lethern2
    @lethern2 6 ปีที่แล้ว +11

    I don't like the setter/getter example, I'd even say that it doesn't solve anything, in my view. If you change your internal type from int to int64, or say, from int to double, you have to change your getter/setter too, and that will break code the same way as if you didn't have setters/getters at all, imho

    • @nrviognjiocfmbkirdom
      @nrviognjiocfmbkirdom 3 ปีที่แล้ว +3

      But you can introduce a second set of getters and setters with the new type and change which functions you call one by one until you can deprecate the old ones, rather than having to change everything globally at once.

  • @kamalabuhenamostafa
    @kamalabuhenamostafa 6 ปีที่แล้ว

    nice presentation.

  • @2904cc
    @2904cc 5 ปีที่แล้ว +1

    I think this is the "all your tests are terrible" talk he mentioned at 16:00 th-cam.com/video/u5senBJUkPc/w-d-xo.html

  • @roberthickman4092
    @roberthickman4092 6 ปีที่แล้ว

    JAI can dump the AST back to a program.