Se afișează postările cu eticheta programare. Afișați toate postările
Se afișează postările cu eticheta programare. Afișați toate postările

Productivitatea in programare

Posted In: , . By Bogdan

O perspectiva asupra a ceea ce inseamna programare productiva si (i)relevanta cantitatii ca metoda de evaluare, via

Programmers are most effective when they avoid writing code. They may realize the problem they’re being asked to solve doesn’t need to be solved, that the client doesn’t actually want what they’re asking for. They may know where to find reusable or re-editable code that solves their problem. They may cheat. But just when they are being their most productive, nobody says “Wow! You were just 100x more productive than if you’d done this the hard way. You deserve a raise.” At best they say “Good idea!” and go on. It may take a while to realize that someone routinely comes up with such time-saving insights. Or to put it negatively, it may take a long time to realize that others are programming with sound and fury but producing nothing.

The romantic image of an über-programmer is someone who fires up Emacs, types like a machine gun, and delivers a flawless final product from scratch. A more accurate image would be someone who stares quietly into space for a few minutes and then says “Hmm. I think I’ve seen something like this before.”

 

Polimorfism XXX

Posted In: , . By Monica

Polimorfismul nu e un concept dificil... nu l-as numi chiar ceva greu de digerat mental.
Totusi pe mine m-au plictisit extrem exemplele clasice cu Animal, Bird, Mammal si altele asemenea, pe care oricum nu le intalnesti niciodata in viata reala.

Pentru un alt fel de tutorial despre polimorfism, cititi aici- interzis minorilor si celor lipsiti de simtul umorului.
Multumesc Mugurel pentru link :)

 

A lucra programator nu este garantia faptului ca vei deveni un programator bun - este poate doar un prim pas. Realitatea este ca de multe ori programatorii se plafoneaza si isi pierd curiozitatea, motivatia de a afla mereu ceva nou, de a testa si de a experimenta.

Un articol excelent de la Coding Horror pe aceasta tema : The Ultimate Code Kata

Printre recomandarile autorului pentru antrenamentul de programare am remarcat:

  1. Talk to other programmers. Read other programs. This is more important than any book or training course.

  2. Program! The best kind of learning is learning by doing.

  3. Take programming classes at the college or graduate level.

  4. Seek out and work on projects with teams of programmers. Find out what it means to be the best programmer on a project -- and the worst.

  5. Work on projects after other programmers. Learn how to maintain code you didn't write. Learn how to write code so other people can effectively maintain it.

  6. Learn different programming languages. Pick languages that have alternate worldviews and programming models unlike what you're used to.

  7. Understand how the hardware affects what you do. Know how long it takes your computer to execute an instruction, fetch a word from memory (with and without a cache miss), read consecutive words from disk, and seek to a new location on disk.

  8. Write a blog. I started this blog in early 2004 as a form of effortful study. From those humble beginnings it has turned into the most significant thing I've ever done in my professional life. So you should write blogs, too. The people who can write and communicate effectively are, all too often, the only people who get heard. They get to set the terms of the debate.

  9. Actively participate in a notable open source project or three. All the fancy blah blah blah talk is great, but are you a talker or a doer? This is critically important, because you will be judged by your actions, not your words. Try to leave a trail of public, concrete, useful things in your wake that you can point to and say: I helped build that.

  10. Go to Wikipedia's entry for computer science, scroll down to the "Prominent pioneers in computer science" section, pick a person from the list, and read about them. Follow any links from there that you think look interesting.

 

Azi am terminat scoala (neoficial, festivitatea oficiala e pe 28 ).Inca nu ma bucur, cred ca astept sa fie oficial si sa ma vad cu diploma si roba de absolvent.
Concluzia zilei de azi dupa 11 prezentari: uneori chiar nu conteaza cat de buna este aplicatia ta daca nu stii sa o prezinti.Si nu, nu o sa gasesti vreodata o audienta prietenoasa cu tine, toti vor sa NU ii plictisesti.

Un articol foarte interesant care l-am citit azi intre prezentari este Coding For Violent Psychopaths care recomanda urmatorul lucru :
Always code as if the person who ends up maintaining your code is a violent psychopath who knows where you live.

