Chinaunix

标题: 转-怎么写出一本程序员风格的修真小说? [打印本页]

作者: cokeboL    时间: 2015-12-26 14:42
标题: 转-怎么写出一本程序员风格的修真小说?
http://www.zhihu.com/question/32422838
作者: dorodaloo    时间: 2015-12-26 19:15
windoze 写一本?
我屏住呼吸。点头称是。
作者: windoze    时间: 2015-12-26 22:08
修真的不熟,搞个玄幻异世界大陆的吧

  1. 著作权归作者所有。
  2. 商业转载请联系作者获得授权,非商业转载请注明出处。
  3. 作者:Badger
  4. 链接:https://www.zhihu.com/question/36899399/answer/70116204
  5. 来源:知乎

  6. For the lack of a nail,
  7.     throw new HorseshoeNailNotFoundException("no nails!");

  8. For the lack of a horseshoe,
  9.     EquestrianDoctor.getLocalInstance().getHorseDispatcher().shoot();

  10. For the lack of a horse,
  11.     RidersGuild.getRiderNotificationSubscriberList().getBroadcaster().run(
  12.       new BroadcastMessage(StableFactory.getNullHorseInstance()));

  13. For the lack of a rider,
  14.     MessageDeliverySubsystem.getLogger().logDeliveryFailure(
  15.       MessageFactory.getAbstractMessageInstance(
  16.         new MessageMedium(MessageType.VERBAL),
  17.         new MessageTransport(MessageTransportType.MOUNTED_RIDER),
  18.         new MessageSessionDestination(BattleManager.getRoutingInfo(
  19.                                         BattleLocation.NEAREST))),
  20.       MessageFailureReasonCode.UNKNOWN_RIDER_FAILURE);

  21. For the lack of a message,
  22.     ((BattleNotificationSender)
  23.       BattleResourceMediator.getMediatorInstance().getResource(
  24.         BattleParticipant.PROXY_PARTICIPANT,
  25.         BattleResource.BATTLE_NOTIFICATION_SENDER)).sendNotification(
  26.           ((BattleNotificationBuilder)
  27.             (BattleResourceMediator.getMediatorInstance().getResource(
  28.             BattleOrganizer.getBattleParticipant(Battle.Participant.GOOD_GUYS),
  29.             BattleResource.BATTLE_NOTIFICATION_BUILDER))).buildNotification(
  30.               BattleOrganizer.getBattleState(BattleResult.BATTLE_LOST),
  31.               BattleManager.getChainOfCommand().getCommandChainNotifier()));

  32. For the lack of a battle,
  33.     try {
  34.         synchronized(BattleInformationRouterLock.getLockInstance()) {
  35.           BattleInformationRouterLock.getLockInstance().wait();
  36.         }
  37.     } catch (InterruptedException ix) {
  38.       if (BattleSessionManager.getBattleStatus(
  39.            BattleResource.getLocalizedBattleResource(Locale.getDefault()),
  40.            BattleContext.createContext(
  41.              Kingdom.getMasterBattleCoordinatorInstance(
  42.                new TweedleBeetlePuddlePaddleBattle()).populate(
  43.                  RegionManager.getArmpitProvince(Armpit.LEFTMOST)))) ==
  44.           BattleStatus.LOST) {
  45.         if (LOGGER.isLoggable(Level.TOTALLY_SCREWED)) {
  46.           LOGGER.logScrewage(BattleLogger.createBattleLogMessage(
  47.             BattleStatusFormatter.format(BattleStatus.LOST_WAR,
  48.                                          Locale.getDefault())));
  49.         }
  50.       }
  51.     }

  52. For the lack of a war,
  53.     new ServiceExecutionJoinPoint(
  54.       DistributedQueryAnalyzer.forwardQueryResult(
  55.         NotificationSchemaManager.getAbstractSchemaMapper(
  56.           new PublishSubscribeNotificationSchema()).getSchemaProxy().
  57.             executePublishSubscribeQueryPlan(
  58.               NotificationSchema.ALERT,
  59.               new NotificationSchemaPriority(SchemaPriority.MAX_PRIORITY),
  60.               new PublisherMessage(MessageFactory.getAbstractMessage(
  61.                 MessageType.WRITTEN,
  62.                 new MessageTransport(MessageTransportType.WOUNDED_SURVIVOR),
  63.                 new MessageSessionDestination(
  64.                   DestinationManager.getNullDestinationForQueryPlan()))),
  65.               DistributedWarMachine.getPartyRoleManager().getRegisteredParties(
  66.                 PartyRoleManager.PARTY_KING ||
  67.                 PartyRoleManager.PARTY_GENERAL ||
  68.                 PartyRoleManager.PARTY_AMBASSADOR)).getQueryResult(),
  69.         PriorityMessageDispatcher.getPriorityDispatchInstance())).
  70.       waitForService();

  71. All for the lack of a horseshoe nail.
复制代码

作者: fender0107401    时间: 2015-12-26 22:15

作者: xialufeifei    时间: 2015-12-27 15:21
膜拜
作者: dorodaloo    时间: 2015-12-27 18:28
回复 3# windoze


   




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2