tag:blogger.com,1999:blog-581197352358126527.post5961077902515052395..comments2024-03-28T00:32:25.959-07:00Comments on japh(r) by Chris Strom: Patterns in the Wild: Visitor in Polymer ExpressionsAnonymoushttp://www.blogger.com/profile/00135361916531185929noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-581197352358126527.post-54554111450062445402021-06-21T19:04:06.061-07:002021-06-21T19:04:06.061-07:00google 2403
google 2404
google 2405
google 2406
go...<a href="https://knowyourmeme.com/users/lentilbabies62/" rel="nofollow">google 2403</a><br /><a href="http://saskatoon.cs.rit.edu:10001/damagesponge55" rel="nofollow">google 2404</a><br /><a href="http://wiki.soippo.edu.ua/index.php?title=Wish-To-Enjoy-Football-Great-Tips-To-Get-You-Started-x" rel="nofollow">google 2405</a><br /><a href="https://www.indiegogo.com/individuals/26253641" rel="nofollow">google 2406</a><br /><a href="https://register.scotland.gov.uk/Subscribe/WidgetSignup?url=https://telegra.ph/%EC%84%B8%EA%B3%84-TOP-%EB%A6%AC%EC%A1%B0%ED%8A%B8%EC%B9%B4%EC%A7%80%EB%85%B8%E7%A4%BE-%EC%83%8C%EC%A6%88%EA%B7%B8%EB%A3%B9-%EC%8B%B1%EA%B0%80%ED%8F%B4%EC%97%90-%EC%98%AC%EC%9D%B8%EB%9D%BC%EC%8A%A4%EB%B2%A0%EC%9D%B4%EA%B1%B0%EC%8A%A4-%EB%B2%A0%EB%84%A4%EC%8B%9C%EC%95%88-%EB%93%B1-10%EC%A1%B0%EC%9B%90%EC%97%90-%EB%A7%A4%EA%B0%81-03-13" rel="nofollow">google 2407</a>adminhttps://www.blogger.com/profile/13328975220076167046noreply@blogger.comtag:blogger.com,1999:blog-581197352358126527.post-77399669695586856442014-07-04T18:02:34.301-07:002014-07-04T18:02:34.301-07:00You can think of a visitor as a glorified switch s...You can think of a visitor as a glorified switch statement.<br /><br />The simplest version is probably to have just one callback and switch on the statement type:<br />http://golang.org/pkg/go/ast/#Walk<br />Brian Slesinskyhttps://www.blogger.com/profile/06578159790743176316noreply@blogger.comtag:blogger.com,1999:blog-581197352358126527.post-82745003782493022532014-07-04T06:38:50.666-07:002014-07-04T06:38:50.666-07:00You're reminding me of when I extended a Class...You're reminding me of when I extended a ClassFileTransformer to access Java byte code at runtime, and used the ASM library to extend ClassAdapter to inject code into class methods at runtime. They called it Instrumentation, and ASM ClassAdapter, that I chose to use, used the Visitor Pattern to visit the class, and all it's methods at runtime. I just had to override the methods I wanted to use, and inject Java Assembler code at the appropriate points, ie visitMethod(). All just to achieve Lazy Loading of data from a database in a JPA like library, written for an assignment. I'd never write things that way, by choice now, but back then it was really interesting, and lead to many sleepless nights, as I did the usual student thing and try and get things done before the due date arrives.Jameshttps://www.blogger.com/profile/02075826729346305568noreply@blogger.com