Thursday, December 08, 2005

Semáfaros e smalltalk.

Eu sou um pedestre convicto, pelo menos até eu mudar de idéia. Atravesso o campus da USP todo dia sobre as minhas duas pernas, cruzando as largas avenidas e as famosas rotatórias. Atravesso olhando para os dois lados, pois aparentemente esse layout viário é como um convite para os motoristas descarregarem suas frustrações no acelerador acertando, se tiverem sorte, um estudante ou dois no caminho.

Depois de muita enrolação, a prefeitura do campus resolveu o assunto instalando uma meia dúzia de semáfaros para o rebanho de alunos atravessar sem ser abatido. Eu deveria estar contentíssimo com o incremento na minha probabilidade de sobreviver à USP. Mas não. Eu odiei esses semáfaros. E não é porque eu tenho algum desejo inconsciente de comprar um carro veloz e sair atropelando polianos por aí.

Eu não gostei dos semáfaros porquê eles são, bem, feios. Não porquê poluem a paisagem ou outra viadagem desse tipo. São feios porque estragam um sistema que era belo. A beleza do trânsito organizado puramente pela combinação desses dois elementos, avenidas e rotatórias, é corrompida pelos sinais como se alguém escarrasse num Mondrian.

Voltando à vaca fria, admito que ainda não consegui uma resposta satisfatória sobre "o que é ciência da computação", mas tenho a impressão que a resposta envolve esse tipo de beleza. A criação de estruturas é uma constante na prática matemática moderna, mas o apreço ao minimalismo e à composibilidade me parecem marcas características da Ciência da Computação.

Um ótimo exemplo é a linguagem Lisp, onde todas as computações são funções e todo dado é uma lista. Outro exemplo é Smalltalk, onde tudo são objetos que se comunicam pela troca de mensagens. E como ficam as linguagens usadas por seres humanos normais? Retomando a analogia, Java parece um monte de semáfaros enfiados no pobre Smalltalk. E, embora eu nunca tenha programado em C++, ele me lembra um pouco o metrô de tokyo...

22 comments:

Unknown said...

If you are one of these people we reminded above, you may be attracted by the rolex replica sale deeply. Even you are not a watch lover, you may have interest in such a unique design rolex replica after reading the introduction of the skeleton watch. The price of the skeleton watches are various, from 100 dollars to several thousand dollars, that depends on the quality of the rolex replica and who designed it. Usually, a well-designed skeleton watch with fine quality is about 200 to 300 dollars. You can choose one for yourself or your friend who love collecting rolex replica sale. When people refer to watch brands, many immediately think of those well-known brands such as rolex replica sale, Omega, Longines or other rolex replica uk known for excellent craftsmanship and luxury.

opbest said...

I like what you guys tend to be up too. This kind of clever work and reporting!
Keep up the very good works guys I’ve added you guys to our blogroll.

Try to check my blog: 강남안마

(freaky)

Eva E. Murphy said...

I have accidentally landed on your site by mistake when looking for cryptocurrency research topics. I'm not sure what occurred, but I'm pleased I got here since it's given me a lot of helpful knowledge that will help me find a job.

professional software developer said...

Barryvox is a great company that offers software testing services in the USA. They have a great team of professionals that are dedicated to providing the best quality services possible. I would definitely recommend their services to anyone in need of software testing services.

online assignment writing buy said...

This is why they are trained to make ends meet and deliver way before the deadline. We work 24x7 round the clock to deliver assignments writing services before the promised deadline.

49ers Gold Jacket said...

You’re doing a remarkable process. Hold it up

Spirited Ryan Reynolds Jacket said...

I never stop myself to mention some thing about it.

49ers Gold Jacket said...

your submit is very exciting to examine.

Muffin Accessories said...

Goood share

Vinsmoke Sanji said...

Delta Airlines | Qantas Airlines | Coinbase Wallet | MetaMask Wallet | MetaMask Wallet |

cowhide jacket womens said...

You should avoid exposing the jacket to direct sunlight or heat, as this can cause the leather to crack or fade.

Elite Jacket said...

Dark brown leather coats are a classic and timeless piece of clothing that can be dressed up or down. They are made from high-quality leather that is both durable and comfortable. Dark brown leather coats come in a variety of styles, so you can find one that suits your taste.

cynthiarose said...

Thanks for sharing such great information with us. I am actually a digital marketing student and due to my work schedule, I don't have time for my assignments so I am looking for digital marketing assignment help if anyone knows please guide me.

harperpaul said...

We'll explore the beauty of these seemingly insignificant moments, highlighting how they bridge the gap between strangers, offering glimpses into each other's worlds. These encounters might lead to shared laughter, a shared observation about the weather, or even a thoughtful exchange that lingers long after the light turns green.
chapter 7 lawyer near me

mens genuine leather bomber jacket said...

This is why they are trained to make ends meet and deliver way before the deadline. We work 24x7 round the clock to deliver assignments writing services before the promised deadline.

Creative Coloring World said...

Discovering printable coloring pages has been amazing! They keep my kids engaged and their creativity thriving. Thanks for offering such a fantastic resource!

Lainey Wilson Red Suit said...

Your blog consistently delivers high-quality content, making it a valuable resource for all of us. I highly recommend checking out the Lainey Wilson Red Suit from California Outfits for a stylish and memorable look.

João said...

Adorei o post sobre semáforos e Smalltalk! A forma como a linguagem trata a concorrência é fascinante. Depois de ler, relaxei colorindo algumas "lilo and stitch coloring pages". Obrigado por compartilhar!

Eccen said...


Si estás buscando una casa de apuestas chile confiable, es importante elegir una plataforma que ofrezca buenas cuotas, una amplia variedad de eventos deportivos y opciones de juego seguro. Además, asegúrate de revisar las promociones y bonos disponibles para maximizar tus oportunidades de ganar.


Anonymous said...

Honestly, I’m amazed at how clearly this was explained. I’ve seen this topic discussed before, but never in a way that made so much sense to me. The writer really knows how to simplify things without losing the important details. It’s like a lightbulb finally went off in my head! Thank you to the writer for making this topic feel so accessible to everyone! Visit our link for ISO Certification in Tanzania

ISO Advisor said...

This post really highlights some thoughtful insights! The topic is incredibly relevant and engaging. Visit our link for ISO Certification In Riyadh

Anonymous said...

This post presents intriguing perspectives on the complexities of legal issues within family dynamics. It's an insightful resource for anyone navigating the challenges of divorce and family law. If you are looking for ISO Certification In Philippines contact us.