2010-05-24 development of small-sum

1: write code today, a small problem, vomiting blood of my developing faster. We are usually in the database to obtain the records, the first records of the field values into hashMap, the cycle, with a sign to separate, spread to prospects, the prospects of using this symbol divided into an array, remove the value. I use this symbol is ";" semicolon. In the foreground, the amount of data more than one, not normal. No error, very strange. I debug a long time, alert for a long time. Finally found a record of proceedings will not run anymore. So to see if the problem is the data and found that the data no problem. Finally discovered that there is a field ";." Halo, so I split points out in the foreground with the value of the error, and naturally I want to take less than the value. Changed to "$" symbol on the general not normal. Here to remind me, in addition to debug using alert my js, but also know that try () catch (e) (e.getMessage ()). Because of this situation like me, is program does not perform anymore, no error, so I have to take the initiative to catch up, to see why.

2: Also found: though written so long java, but the real code has been used in the writing surface as the object of thought to write java and js, or very little. Today ags construction of a module, write js like from the surface when the object has been to write. Found a very superficial understanding of many areas. The night before, read "learning-object-c-on mac" English version of the previous chapters, and more Caidui for object-oriented process to a deeper understanding.

Of course, made a more than write a module for one day. But we can learn the Tingzhi as "reconstructed" the book said, the reconstruction of those fat fees are worth it. Also feels that this feeling will not write code every day doing the same thing, only on the writing process a more profound understanding will be more interested. I would like to work in future also be so, and continually reconstructed in the development, modification and improvement. From the long-term point of view, these are worth it, and in order to genuinely improve their own. Also, find, read English books, and slowly chew it well inside the discourse, experience to understand, really important. Reading, much that is important. However, I read books much. People getting lazy: (after the note!

3: Now work with win7, work with a mac. Really good. win7 really cool used more than xp, and not that other people see all kind of font on win7 comfortable. Made a few weeks before installation mac, finally it installed, then you can do iphone development then:) not more than that in their own hands, you grasp it.

分类:Web 时间:2010-05-24 人气:258
blog comments powered by Disqus


  • JS array of methods on 2010-06-06

    / / JS array of methods on shift: first delete the original array, and returns the value of the element removed; If the array is empty then return undefined var a = [1,2,3,4,5]; var b = a.shift (); / / a: [2,3,4,5] b: 1 unshift: the parameter to the

  • Deeper understanding of database connection pool 2010-07-08

    Although the use of APACHE COMMONS DBCP can be very convenient to establish a database connection pool, but as this article within the principles of database connection pool to write so thorough, so complete attention, is really very rare, so develop

  • JS Array "(array) and the" objects "(object) 2010-08-24

    JS Array "(array) and the" objects "(object) JS Technology 2009-12-30 16:15:45 read 294 comments 0 font size: large, medium Subscribe For example there is an array a = [1,2,3,4], there is an object a = (0:1,1:2,2:3,3:4), and then you run th

  • Learn a new move, the object is not to judge a js array 2010-09-13

    Analysis: The big city child chubby from: http://fins.javaeye.com/blog/315643 From http://blog.360.yahoo.com/blog-TBPekxc1dLNy5DOloPfzVvFIVOWMB0li?p=916 To learn a trick is not to judge a js array object function isArray(o) { return Object.prototype.

  • JS Array Methods Summary 2011-05-26

    / JS Array Methods Summary

  • ABAP: DYNP_VALUES_READ read the screen field values 2011-05-07

    Before it is displayed in the Screen, the system will automatically process variable value into the screen field; in the PAI event, the system will automatically update the screen field values ​​to the appropriate program variables. In the Screen Log

  • 为原生js Array增加each方法 2014-01-27

    为原生js Array增加each方法,通过prototype来增加功能,进行扩展 Array.prototype.each = function(fn) { return this.length ? [fn(this.slice(0,1))].concat(this.slice(1).each(fn)) : []; }; [1,2,3,4].each(function(x){ document.write(x + "<br/>"); });

  • Understanding the prototype js 2010-10-24

    A procedure not only to know these, but also to know why ! Prototype is a very important concept Js , Each function ( There is also the object function in the Js ) Prototype that has a prototype called ) Properties, but in general its value is null,

  • JS ARRAY Array Operations 2009-11-12

    The recent use of the Array on them a finishing, the contents of the text to read the article excerpt others add their own operation by experiment, not entirely original. The three properties of the array object 1, length attribute length property Le

  • Further understanding of javascript objects. Array and hash table [reproduced] 2010-04-05

    In javascript, the object is actually a hash table, such as following the user object: function user (n, a) ( this.name = n; this.age = a; this.toString = function () ( return "Name:" + this.name + ", Age:" + this.age; ) ) var u = new

iOS 开发

Android 开发

Python 开发



PHP 开发

Ruby 开发






Javascript 开发

.NET 开发



Copyright (C) codeweblog.com, All Rights Reserved.

CodeWeblog.com 版权所有 闽ICP备15018612号

processed in 0.042 (s). 11 q(s)