Thursday 22 November 2007

Citate din cărţi

Aşa după cum menţionam în postul anterior tocmai s-a încheia o perioadă de "studiu". Aşa cum, poate mulţi işi imaginează, o carte de programare poate fi uneori chiar plictisitoare sau monotonă. Acelaşi lucru nu este valabil şi pentru cărţile care mi-au căzut în mână. Iată mai jos o listă de de fragmente extrase din cărţi de programare:

  • Will it cause a compiler error? Will Daniel ever marry Francesca? Stay tuned.
    [...]
    the compiler complains, and we have no idea who Daniel and Francesca are.
  • You know, like it's OK for you to feel as though nothing makes sense, and that it isn't your fault. Or is it?
  • So if you hear a programmer use that expression, you'll know that he's just too lazy to phrase it in a technically precise way. You can tell him we said that—unless he knows where we live.
  • The volatile modifier may also be applied to project managers :)
  • If you have a rough time with these at first, don't beat yourself up. Be positive. Repeat nice affirmations to yourself like, "I am smart enough to understand enums" and "OK, so that other guy knows enums better than I do, but I bet he can't like me."
  • Broccoli IS-A Vegetable (not a very fun one, but it still counts)
  • Two more rules you need to know and then we can put this topic to sleep (or put you to sleep; we always get those two confused):
  • But a Person may also implement Programmer, Snowboarder, Employee, Parent, or PersonCrazyEnoughToTakeThisExam
  • So grab your hardhat and a hammer, and let's do some object building
  • programmers who have to maintain your code (after you win the lottery and move to Tahiti) will be grateful
  • (Some people have created a game around counting how many times we use the word copy in this chapter…this copy concept is a biggie!)
  • For the exam, you'll need to know the answers to all of these questions. And, as if by magic, we're actually covering those very same topics in the following sections. Pay attention.
  • (We'll talk about why later, don't let us forget.)
  • We thought about telling you that you'd have to memorize all these codes for the exam…but we didn't want to cause any heart attacks.
  • You're an object. Get used to it. You have state, you have behavior, you have a job. (Or at least your chances of getting one will go up after passing the exam.)
  • Think about it for a minute.
    ...
    Keep thinking ...
  • If they're not completely clear, we'd like to take full responsibility for the confusion
  • Deadlocking is bad. Don't do it.
  • Well, there are ways to do that, but it's beyond what you need for the exam. You will live a longer, happier life if you JUST DON'T DO IT. Really. Would we lie?

Thursday 15 November 2007

SCJP

Chiar dacă am zis că am scăpat de examene, uite că am ales să mai dau încă unul şi anume un examen de certificare de la Sun.

Tocmai acum am ieşit şi am foaia cu rezultatele. Nu am obţinut procentaj de 100%, dar unii ar zice ca e destul de bun, oricum tot certificat eşti indiferent de scor, atâta timp cât ai mai mult de 59%.

Deci cine vrea documentaţie sau teste pentru Java 1.5 si nu numai poate să îmi dea un email şi o să îl servesc.

Dacă la început am zis că îl iau doar cu ce ştiu, că doar programez în Java, nu e chiar aşa. Întrebările din examen cuprind destul de multe chichiţe pe care nu le întâlneşti poate nici măcar o dată în "real world". Ca un sfat, cine vrea să dea acest examen ar trebui să facă, cât mai multe teste moka de pe net, pentru că întrebări asemănătoare sunt şi la examen şi in plus înveţi cum să "citeşti" o întrebare şi să vezi unde sunt "ascunse" problemele.

Pentru cei care au mai multe întrebări legate de examen pot să îmi trimită un email şi promit să le răspund cat mai repede.

Baftă şi spor la cod-eala.