combing1のブログ -23ページ目

combing1のブログ

ブログの説明を入力します。

HackerNews yesterday on a discussion thread, reminds me of my childhood to write very, very bad code. Honestly, I was not very scared. Everyone says the same thing: 'I started programming years old!' No one will ask them to write what old code. Most people grow up, get a professional when it write decent code. I am now looking forward to those 12 years on the design of the operating system of people's comments. :) I started programming from the age of nine, because our school opened a programming class. Without this course, I could become a writer Nike Air Max or a linguist. Thank you ZRI, there is that I never remember the name of the professor. You great! Then I use the Logo, very interesting, but the real fun is I was eleven years old come into contact with Pascal. I do not know that for a 11-year-old child for what is a good programmer, I know that standards in accordance with reality, I'm a terrible programmer. Below are the last thirteen years, I have created a non-exhaustive list of awful code. 1. A mathematics teaching program Age: 11 years old technology: Pascal and text 'Graphics' I want to be a mathematical exercises program, I used the random, so you can generate an infinite number of examples. However, I do not know GotoXY, so it will not print something Nike Free Run 3 in a certain location on Air Max 2011 Womens Grey Green the screen. So I spent a lot of steps WELCOME print blank lines before this line. I need a lot of steps, because I will not cycle - each row is hard coded blank lines. Code has been submerged in history. 2. a Space Invaders game Age: 11 years old technology: Pascal and BGI graphics algorithms This is not what I do Space Invaders (Source: Wikipedia) I call it Space Invaders - I do not know the real Space Invaders game. I'm just over the two spacecraft can shoot them from below. I found BGI graphics algorithms, so I can Air Max 2012 Black Navy Blue White draw pretty pictures on the screen. This time I know the cycle. The problem is I do not know the matrix, so I almost have 200 global variables. I remember that the biggest problem is, Pascal will complain, 'Hey, your code is not so long!' So I define the variable into a few lines. Code has been submerged in history. 3. A 'operating system' Age: 12-13 years old technology: Pascal, text images and mouse drivers (similar to this one) I think on my computer to do a basic interface that looks as cool and Turbo Pascal 7. I call it the operating system even though it is just a program running on a virtual DOS Shell on the. It has a lot of multitasking programs - I do not remember in the end how much, but I remember a lot of the menu, you can click on the menu to the appropriate place. You can even run a local program (I often use it to run Doom). Of course you can set the interface, even with a different user login. There is a secret method for password input, so you may enter management mode, mess up other user's settings. The second version has better GUI (no screenshots, sorry) I finally had to learn how to use the function, because GOTO can jump to more than 4000 lines. All of those 'procedures' can run it? This is a single code base, rather than the different programs. Oh, I still have Nike Free Run 3 Women a question, I have to define global variables divided into many rows. This program also submerged in the history. PS: Later, I tried BGI graphics to achieve it, but I did not finish drawing window. 4. Space Invaders v2年纪: 12 or 13-year-old technology: Pascal and BGI then I still do not know the real Space Invaders game, so I made this game, you have to shoot flying back and forth above the two rivals. When you shoot them down, there are new fly out. I think it might be due 586590-300 Nike Kobe 8 System Elite GC Poison Green Superhero New Nike Free 5.0 V4 Grey Blue Running Shoes Outlet to the limitations of code, so the enemy was so small (the array size? Is the number of variables opponents set up? I do not know). Best thing about this game is that you can buy arms 597806-400 Nike LeBron X EXT QS Denim-Pink Outlet and ammunition, while the robot players will hit you when you run out of ammunition. For some reason, in your head it is a manipulator who will give you tips potato. Now there is no theme, but I can use pen and paper to reproduce the picture. That I do not use GOTO. I still do not know the importance of the code readable, so most of the variables are a, aa, ab and so on. But I started to indent my code! A lot of fun. This code is also submerged in the history. 5. Space Invaders v3 (there may be other names) Age: 13 years old technology: Pascal, 24-bit image, mouse-driven, BMP Animation Library This is the first I created the game looks good. However, due to memory limitations, you are still a maximum of only four opponents, but they can fly in a two-dimensional space, rather than just fly back and forth at the top. You can use the mouse to control, so the placement of the mouse on the ship, you can click to shoot. Very fun. This is my first time using animation libraries and 24 BMP images - really stunning! However, in order to manufacture the parallax effect background stars, wasting too much resources, so that there is not enough resources left to move and design. The number of bullets on the size of the array and the screen still brought me a lot of trouble. Finally, I gave up this project because there have been a 'null pointer' error, and then I do not know what is a pointer. This code is also submerged in the history. 6. Space Invaders 3D (there may be other names) Age: 13 years old technology: Pascal, 24-bit image I want to design a 3D engine, but unfortunately failed. Based on the fact that the universe is a perspective, I want to update everything on the screen, but also invisible. But after I joined the two objects will run out of memory (16MB of memory), can only move one step, so this 'game' is totally useless. This code is also submerged in the history. 7. a calendar application Age: 14 years old technology: Delphi I think this application can track tasks. It is for you to display a calendar, of course, developed by me manually. You can add tasks, then remind you. But I do not know how to calculate a leap year date (and not just 'by 4'). It let me in the country program development won the third race. This code is also submerged in the history. 8. ww2 shooter Age: 14 years old technology: Delphi when you want to use Delphi to develop a 2D game, thinking through the rapid transformation of the image window to do the running animation, you most likely fail. I spent months to bring things right menu, plus a good picture and sound, but I eventually lost interest for the development of the game. This code is also submerged in the history. 9. Early Site Age: 15-16 years old technology: PHP period I do not remember a particular project. I did a lot of small sites, as well as several large sites to online animation. The main problem is that I still have not lost the concept of dynamic program in a state accustomed, HTML as a stateless protocol has been bothering me. So my code is filled with global variables. I spent a lot of time learning session works. Code has been submerged in history. 10. Chlorine Boards - production site system Age: 17-20 years old in my tired phpBB modules and plug-ins, I started making a website can create open-source system, a module does not need to know the information to another module. There are even some very large sites are using it, I have to convince the agency to hire a website to me, because Air Max 2011 Womens Red I use this system. But the failure of the following: * Use the way relational Air Jordan Heel database very wrong (the beginning). I did not know works-many relationships. * I wrote a template, use the template -php very poor compiler to complete the code. * Package Manager can not handle dependent * All are Nike Free Run 3 single-state mode * Also I can not remember the code to remain on sourceforge: Chlorine Boards11 developed in PHP text mining engine Age: 19-20 years of age in his writings published Zemanta mining system at the same time, I also began to develop me. Scratch with PHP. It is generated from a tag cloud, the effect is quite stick - or even complete sentences, find collocations like. But I found written in Perl regular expressions when there is a very serious problem, because the PHP regular expression parsing engine fast enough. A word of caution: Do not write the statement extractor regular expression, even if PCRE allow you Nike Free Run 3 to do so. I think that extends this code certainly hate me. 2015 Nike Free 5.0 Submerged code NDA's. 12. TwitulaterTwitulater Screenshot Age: 20-21 years old technology: Javascript, Adobe AIR idea is simple - a twitter client that lets you based on what is happening on the dialogue for screening. Links can be placed in different tabs, you can tweet side edge dialogue. After TweetDeck made major changes, but in many respects than TweetDeck do better! But it has many bug, ultimately failed. When you have a 20,000 line of javascript code, but it is not know how Nike Free 5.0 V2 Women to write a simple code written by the guy (for example, he does not know how to deal with Javascript closures, and how events work), this is a very terrible mistake ʱ?? Code on github: Twitulater13 group based analyzer Figure Age force: 22-year-old technology: python, django, the database is not a lot of machine learning experience, I have a collection of objects in an image decomposition, there are a lot of forces acting on the object. Then you can run the simulation program object, belongs to a class last node will fly together, you can use the grid segmentation algorithm selected overlap. When the new data into the system, you can give the relevant node afterburner. Very simple stuff. But in fact I did not implement a true 'Looking diagram group' algorithm. I do not even know what 'Looking diagram group' real name is, I think I was the first person in this new field. I began to use a relational database, you should guess, this will not work. Only one result will be much computing seconds, or even minutes. Fetch data from the database is difficult to sustain. When I use the App Engine and its BigTable, the situation improved a little bit. In retrospect, I should use a graphical database, then they are just Air Jordan Outlet very fire! Alternatively, you should use a start is not so complex algorithms, there may be some help. This code I do not mean out.my worst code list