免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2403 | 回复: 5
打印 上一主题 下一主题

[其他] 转-怎么写出一本程序员风格的修真小说? [复制链接]

论坛徽章:
36
子鼠
日期:2013-08-28 22:23:29黄金圣斗士
日期:2015-12-01 11:37:51程序设计版块每日发帖之星
日期:2015-12-14 06:20:00CU十四周年纪念徽章
日期:2015-12-22 16:50:40IT运维版块每日发帖之星
日期:2016-01-25 06:20:0015-16赛季CBA联赛之深圳
日期:2016-01-27 10:31:172016猴年福章徽章
日期:2016-02-18 15:30:3415-16赛季CBA联赛之福建
日期:2016-04-07 11:25:2215-16赛季CBA联赛之青岛
日期:2016-04-29 18:02:5915-16赛季CBA联赛之北控
日期:2016-06-20 17:38:50技术图书徽章
日期:2016-07-19 13:54:03程序设计版块每日发帖之星
日期:2016-08-21 06:20:00
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2015-12-26 14:42 |只看该作者 |倒序浏览

论坛徽章:
6
数据库技术版块每日发帖之星
日期:2015-11-27 06:20:00程序设计版块每日发帖之星
日期:2015-12-01 06:20:00每日论坛发贴之星
日期:2015-12-01 06:20:0015-16赛季CBA联赛之佛山
日期:2017-03-26 23:38:0315-16赛季CBA联赛之江苏
日期:2017-07-17 10:08:4415-16赛季CBA联赛之北京
日期:2018-03-04 17:01:50
2 [报告]
发表于 2015-12-26 19:15 |只看该作者
windoze 写一本?
我屏住呼吸。点头称是。

论坛徽章:
44
15-16赛季CBA联赛之浙江
日期:2021-10-11 02:03:59程序设计版块每日发帖之星
日期:2016-07-02 06:20:0015-16赛季CBA联赛之新疆
日期:2016-04-25 10:55:452016科比退役纪念章
日期:2016-04-23 00:51:2315-16赛季CBA联赛之山东
日期:2016-04-17 12:00:2815-16赛季CBA联赛之福建
日期:2016-04-12 15:21:2915-16赛季CBA联赛之辽宁
日期:2016-03-24 21:38:2715-16赛季CBA联赛之福建
日期:2016-03-18 12:13:4015-16赛季CBA联赛之佛山
日期:2016-02-05 00:55:2015-16赛季CBA联赛之佛山
日期:2016-02-04 21:11:3615-16赛季CBA联赛之天津
日期:2016-11-02 00:33:1215-16赛季CBA联赛之浙江
日期:2017-01-13 01:31:49
3 [报告]
发表于 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.
复制代码

论坛徽章:
89
水瓶座
日期:2014-04-01 08:53:31天蝎座
日期:2014-04-01 08:53:53天秤座
日期:2014-04-01 08:54:02射手座
日期:2014-04-01 08:54:15子鼠
日期:2014-04-01 08:55:35辰龙
日期:2014-04-01 08:56:36未羊
日期:2014-04-01 08:56:27戌狗
日期:2014-04-01 08:56:13亥猪
日期:2014-04-01 08:56:02亥猪
日期:2014-04-08 08:38:58程序设计版块每日发帖之星
日期:2016-01-05 06:20:00程序设计版块每日发帖之星
日期:2016-01-07 06:20:00
4 [报告]
发表于 2015-12-26 22:15 |只看该作者

论坛徽章:
3
巨蟹座
日期:2015-12-24 09:32:10数据库技术版块每日发帖之星
日期:2015-12-27 06:20:00数据库技术版块每日发帖之星
日期:2016-01-09 06:20:00
5 [报告]
发表于 2015-12-27 15:21 |只看该作者
膜拜

论坛徽章:
6
数据库技术版块每日发帖之星
日期:2015-11-27 06:20:00程序设计版块每日发帖之星
日期:2015-12-01 06:20:00每日论坛发贴之星
日期:2015-12-01 06:20:0015-16赛季CBA联赛之佛山
日期:2017-03-26 23:38:0315-16赛季CBA联赛之江苏
日期:2017-07-17 10:08:4415-16赛季CBA联赛之北京
日期:2018-03-04 17:01:50
6 [报告]
发表于 2015-12-27 18:28 |只看该作者
回复 3# windoze


   
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP