帮助代码从哪里开始 [英] help in a code where to start

查看:94
本文介绍了帮助代码从哪里开始的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

那里,

i是开发人员,我申请在他们接受我的开发公司工作,但他们希望我开发一个应用程序来计算员工工作的项目的实际时间。

例如

a Photoshop设计师设计图片我想计算自开始工作到完成时间的实际时间..

请帮助我..我不知道如何开始和做什么我很困惑请帮助

hi there ,
i am a developer, and i applied to work in a developing company they accepted me but they wanted me to develop an application that calculate the actual time for projects that employees work on .
for example
a Photoshop designer work on designing a picture i want to calculate the actual time since starting the work till the finish time..
please help me .. i dont know how to start and what to do i am confused please help

推荐答案

大概你可能有两种问题:

Roughly you could have two kind of problems:
  1. 你不知道如何在逻辑上解决问题,那就是你无法制定正确的算法。
  2. 你没有编程技巧。实现该算法。





解决问题的一种方法是收集有关员工相对速度的统计数据(如果有)完成指定的任务(我知道这将是de根据许多不同的因素)并使用这些信息来预测活动的进展。这些活动的实际进展可能是对您的预测算法的反馈,



在我看来,第2点更简单:你只需要学习并做一些经验使用您最喜欢的编程语言(您知道:什么是没有编程技能的软件开发人员?)。



One approach for dealing with the problem could be collecting statistical data (if available) on relative speeds of employees in completing assigned tasks (I know this would depend on many different factors) and the using this information to predict the progress of the activities. The actual progress of such activities could be a feedback to your predictive algorithm,

Point 2 is, in my opinion, simpler: you have just to study and do some experience with you favourite programming language (you know: what is a software developer without programming skills?).


您需要做的第一件事是更清楚地定义您的问题。你如何定义在Photoshop中工作的时间(例如)?这是节目开放的时间吗?是用户在程序中处于活动状态的时间量(例如鼠标移动,按下按钮等)?也许只是应用程序关注的时间量?


或者是否由员工报告?即使这样,你也有很多选择。



在你设法定义问题之后,设计一个解决方案。然后你就可以开始编码了。
The first thing you need to do is more clearly define your problem. How do you define time spent working (for example) in Photoshop? Is it the amount of time the program is open? Is it the amount of time the user is active in the program (e.g. mouse is moving, buttons being pressed, etc.)? Maybe just the amount of time the application has focus?

Or is it instead reported by the employee? Even then, you have many options.

After you''ve managed to define your problem, design a solution for the problem. Then you can start coding it.


这篇关于帮助代码从哪里开始的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