TRUE, SO TRUE!!!!
(Daca nu vi se pare de efect, inlocuiti the person cu numele unei persoane isterice cunoscute de la servici...gen...Always code as if the person who ends up maintaining your code is [Gigel])

Adevarul este ca looking back am facut prea putin acest lucru la inceputurile aventurilor in domeniul programarii.Bifam cu succes intreaga lista de DONTs in ale programarii - nu comentarii, nu documentatie, nume criptice pentru variabile si total haotice pentru metode. Oare ar trebui sa imi cer scuze nefericitilor care il vor intretine?

 

..si pentru ca nu vreau sa uit ce ..pun aici linkul.
Cum sa nu submiteze formul in Firefox pe un event de onclick adaugat programatic.

 
 

Un articol excelent despre programatori si modul in care sunt vazuti acestia, aici.

Spoiler:
I was contacted this week by an old acquaintance, and he had a proposition for me.

"Hey, I hear you're a programmer! That's great, because my buddy and I have
this idea for a business. We have everything important figured out, and all we need is a programmer to throw it together."


On the surface there isn't really anything unreasonable about that statement. These guys know what they want for an application, they "just" need the technical know-how to implement it. So, quelling my urge to say something flippant, I penned a reasonable response.
....................................................................................................................................................................

What I actually got as a reply surprised me a little.

Hey, so, we aren't really prepared to pay. I mean there isn't that much to it, it's just a PHP website with a MySql database, I was hoping you could just throw it together as a favor. Oh well, thanks anyway...
Read more

 

Scripturi utile AJAX

Posted In: , , , , . By Bogdan

AJAX reprezinta probabil cea mai folosita tehnologie in momentul de fata pentru crearea de interfete web cat mai user friendly. Cum cunostintele proprii in aceasta directie inca nu-mi permit sa creez de la zero decat scripturi foarte basic, am descoperit cu bucurie MiniAjax, o colectie de scripturi gratuite, pe cat de utile, pe atat de simplu de implementat.

Mi-au placut ClickHeat, Bubble Tooltips si Carousel.

 

User Inferface patterns

Posted In: , , , . By Monica

Design pattern-urile din dezvoltarea software sunt cunoscute de majoritatea programatorilor (de fapt de orice programator care este peste nivelul junior).
Am avut recent placuta surpriza sa dau peste un site de patternuri pentru interfete utilizator : UI Patterns

Cum Stef si Adi isi bat capul de cam 1 an sa ma invete design pattern-urile clasice (si recunosc ca sunt un elev groaznic, cum nu i-as dori nimanui), imi propun sa ma opresc pe viitor si asupra acestor patternuri UI ;)

 

Din categoria pareri personale :)

In timpul facultatii am intalnit printre colegii mei diverse tipologii de oameni - unii mai pasionati de programare, altii mai putin, viitori topcoders, testeri sau arhitecti seniori precum si viitorii consultanti si IT project manageri .
Unul din principalele motive ale alegerii UPB A&C a fost mediul si factorul uman - cred ca este mult mai important sa iti constientizezi valoarea avand ca etalon pe cei mai buni decat sa iti gadili oarecum orgoliul fiind bun printre cei mai slabi.

Una din marile uimiri ale acestui an (vorbind de scoala si colegi) a fost atitudinea refractara la nou a unora (genul care nu sunt dispusi sa faca altceva decat stiu ei la servici..."eu fac java, de ce sa invat javascript, ca nu s-a zis de la inceput" si impresia de superioritate ("cum sa fac o tema cu X ca ala nu ia bursa")...mi se pare extrem de uimitor in continuare, mai ales in conditiile in care am intalnit aceleasi atitudini si la unii colegi de la servici.
Asa ca, insipirandu-ma de pe forumul de la IE m-am gandit ca e o idee buna sa postez urmatorul filmulet



precum si acest link (recomandarile sunt universale, nu doar pentru developerii web).

Think nice positive thoughts guys!

 

Pentru cei care sunt interesati de ASP, am gasit o carte in format electronic care pare interesanta pe acest blog .Pentru download, click here

Ca un vag cunoscator al ASP, nu pot sa imi dau cu parerea asupra valorii cartii dar pot spune ca mi-a placut foarte mult ideea la baza acesteia (si sunt extrem de acord )
the .Net community has put too much focus on learning API and framework details and not enough emphasis on design and coding fundamentals.